Notes
What an SBOM is
An SBOM is a machine-readable ingredient list for software. It records every component with its name, version and supplier, identifiers used for matching such as package URLs, file hashes, licenses, and the dependency relationships. The food-label analogy is exact: as you check a packaged food for an allergen, you check an SBOM for a vulnerable component. It is generated per build, for each artifact, so it reflects what actually shipped rather than what the source once declared.
- every component: name, version, supplier
- unique identifiers (purl, CPE) for matching
- hashes, licenses
- dependency relationships (what depends on what)
- like a food ingredients label, but machine-readable
- generated per build, per artifact
The formats
There are two main formats. CycloneDX comes from OWASP, is security-focused, supports VEX natively and tends to be compact. SPDX is an ISO standard with particularly strong support for licensing and compliance. Both are machine-readable, usually JSON, and most tools can emit either, so they interoperate. For your own organisation, the practical advice is simply to pick one and be consistent, so that everything that consumes SBOMs, your scanners and inventories, speaks the same language.
- CycloneDX: from OWASP; security-focused, supports VEX, compact
- SPDX: ISO standard; strong on licensing and compliance
- both are machine-readable (JSON, XML)
- most tools emit both pick one and be consistent across your org
Generate and use
The lifecycle has two halves. You generate the SBOM at build time with a tool like Syft, Trivy or a build plugin, store it with the artifact and sign it. Then you consume it: match the SBOM against newly disclosed vulnerabilities, continuously, so when the next big one lands you query your inventory and instantly see which services use the affected library. That is the whole payoff, turning a multi-week fire drill into a database query. SBOMs also drive license and export-control checks.
- generate at build: Syft, Trivy, cdxgen, a plugin
- store it with the artifact and sign it
- consume: match the SBOM against new CVEs, continuously
- ask "which of our 400 services use this library?" and answer instantly
- also powers license and export checks
VEX
Here is the problem VEX solves. An SBOM says your product contains library X version one point two. A scanner says that version has a known vulnerability. But you may not be affected, because you never call the vulnerable function. VEX, the vulnerability exploitability exchange, records exactly that: for a given vulnerability and product, a status of affected, not affected, fixed or under investigation, and the reason. It is how a vendor tells customers not affected, with evidence, instead of leaving them to guess.
- SBOM: "this product contains library X 1.2"
- scanner: "X 1.2 has CVE-...-...."
- VEX answers: are we actually affected?
- statuses: affected, not affected, fixed, under investigation
- and WHY (e.g. vulnerable function never called)
Why VEX matters
VEX matters because without it, anyone who scans your SBOM sees a long list of vulnerabilities in your components and reasonably panics, even though most do not apply. With VEX, you publish not affected, with the reason, for the ones that do not matter, and customers' scanners stop flagging them. It cuts false positives for everyone downstream. VEX is how you record the triage decisions from the last episode in a shareable form, so you make them once and the whole supply chain benefits.
- without VEX: customers see a scary SBOM scan full of CVEs and panic
- with VEX: "not affected, here is why" for most of them
- cuts false positives for everyone downstream
- records your triage decisions (last episode) in a shareable form
- CycloneDX and OpenVEX carry it
The regulation push
SBOMs are shifting from a nice idea to a requirement. A US executive order now requires SBOMs for software sold to the federal government. The EU's Cyber Resilience Act brings SBOM and vulnerability-handling obligations for products in that market. And customers increasingly ask for an SBOM during procurement. The practical conclusion is to start generating SBOMs now, as a normal build output, and to be ready to consume the SBOMs your own vendors provide, because this is becoming table stakes.
- US executive order 14028: SBOMs for software sold to the government
- EU Cyber Resilience Act: SBOM and vulnerability handling obligations
- customers increasingly demand an SBOM in procurement
- so: generate them now, and be ready to consume vendors'
Common mistakes
Mistakes. Generating SBOMs to tick a box but never consuming them, which is most of the value. Producing an SBOM from source instead of the built artifact, so it misses what was really included. No SBOM for the container base image layers, which hold many components. Mixing formats so nothing interoperates. Ignoring VEX, so SBOM scans drown in false positives. And an SBOM not signed or stored with the artifact, so its integrity cannot be trusted.
- generating SBOMs but never consuming them
- an SBOM from source, not the actual built artifact
- no SBOM for container base image layers
- mixing formats inconsistently
- ignoring VEX, so scans are all false positives
- SBOM not signed or stored with the artifact
Say it like this
In the interview: an SBOM is a machine-readable list of every component and version inside an artifact, in CycloneDX or SPDX. Its main value is answering are we affected in minutes when a new vulnerability lands, instead of a multi-week hunt, as Log4Shell showed. I generate SBOMs at build time with Syft or Trivy, sign and store them with the artifact, and consume them continuously against new advisories. I pair them with VEX statements recording whether each component is actually exploitable.
- "An SBOM is a machine-readable
- list of every component and version in an artifact, in CycloneDX or SPDX. It lets me
- answer 'are we affected' in minutes when a new CVE lands.
- VEX records whether each component is actually
- exploitable. I generate SBOMs
- per build, sign and consume them."