Methodology

What is measured, how the right answer was established, how the numbers are counted, and what they cannot tell you.

The two scores

Content accuracy asks whether a document is true: does it name what actually ships, at the right version, without passing off test, dev or build tooling as shipped, and with correct hashes? It is measured against each test case's ground truth.

Baseline conformance asks whether a document is complete: does it carry the fields the published baselines want? It is measured by sbomqs, which scores a document out of 10 against NTIA 2021, the NTIA/CISA 2026 revision, BSI TR-03183-2 v2.1 and FSCT v3. CycloneDX documents are also checked against their schema with cyclonedx-cli.

The two are kept apart everywhere on this site, because they disagree.

A third view asks what the first two are for. The security view looks every component of every SBOM up in a vulnerability database and checks whether the SBOM would raise the advisories that apply to what ships, and only those.

Ground truth

Each test case has an expected.json, written by hand from the project's build files, its lockfiles and the listing of the built archive. Each test case also has a proof-check.sh that asserts what ends up in the artefact. It records what the build produced, not what any SBOM tool reported.

It keeps three kinds of component apart:

A tool may list something that does not ship, provided it marks it. A component with a scope of excluded or optional, or a property saying it is dev or test, counts as labelled. Without such a mark it counts as leaked.

The three stages

Every test case is scanned at up to three stages: source (the checkout, without build outputs or caches), artefact (the built jar, WAR, package or environment) and image (the container). Scanners get a copy of the source tree with build outputs removed, so that the source stage means the checkout and not the checkout plus everything the build produced. Tools that have to run the build use the real tree.

How the counts are made

The scorer reads CycloneDX and SPDX JSON, keeps package components, and reduces each to a package URL without qualifiers. It compares them with the ground truth, restricted to the test case's ecosystems.

Shipped found
Components that really ship and that the tool named at the exact version, out of all that ship.
Wrong ver
Components the tool named, but at a version that does not ship.
Wrong purl
Components named with the right name and version but under the wrong group or namespace, so no vulnerability database will match them. Lower is better.
Leaked
Things that do not ship (test, dev and build tooling, provided-scope and BOM imports) listed as if they did, with nothing a consumer could filter on. Lower is better.
Labelled
Things that do not ship, listed with a scope or property that marks them as such. This is the correct way to include them, so a high number is not a fault.
Hashes ok
Hashes the tool emitted that match the real digest of the jar inside the built artefact, out of the hashes it emitted for those jars.
In scope
Components whose package type is one of the test case's ecosystems. Operating-system packages in images are left out.

Denominators. Shipped found is always out of the full list of shipped components for that test case, at every stage. On the results page a tool's total adds up the test cases it ran on, so two tools' totals can have different denominators; the Cases column says how many. No figure on this site averages a tool across stages.

What this cannot tell you

Tool versions and commands

Every tool runs in one container image built from tools/versions.env, so a report can be reproduced from the commit that holds it. The exact command for each tool is its adapter, tools/<tool>/adapter.sh; each tool's page links to its own.

Run on
2026-11-24
Tool image
sha256:04c1557a3e19 (aarch64)
SBOM+ build
published, from Maven Central
SettingValue
PYTHON_IMAGEpython:3.15.2-slim-trixie
JDK_VERSION25.0.2+10
MAVEN_VERSION3.9.16
NODE_VERSION26.13.0
DOTNET_SDK_VERSION10.0.404
GO_VERSION1.27.4
DOCKER_CLI_VERSION29.9.3
DOCKER_BUILDX_VERSION0.38.2
SYFT_VERSION1.51.0
TRIVY_VERSION0.74.0
CDXGEN_VERSION11.3.2
SBOM_TOOL_VERSION4.1.13
CYCLONEDX_DOTNET_VERSION6.3.2
BOM_VERSION0.8.0
CYCLONEDX_NPM_VERSION6.0.1
CYCLONEDX_PY_VERSION8.0.1
SBOM4PYTHON_VERSION0.12.6
CYCLONEDX_GOMOD_VERSION1.12.0
CAPYCLI_VERSION2.12.0
CAPYCLI_PYTHON3.14
UV_VERSION0.13.7
DOCKER_SCOUT_VERSION1.24.0
CYCLONEDX_MAVEN_PLUGINorg.cyclonedx:cyclonedx-maven-plugin:2.9.1
SBOM_PLUS_MAVEN_PLUGINdev.noregressions:sbom-plus-maven-plugin:1.1.0
SBOMQS_VERSION2.1.3
CYCLONEDX_CLI_VERSION0.33.1
GRYPE_VERSION0.115.0

Run it yourself

You need Docker, make and git. The first run builds the tool image, which takes a few minutes and about 4 GB.

git clone https://github.com/noregressions/SBOM-Generator-Benchmark.git
cd SBOM-Generator-Benchmark
make            # build the test cases, run every tool, score, rebuild this site
make clean      # remove what the build left behind

A full run takes roughly ten minutes and ends with Failed steps: none. The scores land in criteria/output/scores.json and the generated SBOMs beside them, under criteria/output/<test case>/<stage>/.

To point the same tools at your own project:

make scan TREE=/path/to/your/project

That writes a report and every generated SBOM into sbom-report/ in your project. Your project has no ground truth, so the report cannot say which tool is right. It shows where the tools disagree, which is where to look first. A disagreement is a reason to investigate, not proof that either tool is wrong.

The README covers the other targets, adding a test case and adding a tool.