The short version. For every product in scope you must draw up a software bill of materials (SBOM) in a commonly used, machine-readable format, covering at least the top-level dependencies (Annex I, Part II, point 1). It belongs in your technical documentation, authorities can ask for it, and you do not have to publish it. In practice: generate a CycloneDX or SPDX file from your lockfiles on every release, keep one per version, and check it for known vulnerabilities regularly (Regulation (EU) 2024/2847).
What the CRA actually requires
The SBOM appears in several places in the Regulation. Each one tells you something different.
| Where | What it says, in plain terms |
|---|---|
| Annex I, Part II, point 1 | Identify and document the vulnerabilities and components in your product, including by drawing up an SBOM in a commonly used and machine-readable format, covering at the very least the top-level dependencies |
| Annex I, Part II, point 2 | Address and remediate vulnerabilities without delay, including by providing security updates. The SBOM is how you know which vulnerabilities affect you |
| Annex VII, point 2 | The technical documentation describes your vulnerability handling processes, including the SBOM |
| Annex II, point 9 | If you decide to make the SBOM available to users, the user information says where to find it |
| Article 13(5) and (6) | Exercise due diligence when integrating third-party components, and report vulnerabilities you find in them to their maintainers |
Three practical conclusions:
- It is not optional. Every product in scope needs one, whatever its category. This includes the default category, where you self-assess.
- It is not public by default. You keep it in the technical file and give it to a market surveillance authority if they request it. Publishing it, or sharing it with customers, is your choice.
- The format can still be specified further. The Regulation allows the Commission to set the format and elements of the SBOM by implementing act. Using a mainstream standard today is the safest way to be ready for that.
Remember also that the reporting obligations already apply. When an exploited vulnerability hits a popular library, you have 24 hours to send an early warning for every affected product. An SBOM is what lets you answer “are we affected?” in minutes instead of days. Our guide to the 24 h and 72 h deadlines explains the rest of that process.
What a useful SBOM contains
The CRA does not list the fields. The usual reference is the set of minimum elements published by the US NTIA in 2021, and Germany’s BSI technical guideline TR-03183-2 goes into more detail for the CRA context. Between them, a solid SBOM has:
| Field | Why it matters | Example |
|---|---|---|
| Component name | Identify the component | mqtt |
| Version | Vulnerabilities are tied to versions | 5.10.1 |
| Unique identifier | Lets tools match the component against vulnerability databases | pkg:npm/mqtt@5.10.1 (a package URL, or “purl”) |
| Supplier | Who maintains it, for Article 13(6) reports | mqttjs |
| Dependency relationships | Which component pulls in which | product → mqtt → ws |
| Hash | Proves which exact file you shipped | SHA-256 of the package |
| Licence | Not required by the CRA, but useful and cheap to add | MIT |
| SBOM author and timestamp | When and with what tool the SBOM was made | normavio_sbom 1.0.0, 2026-12-01 |
Top-level only, or the full tree?
The legal minimum is the top-level dependencies: the components your product uses directly. Go further if you can. Most vulnerabilities that make the news sit in transitive dependencies, the libraries your libraries use. Lockfiles already list the full tree, so including it costs nothing extra in most ecosystems.
CycloneDX or SPDX?
The CRA asks for a “commonly used” machine-readable format. Two formats dominate, and both are fine.
| CycloneDX | SPDX | |
|---|---|---|
| Maintained by | OWASP, standardised as ECMA-424 | Linux Foundation, standardised as ISO/IEC 5962:2021 |
| Born for | Security and supply-chain risk | Licence compliance |
| Formats | JSON, XML, Protocol Buffers | JSON, YAML, RDF, tag-value |
| Strengths | Compact; built-in support for vulnerabilities and VEX; easy to generate from lockfiles | Strong for licences and file-level detail; common in embedded Linux tooling such as Yocto |
| Good choice if | You build apps, cloud services or anything with a package manager | Your build system already produces SPDX, or your customers ask for it |
If you have no constraint, pick CycloneDX JSON. It is what most security tools read by default. If your embedded build already emits SPDX, keep it. Converting between the two is possible, but rarely needed.
How to generate one
The method depends on how your product is built. The principle is the same everywhere: generate the SBOM automatically from the same inputs as the build, never by hand from memory.
Apps and services with a package manager
Lockfiles already contain names, exact versions and the dependency tree. A generator reads them and writes the SBOM. Widely used open-source generators include Syft, cdxgen, Trivy and the official CycloneDX plugins for each language.
The CRA Starter Kit includes a small tool for this, normavio_sbom.py: a single Python file with no dependencies that reads the most common lockfiles (npm, Yarn, pnpm, pip, Poetry, Pipenv, Cargo, Go modules and Composer) and writes a CycloneDX 1.5 SBOM plus a readable report for the technical file.
python3 normavio_sbom.py ./app \
--name "Nimbus Home app" --version 2.0.0 \
--osv --out ./technical-file/sbom/2.0.0
# -> sbom.cdx.json and sbom-report.md
The --osv option looks up each component in the public OSV.dev database. Only package names and versions are sent, never your code. Development dependencies are left out by default, because they are not shipped in the product.
The result looks like this (shortened):
{
"bomFormat": "CycloneDX",
"specVersion": "1.5",
"metadata": {
"timestamp": "2026-12-01T17:34:23+00:00",
"component": { "type": "application", "name": "Nimbus Home app", "version": "2.0.0", "bom-ref": "product" }
},
"components": [
{ "type": "library", "name": "mqtt", "version": "5.10.1", "purl": "pkg:npm/mqtt@5.10.1", "bom-ref": "pkg:npm/mqtt@5.10.1" },
{ "type": "library", "name": "react", "version": "18.3.1", "purl": "pkg:npm/react@18.3.1", "bom-ref": "pkg:npm/react@18.3.1" }
],
"dependencies": [
{ "ref": "product", "dependsOn": ["pkg:npm/mqtt@5.10.1", "pkg:npm/react@18.3.1"] }
]
}
Each ecosystem has its own catch, such as which lockfiles mark development dependencies. Step by step for yours:
Containers and cloud backends
If your product includes a cloud backend that it needs to work, that backend is part of the product (see our guide to CRA scope). Its SBOM should cover your application dependencies and the operating system packages in the container image. Image scanners such as Syft and Trivy produce both in one pass.
Firmware and embedded
Embedded is where SBOMs take real work, because C and C++ code often has no package manager.
- Embedded Linux with Yocto: the build system can generate SPDX for every package in the image. Turn it on and archive the output with each release.
- Zephyr: the
west spdxcommand produces SPDX documents for the application, the Zephyr sources and the build. - Bare metal or vendor SDKs: list the components yourself: the RTOS, the vendor SDK and its version, the TLS library, the Bluetooth stack, any vendored code. Keep that list in a file in the repository, next to the code, so it changes when the code changes, and convert it to CycloneDX as part of the build.
The vendor SDK from your chip supplier counts as a component. If the supplier stops maintaining it, that is a risk you should record in your risk assessment.
Keeping it alive
An SBOM generated once and filed away is worth very little. What makes it useful under the CRA:
- One SBOM per released version. Store it with the release, in the technical file. When a vulnerability appears, you need to know which versions in the field contain the affected component.
- Generate it in CI. Add the generator to your release pipeline so no release ships without one.
- Check it regularly, not only at release. New vulnerabilities are published every day against components you shipped months ago. A weekly or monthly scan of the SBOMs of all supported versions catches them.
- Feed the results into your vulnerability register. Each relevant finding becomes an entry: affected versions, severity, decision, fix. That register is also where you note whether a vulnerability is actively exploited, which triggers reporting.
- Keep it for ten years. Technical documentation has to be kept for at least ten years after the product is placed on the market, or for the support period if longer (Art. 13(13)). The SBOMs go with it.
A note on VEX
Not every vulnerability in a component affects your product. The vulnerable function may never be called, or the feature may be disabled. A VEX document (Vulnerability Exploitability eXchange) states, per vulnerability, whether your product is affected. The CRA does not require VEX, but it is the clean way to answer customers who run your SBOM through a scanner and send you a list of 40 findings. CycloneDX and CSAF both support it.
Mistakes we see most often
- Generating it from the source tree instead of the build. The SBOM should describe what you ship. Unused code in the repository is noise; code added by the build is missing.
- Including development tools. Linters and test frameworks that are not shipped make the SBOM harder to use and generate false alarms.
- Forgetting the backend or the firmware. A product SBOM that covers only the mobile app, when the device and the cloud are part of the product, is incomplete.
- No versions or identifiers. “OpenSSL” without a version, or without a purl or CPE, cannot be matched against any database.
- Treating it as a one-off deliverable. The obligation is to identify vulnerabilities throughout the support period, not to produce a file once.
Frequently asked questions
Do we have to publish our SBOM? No. You must have it and give it to authorities on request. Sharing it with customers or publishing it is up to you; if you do, the user information must say where to find it.
Does a pure SaaS product need one? If the SaaS is outside the CRA, the CRA does not require one, although customers and other rules may. If it is the backend of a product in scope, yes.
Is the top-level list really enough? It is the legal minimum. It is rarely enough to find the vulnerabilities that matter, so include the full tree when your tooling allows it.
Which format will the Commission require? None has been fixed so far. CycloneDX and SPDX are the commonly used formats today. Generating from your build with a standard tool keeps you able to switch if a format is specified later.
Sources
- Regulation (EU) 2024/2847 (Cyber Resilience Act), official text on EUR-Lex: Article 13 and Annexes I, II and VII.
- CycloneDX specification and SPDX specification.
- NTIA, The Minimum Elements for a Software Bill of Materials (2021).
- BSI Technical Guideline TR-03183, part 2: Software Bill of Materials (German Federal Office for Information Security).
- OSV.dev, the open vulnerability database used by the kit’s tool.
This guide helps you prepare and document. It is not legal advice. The binding text is the Regulation as published in the Official Journal; check it for your case.