SBOM vs SCA: what is the difference?
SCA (software composition analysis) is the process that finds the open-source and third-party components in an application and checks them for known vulnerabilities and licence problems. An SBOM (software bill of materials) is the document that lists those components and their versions in a standard format such as CycloneDX or SPDX. SCA is the analysis; the SBOM is the inventory.
SBOM vs SCA at a glance
| SBOM | SCA | |
|---|---|---|
| What it is | A document: an inventory of components | A process: analysis of those components |
| Main question | What is in this software? | Which of these components put us at risk? |
| Output | A CycloneDX or SPDX file, usually JSON | Findings: vulnerable packages, licence issues, upgrade advice |
| Who asks for it | Customers, procurement, regulators, auditors | Developers and security teams |
| Changes when | The software changes | The software changes or a new vulnerability is published |
| Can exist without the other? | Yes, but it is just a list | Yes, but without an SBOM the result is hard to share or prove |
The short version: SCA produces an SBOM, and an SBOM is what you re-check with SCA. They are two sides of the same job, not competing tools.
What is an SBOM?
A software bill of materials is a machine-readable list of every component in a piece of software: each open-source library, its exact version, where it came from and how it relates to the others. It is the software equivalent of an ingredients list.
The US NTIA defined the minimum elements an SBOM should carry in 2021:
| NTIA minimum element | Example |
|---|---|
| Supplier name | The organisation that publishes the component |
| Component name | lodash |
| Version | 4.17.21 |
| Other unique identifiers | A package URL (purl) such as pkg:npm/lodash@4.17.21 |
| Dependency relationship | Which component includes which |
| Author of the SBOM data | Who or what generated the SBOM |
| Timestamp | When it was generated |
An SBOM on its own says nothing about risk. A list that includes a vulnerable version is still a correct SBOM.
What is SCA?
Software composition analysis reads your manifests and lockfiles (for example package-lock.json, requirements.txt, pom.xml or go.mod), works out which components and versions you ship, and matches them against vulnerability databases such as OSV and the NVD. Most SCA tools also classify licences and flag those that break your policy, such as strong copyleft in a product you distribute.
Good SCA ranks what it finds. A long list sorted only by CVSS sends the team after theoretical criticals while an actively exploited medium waits. Useful signals on top of CVSS are:
- EPSS, the probability that a vulnerability will be exploited in the next 30 days.
- CISA KEV, the US list of vulnerabilities known to be exploited.
- Fix availability: whether an upgraded version exists.
- Reachability: whether your code actually calls the vulnerable function.
How SBOM and SCA work together
- Generate the SBOM in the build, from the same lockfiles the SCA scan reads, so the two never disagree.
- Scan it with SCA and fix or accept what matters before release.
- Publish the SBOM to customers who ask for it, with VEX statements that say which listed vulnerabilities do not affect you and why.
- Re-scan stored SBOMs when new advisories are published. The software did not change, but its risk did. This is where an SBOM earns its keep: you can answer "are we affected?" for each stored release without rebuilding it.
- Compare SBOMs between releases to see what was added, removed or upgraded.
CycloneDX vs SPDX
| CycloneDX | SPDX | |
|---|---|---|
| Maintained by | OWASP | The Linux Foundation; published as ISO/IEC 5962:2021 |
| Origins | Application security and supply chain risk | Open-source licence compliance |
| Strengths | Vulnerabilities and VEX in the same document, services, hardware and AI models | Detailed licence and file-level information |
| Common file types | JSON, XML | JSON, tag-value, RDF, YAML |
Both satisfy the NTIA minimum elements. Pick the one your customers and tools already read; converters exist in both directions.
Why SBOMs are now required
US Executive Order 14028 (May 2021) made providing an SBOM part of the secure-software expectations for suppliers to the US federal government, and the EU Cyber Resilience Act requires manufacturers of products with digital elements to draw up an SBOM as part of their technical documentation. Large buyers increasingly ask for one in security questionnaires as well.
Common mistakes
- Treating the SBOM as the security control. It is an inventory. Without SCA on top, nobody is told when a listed component becomes dangerous.
- Generating it from the manifest only. Without a lockfile, transitive dependencies are missing and versions are guesses.
- Generating it once. An SBOM describes one build. Each release needs its own.
- Sending raw CVE lists to customers. Add VEX so they can see which findings you have assessed as not affecting the product.
How Onam approaches SCA and SBOMs
Onam Code Security parses manifests and lockfiles itself across Python, npm, Java, Go, Rust, Ruby, .NET and PHP, matches each component against OSV and the NVD, and ranks each matched vulnerability with EPSS and CISA KEV as well as CVSS. The same component list is written out as a CycloneDX 1.5 SBOM with package URLs. You can also upload a CycloneDX or SPDX JSON SBOM from another tool, compare two SBOMs, record VEX statements, and run licence-policy and NTIA minimum-elements checks. One honest limit: Onam does not check call-graph reachability, so a package is reported whenever it is present at an affected version.
Frequently asked questions
What is the difference between an SBOM and SCA?
SCA (software composition analysis) is the process of finding the third-party components in an application and checking them for known vulnerabilities and licence problems. An SBOM is the document that lists those components and versions in a standard format. SCA is the analysis; the SBOM is the inventory it produces and later re-checks.
Does SCA generate an SBOM?
Most SCA tools can, because they already build the component list an SBOM needs. Generate it from the lockfile in the build so the SBOM and the scan results describe exactly the same release.
Is an SBOM enough for supply chain security?
No. An SBOM is an inventory and says nothing about risk on its own. It becomes useful when it is scanned for vulnerabilities, re-checked when new advisories appear, and shared with VEX statements that explain which findings do not apply.
Should I use CycloneDX or SPDX?
Use the format your customers and tools already read. CycloneDX, maintained by OWASP, is strong on vulnerabilities and VEX. SPDX, from the Linux Foundation and published as ISO/IEC 5962:2021, is strong on licence detail. Both meet the NTIA minimum elements.
What are the NTIA minimum elements of an SBOM?
Supplier name, component name, version, other unique identifiers such as a package URL, the dependency relationship, the author of the SBOM data, and a timestamp.
What is VEX?
VEX (Vulnerability Exploitability eXchange) is a statement that says whether a product is affected by a specific vulnerability in one of its components: not affected, affected, fixed or under investigation, with a reason. It stops customers chasing CVEs you have already assessed.