Skip to content

SBOM explained: what a software bill of materials contains and why teams need one

An SBOM lists the components in a software product. Formats (SPDX, CycloneDX), what to include, and why regulation such as the CRA makes it relevant.

Published by Contextingo.

A software bill of materials (SBOM) is a list of the components inside a piece of software: libraries, their versions, and where they come from. It is like an ingredients list.

Why it matters

  • When a vulnerability is announced in a library, you can see at once whether you use it.
  • Customers and regulators increasingly ask for it.
  • The EU Cyber Resilience Act expects manufacturers to keep track of the components in their products. See the CRA dates.

Common formats

  • SPDX, a standard of the Linux Foundation.
  • CycloneDX, an OWASP standard.

What to include

  • Name and version of each component, direct and transitive.
  • Supplier or source, and a unique identifier such as a package URL.
  • Licence.
  • Hashes, where available.

How to make one

  1. Generate it from your lockfile or build, with a tool for your ecosystem, as part of CI.
  2. Store it with each release.
  3. Check it against vulnerability databases regularly.
  4. Update it whenever dependencies change, including changes made by an agent.

Questions

Good to know.

Is an SBOM only for big companies?

No. Generating one from a lockfile is cheap and useful for any team.

Which format should I choose?

Either is widely supported. Pick the one your customers or tools ask for.

Nothing learned is lost. Nothing unchecked is done.