SBOM Generation for Medical Device Software: Practical Setup by Stack
Practical SBOM generation for medical device software across common stacks, with validation, quality gates, and SOUP handling for FDA submission.

When was the last time you checked exactly what's going into your medical device software? Not just the code your team writes, but all those third-party libraries, open-source packages, and vendor components that make it work.
That's what a software bill of materials (SBOM) is for. But here's the catch. If you're putting that list together by hand, there's a good chance something will get missed.
A better approach is to build SBOM generation into your CI/CD pipeline. Tools that support CycloneDX or SPDX can pull dependency information from lockfiles, pinned image digests, and other fixed inputs. That gives you a machine-readable inventory tied to the actual software release.
And yes, the FDA cares about this. If you've been looking into software bill of materials FDA requirements, Section 524B(b)(3) is a good place to start. It requires an SBOM for devices that qualify as cyber devices. The agency's February 2026 premarket cybersecurity guidance goes further with recommendations in Section V.A.4. You'll also need to account for IEC 62304 SOUP controls, including vendor binaries that automated tools might miss.
At CyberMed, we help manufacturers put together their cybersecurity submission packages. But we don't generate the SBOM itself. There's a reason for that. Your development team has access to the actual build, so they're in the best position to produce an accurate inventory.
This guide walks you through SBOM generation for common software environments. Working with a different language, framework, or toolchain? Reach out, and we'll help you find an approach that fits.
This post covers tooling. For what FDA requires (an SBOM for cyber devices under Section 524B(b)(3)) and what it recommends (the NTIA minimum elements, support status, end-of-support dates, and vulnerability disposition under Section V.A.4 of the February 2026 guidance), see the FDA SBOM requirements guide.
Purpose and scope
This guide covers SBOM generation for:
- Embedded software
- Mobile apps
- Cloud and SaMD workloads
- Common backend ecosystems
The goal is to create a machine-readable inventory of your medical device software components using CycloneDX or SPDX. Both formats support medical device SBOM generation, so whether you're using CycloneDX or SPDX, what matters is having an accurate inventory of what's in each release.
That inventory helps you meet FDA premarket cybersecurity documentation expectations for cyber devices and maintain IEC 62304 SOUP control evidence for EU MDR technical documentation. For details on what reviewers expect in your submission, see our book section on SBOM analysis and documentation for eSTAR submissions.
General operating rules
- Automate at build time
- Make SBOM generation part of your CI/CD build process. That way, your inventory reflects the exact software versions in each release rather than an outdated list.
- Generate a release SBOM from production/runtime dependencies
- Your release SBOM should include what's actually shipped or deployed, not development or testing packages.
- Keep a separate internal SBOM for build tools and other dependencies if you need it for supply-chain investigations.
- Include SOUP explicitly
- Don't assume your package manager catches everything. Third-party and proprietary components still need to be listed, even when they're added outside the normal build process.
- Use immutable inputs
- Build from lockfiles, pinned tool versions, and immutable image digests. This helps you reproduce the same inventory when you need to verify a release.
Toolchain setup by ecosystem
There's no single SBOM tool that works equally well across every development environment. The right approach depends on your programming language, build system, and how your team manages dependencies.
Here's how to generate an SBOM for the most common medical device software environments.
A) Embedded systems (C/C++)
Embedded systems can be tricky because package managers don't always capture every component. A filesystem scan helps, but it won't give you the full picture.
For a more complete inventory, combine:
- Build-system manifests from CMake, Conan, vcpkg, Yocto, or Bazel, depending on your setup.
- Source code and filesystem scans.
- Binary or artifact scans.
- Manual declarations for vendor libraries, toolchain components, and other IEC 62304 SOUP dependencies.
npm install -g @cyclonedx/cdxgen@X.Y.Z
cdxgen -t c -o sbom.json --recurse # scan source and include submodules and SDKs
This gives you a starting point for a CycloneDX medical device SBOM. You'll still need to check the results against your build records and manually account for anything the scanner misses.
B) Rust (safety-critical SaMD)
Rust makes dependency tracking easier because its lockfiles record the resolved package versions used in a build.
Tool: cargo-cyclonedx
cargo install cargo-cyclonedx --version X.Y.Z
cargo cyclonedx --all --format json --output-file sbom.cdx.json # all workspace members, lockfile-resolved
For safety-critical SaMD, this helps you maintain a consistent inventory across releases. Just make sure the output matches the dependencies included in your production build.
C) Node.js (web-based SaMD)
Node.js projects can accumulate dependencies quickly, including packages your team never added directly.
For release documentation, focus on the runtime dependencies your application actually uses. Development and testing packages belong in a separate internal inventory.
Tool: @cyclonedx/cyclonedx-npm
npm install -g @cyclonedx/cyclonedx-npm@X.Y.Z
cyclonedx-npm --output-format JSON --output-file sbom.json --omit dev # runtime dependencies only
If your installed version supports lockfile-only mode, enable it in CI. That helps keep your SBOM generation CI/CD workflow consistent without depending on changes in the local development environment.
D) Python (AI/ML components)
Python is common in medical AI and machine learning applications, but dependency management can get complicated when projects use multiple environments or package sources.
Start with a lockfile-driven environment so you can reproduce the same dependency inventory later.
Tool: cyclonedx-python (cyclonedx-bom package)
pip install cyclonedx-bom==X.Y.Z
cyclonedx-py poetry -o sbom.json # Poetry workflow, recommended for deterministic builds
For AI/ML applications, check that your inventory accounts for the packages included in the deployed environment, not just those listed in the project's source files.
E) .NET (clinical enterprise software)
If your .NET application includes multiple projects, generating an SBOM for just one of them can leave dependencies out.
Run the tool at the solution level to capture dependencies across the application.
Tool: dotnet-CycloneDX
dotnet tool install --global CycloneDX --version X.Y.Z
dotnet-CycloneDX MyMedicalApp.sln -o ./artifacts -f json
This is particularly useful for clinical software with shared libraries and multiple services. Check the output against your release configuration to make sure it reflects the software you're actually deploying.
F) Mobile apps (Android and iOS)
Mobile medical apps bring another set of dependencies into the picture. Along with your application's code, you need to account for platform SDKs, third-party libraries, and other components included in the finished app.
Android (Gradle CycloneDX plugin):
Add the plugin to your Gradle configuration:
id 'org.cyclonedx.bom' version '1.8.1'
Then run:
./gradlew cyclonedxBom
iOS (SwiftPM/CocoaPods):
For iOS, start with the dependency records your build system already maintains:
- Use
Package.resolvedandPodfile.lockto identify resolved dependency versions. - Whenever possible, generate the SBOM from the built app or archive rather than relying entirely on source code.
- If you're using Syft, scan the built output and document any components the tool can't reliably identify.
syft /path/to/MyApp.app -o cyclonedx-json > sbom.json # scan the built artifact, not just the repo root
Scanning the finished application gives you another way to check which medical device software components made it into the release. You'll still need to compare the results with your dependency records and account for anything the scanner misses.
Cloud and containerized environments
If your medical device software runs in the cloud, don't limit your SBOM to application libraries. Containers also include operating system packages, and those need to be accounted for.
Syft can scan the container image and generate an SPDX medical device SBOM that includes both application dependencies and OS-level components.
syft IMAGE_NAME@sha256:DIGEST -o spdx-json > sbom.spdx.json # immutable release digest, not a mutable tag
Notice that the command uses an image digest instead of a tag. That's important because tags can change. A digest ties your SBOM to a specific container image, so you can verify exactly what was deployed.
Post-generation controls (do not skip)
Generating an SBOM is only the beginning. Before you use it for an FDA submission or ongoing vulnerability management, you need to make sure it's complete and accurate.
1. Validate schema and quality fields
Start by checking that your SBOM follows the required format and contains the information you expect.
For CycloneDX, you can use:
cyclonedx-cli validate --input-file sbom.json # CycloneDX validation example
If you're using SPDX, add an SPDX-compatible validator to your CI process.
Making validation part of your SBOM generation CI/CD workflow helps catch missing or incorrectly formatted information before it reaches your release documentation.
2. Enforce quality gates
A valid file isn't necessarily a useful one. Your SBOM also needs enough detail to identify components and match them against known vulnerabilities.
At a minimum, check for:
- Component name and version
- Supplier
- Cryptographic hashes
- Dependency relationships
- Identifiers such as
purlandcpe, where applicable
These fields cover the NTIA baseline attributes referenced in FDA guidance, along with hashes and identifiers that improve vulnerability matching.
CISA's July 2026 Minimum Elements for an SBOM expands on that baseline, so your quality checks should account for those requirements as well.
For FDA cybersecurity SBOM documentation, you'll also need to address each component's support status and end-of-support date, as recommended in Section V.A.4.b of the FDA guidance. You can include that information in the SBOM itself or provide it in a separate addendum.
3. Centralize and monitor
Once you've generated and validated your SBOM, put it somewhere your team can actually use it.
A centralized platform such as Dependency-Track lets you monitor components for newly disclosed vulnerabilities.
This matters because your SBOM isn't just a submission document. It's also a record of the software you're responsible for maintaining after release.
For more on how vulnerability monitoring affects component selection and long-term maintenance, see our book chapter on third-party component management.
4. Handle VEX
Finding a vulnerability in a software component doesn't automatically mean your device is exploitable.
For example, a vulnerable function might exist in a library but never be called by your application. Or the affected functionality might not be reachable in your deployed architecture.
That's where Vulnerability Exploitability eXchange (VEX) comes in. Use it to document the vulnerability's exploitability in your specific product, including why a finding may not be exploitable.
The important thing is to support that conclusion with evidence rather than simply dismissing the vulnerability.
Reference table
Here's a quick reference for the tools and files used across the different development environments.
| Environment | Primary tool | Target file |
|---|---|---|
| C/C++ | cdxgen | Makefile / CMakeLists.txt |
| Rust | cargo-cyclonedx | Cargo.lock |
| Node.js | cyclonedx-npm | package-lock.json |
| Python | cyclonedx-py | poetry.lock / requirements.txt |
| .NET | dotnet-cyclonedx | .csproj / .sln |
| Containers | syft | Image digest |
How do you add proprietary SOUP components to an SBOM?
Not every dependency comes through a package manager. You might have vendor-supplied libraries, proprietary binaries, or files such as .lib and .dll that your automated tools don't recognize.
Those components still belong in your SBOM.
For IEC 62304 SOUP documentation, you'll need to identify these components and maintain enough information to support traceability and risk management.
For each component, capture at least:
- Supplier: The organization or legal entity providing the component.
- Component name and version: Enough detail to identify the exact release.
- Identifier: A
purlorcpe, where applicable. - Cryptographic hash: A SHA-256 or stronger hash of the shipped artifact.
- Dependency scope and usage: Where the component is used and what it does.
- Source or provenance: A vendor advisory, release note, or other controlled record showing where the component came from.
Don't rely on automated scans to find every proprietary dependency. Check your build records, vendor documentation, and release artifacts to make sure nothing was missed.
The goal is to maintain an accurate inventory of medical device software components, including those your normal development tools can't identify.
When you find a component that your automated tools missed, you'll need to add it manually. The easiest way is to create a JSON file with the component's identifying information.
Here's an example using CycloneDX:
{
"bomFormat": "CycloneDX",
"specVersion": "1.5",
"components": [
{
"bom-ref": "vendor-proprietary-algorithm-4.2.0",
"type": "library",
"supplier": {
"name": "Vendor Name"
},
"publisher": "Vendor Name",
"name": "Proprietary-Algorithm-Library",
"version": "4.2.0",
"purl": "pkg:generic/proprietary-algorithm-library@4.2.0",
"hashes": [
{
"alg": "SHA-256",
"content": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
}
],
"scope": "required",
"externalReferences": [
{
"type": "website",
"url": "https://vendor.com/docs"
}
]
}
]
}
Once you've documented the component, merge the manual entry into your generated SBOM using the CycloneDX toolchain. Make sure you're using the exact CLI version pinned in your CI environment.
This extra step helps you account for proprietary medical device software components that might otherwise be missing from your release inventory.
Implementation sequence for medtech teams
You don't need to build your entire SBOM process at once. Start with the basics, then add the controls that make it reliable across releases.
Here's a practical rollout order:
- Choose your format. Decide whether each release stream will use CycloneDX, SPDX, or both. Stick with a consistent approach so your team isn't switching formats unnecessarily.
- Automate generation. Build SBOM generation into your CI/CD pipeline using lockfiles, pinned tools, and immutable image digests. This helps ensure each SBOM reflects the software you're actually releasing.
- Connect the SBOM to the release. Record the build ID, commit SHA, and provenance information so you can trace each inventory back to a specific software version.
- Separate release and build dependencies. Generate an SBOM for production/runtime components. Keep a separate internal inventory of build tools and dependencies when needed.
- Account for SOUP. Assign someone to identify, document, and review third-party or proprietary components that automated tools might miss.
- Add quality checks and monitoring. Validate the SBOM, enforce your required fields, and store it centrally so your team can track vulnerabilities over time.
- Connect the results to your security process. Feed SBOM and VEX information into your risk management and postmarket response workflows.
For teams working through FDA cybersecurity SBOM expectations, this approach also makes it easier to show how component information is collected, reviewed, and maintained.
Final takeaway
An SBOM tells you what's in your software. It doesn't tell you whether a vulnerability can actually be exploited. That's why generating the inventory is only part of the job.
For an effective SBOM medical device process, regenerate the inventory with every release, hotfix, and critical dependency change. Use consistent identifiers, starting with purl and adding cpe where you can identify components with confidence.
Just as important, make sure you can trace each SBOM back to a specific release and show how your team evaluated vulnerabilities and made risk decisions.
When that information is easy to find, FDA reviewers can work through your documentation more efficiently. Your team will also be better prepared to respond when a new vulnerability affects a product already in the field.
Need help with your SBOM or your full cybersecurity submission package? Email us at info@cybermed.ai.
Sources
- Cybersecurity in Medical Devices: Quality Management System Considerations and Content of Premarket Submissions, FDA, February 3, 2026. Section V.A.4 covers SBOM content, support status, and end-of-support dates.
- Framing Software Component Transparency: Establishing a Common Software Bill of Materials (SBOM), 2nd edition, NTIA Multistakeholder Process on Software Component Transparency, October 21, 2021. The "minimum elements (baseline attributes)" document FDA's guidance cites.
- The Minimum Elements for a Software Bill of Materials (SBOM), NTIA, July 12, 2021.
- 2026 Minimum Elements for a Software Bill of Materials (SBOM), CISA and partners, July 29, 2026.
- CycloneDX, OWASP Foundation, and SPDX, The Linux Foundation.
- Known Exploited Vulnerabilities Catalog, CISA.
Frequently asked questions
›What SBOM format does FDA expect for medical device software?
A machine-readable software inventory in an industry-accepted format, for example CycloneDX or SPDX. FDA's February 2026 guidance names neither format and says industry-accepted formats are encouraged. Either supports the SBOM required for cyber devices under Section 524B(b)(3) and IEC 62304 SOUP control evidence used in EU MDR technical documentation.
›When should the SBOM be generated?
At build time, inside CI/CD, so the artifact reflects exact release versions from lockfiles, pinned tool versions, and immutable image digests. Regenerate it on every release, hotfix, and critical dependency change. A manually reconstructed snapshot at submission time misses that.
›Should dev and test dependencies be in the submission SBOM?
No. The release SBOM for submission and released-product evidence should cover production and runtime dependencies only. Keep a separate internal build/toolchain SBOM if you need one for supply-chain investigations.
›How do you handle proprietary components that aren't in a package manager?
Declare them manually as SOUP. Capture at minimum the supplier, component name and version, an identifier like purl or cpe, a SHA-256 hash of the shipped artifact, dependency scope, and a provenance reference, then merge the manual entries into the generated SBOM.
›Does an SBOM prove my device is secure?
No, an SBOM is an inventory. It doesn't prove exploitability by itself. Pair it with validation, quality gates, central monitoring in a system like Dependency-Track, and VEX documents that record exploitability context for vulnerabilities that aren't reachable in your deployed architecture.