Skip to content

About

Semantic SBOM/CBOM/AI-BOM diff, quality scoring, and compliance validation for CycloneDX/SPDX — component, license, and vulnerability change analysis, cryptographic inventory grading, PQC readiness (CNSA 2.0, NIST IR 8547), and regulatory gates for NTIA, FDA, EU CRA, BSI TR-03183, EUCC, SSDF, EO 14028, and the EU AI Act.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

253 stars

Watchers

6 watching

Forks

Latest commit

 

History

1,098 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sbom-tools logo

sbom-tools

Know exactly what changed in your software supply chain — from components to cryptography.

build crates.io docs.rs downloads dependency status license MSRV OpenSSF Best Practices OpenSSF Scorecard

Semantic SBOM/CBOM diff, quality scoring, and analysis tool. Compare, validate, and grade software and cryptographic bills of materials across CycloneDX and SPDX formats.

sbom-tools diff summary

Start with the big picture

sbom-tools converts CycloneDX and SPDX documents into one canonical model, then uses the same Rust engine for semantic diffing, validation, quality scoring, enrichment, and reports. The CLI is the complete operator interface; language bindings provide application access to the JSON-oriented C ABI.

  • Project overview - purpose, audiences, data flow, and responsibility boundaries
  • User journeys - reproducible scientist and developer/security workflows
  • Project briefing - compact orientation for contributors, integrators, and AI coding assistants
  • Architecture - internal modules and invariants

Features

  • Semantic Diffing — Component-level change detection (added, removed, modified), dependency graph diffing, vulnerability tracking, license change analysis, and document-revision (version) tracking
  • Multi-Format Support — CycloneDX (1.4–1.7) and SPDX (2.2–2.3, 3.0) in JSON, JSON-LD, XML, tag-value, and RDF/XML with automatic format detection
  • Stdin Input — Every analysis command accepts - as the input path, reading the SBOM from standard input so generated/fetched SBOMs can be piped in without temp files (e.g. syft -o cyclonedx-json . | sbom-tools quality -)
  • Streaming Report Output — Large diff reports are streamed to JSON without buffering the whole document in memory; inputs are capped at 512 MB
  • Fuzzy Matching — Multi-tier matching engine using exact PURL match, alias lookup, ecosystem-specific normalization, and string similarity with adaptive thresholds and LSH indexing
  • Vulnerability Enrichment — Integration with OSV and KEV databases to track new and resolved vulnerabilities, with VEX (Vulnerability Exploitability eXchange) overlay support (feature-gated)
  • EOL Detection — End-of-life status for components via endoflife.date API with TUI visualization and compliance integration (feature-gated)
  • Quality Assessment — Weighted 0–100 scoring across 9 profiles with quality delta tracking across versions, plus an sbomqs-json output that recomputes the sbomqs 0–10 score model for side-by-side comparison
  • Compliance Validation — 16 standards: NTIA, CISA 2026 Minimum Elements, FDA, CRA Phase 1 / Phase 2, NIST SSDF, EO 14028, CNSA 2.0, NIST PQC, BSI TR-03183-2, CRA Art. 24 OSS steward, EUCC, EU AI Act, BSI SBOM-for-AI, PCI DSS 6.3.2, and CISA FSCT 3rd ed.
  • Attestation Evidence (CDXA) — Parses declarations (assessors, attestations, claims, evidence, affirmation) from CycloneDX 1.6+ JSON — the XML parser does not ingest them yet — and lets a declaration satisfy an SSDF practice, a CRA conformity route, an EUCC certificate reference, or EO 14028 provenance. Structural verification only — signature presence is recorded, never cryptographically verified
  • CBOM Quality Scoring — Grade cryptographic inventory health across 8 categories: algorithm strength, PQC readiness, OID coverage, crypto completeness, key/certificate lifecycle, and cross-reference resolution, with hard caps for broken cryptography and compromised keys
  • PQC Compliance — CNSA 2.0 (NSA) and NIST IR 8547 post-quantum cryptography compliance checking with per-algorithm PASS/FAIL assessment, and a deadline mode that judges each algorithm by its migration date (IR 8547 2030/2035, the federal EO 14412 deadlines, the CNSA 2.0 timeline)
  • Cryptographic Inventory — Parse CycloneDX 1.6/1.7 cryptoProperties (algorithms, certificates, keys, protocols) with auto-detection of CBOM vs SBOM profiles
  • Fleet Comparison — 1:N baseline comparison, timeline analysis across versions, and NxN matrix analysis, all with enrichment support
  • Incremental Diff — Section-selective recomputation for partial changes with cached matching results
  • VEX Tracking — Detect VEX state transitions (NotAffected → Affected) across SBOM versions, with --fail-on-vex-gap CI gate
  • Multiple Output Formats — JSON, NDJSON, SARIF, OSCAL assessment results (validate), sbomqs-JSON (quality), HTML, Markdown, CSV, table, side-by-side, summary, and an interactive TUI
  • Ecosystem-Aware — Configurable per-ecosystem normalization rules, typosquat detection, pre-release version handling, and cross-ecosystem package correlation

Installation

Homebrew (macOS / Linux)

brew install sbom-tool/tap/sbom-tools

Pre-built binaries

Download from GitHub Releases:

# Linux (x86_64)
curl -sSL https://github.com/sbom-tool/sbom-tools/releases/latest/download/sbom-tools-linux-x86_64.tar.gz | tar xz
sudo mv sbom-tools /usr/local/bin/

# macOS (Apple Silicon)
curl -sSL https://github.com/sbom-tool/sbom-tools/releases/latest/download/sbom-tools-macos-aarch64.tar.gz | tar xz
sudo mv sbom-tools /usr/local/bin/

# macOS (Intel)
curl -sSL https://github.com/sbom-tool/sbom-tools/releases/latest/download/sbom-tools-macos-x86_64.tar.gz | tar xz
sudo mv sbom-tools /usr/local/bin/

Each pre-built archive is signed with Sigstore and has a GitHub build attestation. To verify a download:

# Verify Sigstore signature (requires cosign)
cosign verify-blob \
  --bundle sbom-tools-macos-aarch64.tar.gz.bundle \
  --certificate-identity 'https://github.com/sbom-tool/sbom-tools/.github/workflows/publish-crates.yml@refs/tags/v0.1.19' \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com \
  sbom-tools-macos-aarch64.tar.gz

# Verify GitHub attestation (requires gh CLI)
gh attestation verify sbom-tools-macos-aarch64.tar.gz \
  --repo sbom-tool/sbom-tools

Replace v0.1.19 with the version you downloaded. Homebrew users do not need to verify manually — Homebrew validates the source tarball SHA256 automatically.

From crates.io

# Fast install (downloads pre-built binary)
cargo binstall sbom-tools

# Or compile from source
cargo install sbom-tools

Build from source

Requires Rust 1.88+.

# Release build (includes vulnerability enrichment by default)
cargo build --release

# Without enrichment (lightweight build)
cargo build --release --no-default-features

The binary is placed at target/release/sbom-tools.

Go, Swift, Python, and Node.js bindings MVP

The repository includes a shared C ABI plus thin Go, Swift, Python, and Node.js wrappers for the MVP binding surface.

Current ABI scope:

  • detect_format on raw content
  • Parse from file path or raw SBOM string into normalized JSON
  • Diff two normalized SBOM JSON payloads
  • Score a normalized SBOM JSON payload

Current ABI exclusions:

  • CLI subcommands
  • TUI and watch mode
  • Enrichment providers
  • Non-JSON report formats

Build the native Rust library before using a wrapper:

bash ./scripts/build-bindings-mvp.sh

For interface selection and end-to-end examples, follow the user journeys.

Go wrapper

cd bindings/go
go test ./...

Example:

package main

import (
  "fmt"
  "log"

  sbomtools "github.com/sbom-tool/sbom-tools/bindings/go"
)

func main() {
  version, err := sbomtools.Version()
  if err != nil {
    log.Fatal(err)
  }

  parsed, err := sbomtools.ParsePathJSON("../../tests/fixtures/cyclonedx/minimal.cdx.json")
  if err != nil {
    log.Fatal(err)
  }

  fmt.Println(version.ABIVersion)
  fmt.Println(string(parsed))
}

Swift wrapper

cd bindings/swift
swift test

Example:

import SbomTools

let version = try SbomTools.version()
let json = try SbomTools.parsePathJSON("../../tests/fixtures/cyclonedx/minimal.cdx.json")

print(version.abiVersion)
print(json)

Python wrapper

cd bindings/python
python3 -m venv .venv
.venv/bin/python -m pip install -e '.[test]'
.venv/bin/python -m pytest -q

Example:

import json

from sbomtools import ScoringProfile, parse_path_json, score_json

parsed = parse_path_json("../../tests/fixtures/cyclonedx/minimal.cdx.json")
report = score_json(json.dumps(parsed), ScoringProfile.STANDARD)
print(report)

Node.js wrapper

cd bindings/nodejs
npm ci
npm test

Example:

import { parsePathJson, version } from "@sbom-tools/node";

const abi = version();
const parsed = parsePathJson("../../tests/fixtures/cyclonedx/minimal.cdx.json");

console.log(abi.abi_version);
console.log(parsed);

Memory and compatibility rules:

  • The Rust ABI owns returned memory and wrappers must call sbom_tools_string_result_free exactly once.
  • JSON payload shape is the compatibility contract for normalized SBOMs, diff results, and quality reports.
  • Error codes are stable across Go, Swift, Python, and Node.js wrappers.

Typed helper APIs are available in each wrapper:

  • Go: ParsePath, ParseString, Diff, Score over typed payload structs
  • Swift: parsePath, parseString, diff, score over Codable payload structs
  • Python: typed version/format results and JSON-decoded parse, diff, and score values

Deduplication helper APIs are available in both wrappers:

  • Go payload methods: DeduplicateInPlace, Deduplicated
  • Swift payload methods: deduplicateInPlace, deduplicated
  • Go helper APIs: DiffDeduplicated, ScoreDeduplicated
  • Swift helper APIs: diffDeduplicated, scoreDeduplicated

Deduplication semantics:

  • Components are deduplicated by canonical identifier with last occurrence winning.
  • Dependency edges are deduplicated by full edge object equality with last occurrence winning.
  • Dedup-aware diff/score helpers are opt-in and return deduplication stats so callers can track normalization impact.

Go dedup-aware helper example:

oldPayload, err := sbomtools.ParsePath("../../tests/fixtures/demo-old.cdx.json")
if err != nil {
  log.Fatal(err)
}

newPayload, err := sbomtools.ParsePath("../../tests/fixtures/demo-new.cdx.json")
if err != nil {
  log.Fatal(err)
}

diff, err := sbomtools.DiffDeduplicated(oldPayload, newPayload)
if err != nil {
  log.Fatal(err)
}

score, err := sbomtools.ScoreDeduplicated(newPayload)
if err != nil {
  log.Fatal(err)
}

fmt.Println(diff.Result.Summary.TotalChanges, diff.NewStats.ComponentsRemoved)
fmt.Println(score.Result.OverallScore, score.Stats.ComponentsRemoved)

Swift dedup-aware helper example:

let oldPayload = try SbomTools.parsePath("../../tests/fixtures/demo-old.cdx.json")
let newPayload = try SbomTools.parsePath("../../tests/fixtures/demo-new.cdx.json")

let diff = try SbomTools.diffDeduplicated(old: oldPayload, new: newPayload)
let score = try SbomTools.scoreDeduplicated(newPayload)

print(diff.result.summary.totalChanges, diff.newStats.componentsRemoved)
print(score.result.overallScore, score.stats.componentsRemoved)

ABI contract snapshots are enforced in tests/ffi_schema_snapshots.rs using fixtures under tests/fixtures/abi.

Bindings CI checks (dedup-focused):

# Convenience script (runs both)
./scripts/test-bindings-dedup.sh all

# Go (dedup helper regression checks)
cd bindings/go
go test ./... -run 'TestDeduplicateInPlace_LastWins|TestDeduplicated_DoesNotMutateOriginal|TestDiffAndScoreDeduplicatedHelpers'

# Swift (dedup helper regression checks)
cd ../swift
swift test --filter dedup

Dagger Rust SDK CI/CD

The repository now includes a Dagger Rust SDK runner for bindings CI/CD tasks and static library build/release activities.

Run locally:

cargo run --manifest-path dagger/rust-sdk/Cargo.toml -- ci-all

Usage

# Compare two SBOMs (launches interactive TUI)
sbom-tools diff old-sbom.json new-sbom.json

# Diff with vulnerability enrichment for CI
sbom-tools diff old.json new.json --enrich-vulns --fail-on-vuln -o sarif

# View SBOM contents interactively
sbom-tools view sbom.json --enrich-vulns

# Search for vulnerable components across your fleet
sbom-tools query "log4j" --version "<2.17.0" fleet/*.json

# Validate against multiple compliance standards
sbom-tools validate sbom.json --standard ntia,cra,eo14028

# List the rules a standard checks, or explain one rule
sbom-tools rules --standard cra
sbom-tools rules explain SBOM-CRA-ART-24

# Assess quality with CI gate
sbom-tools quality sbom.json --profile security --min-score 70

# Track SBOM evolution over releases
sbom-tools timeline v1.json v2.json v3.json --enrich-vulns

# Enrich an SBOM with vulnerability + EOL data
sbom-tools enrich app.cdx.json --enrich-vulns --enrich-eol -O enriched.json

# Grade cryptographic inventory quality (crypto metadata + NIST PQC readiness;
# package fields like version/supplier/license are not required of crypto assets)
sbom-tools quality cbom.cdx.json --profile cbom

# View CBOM with crypto-specific tabs
sbom-tools view cbom.cdx.json --bom-type cbom

# Pipe an SBOM in via stdin with '-' (no temp file needed)
syft -o cyclonedx-json . | sbom-tools quality - --profile security
cosign download sbom my-image:latest | sbom-tools validate - --standard ntia

# Diff a freshly generated SBOM against a committed baseline ('-' = one side only)
syft -o cyclonedx-json . | sbom-tools diff baseline.cdx.json -

Diff

sbom-tools diff old-sbom.json new-sbom.json

Compares two SBOMs and reports added, removed, and modified components with version diffs, vulnerability changes, and license deltas.

Diff options
Flag Description
--fail-on-change Exit with code 1 if changes are detected
--fail-on-vuln Exit with code 2 if new vulnerabilities are introduced
--fail-on-vex-gap Exit with code 4 if introduced vulnerabilities lack VEX statements
--fail-on-kev Exit with code 6 if an introduced vulnerability is in CISA's KEV catalog (implies --kev enrichment)
--fail-on-ml-regression Exit with code 7 if a supported numeric ML metric regresses
--graph-diff Enable dependency graph structure diffing
--ecosystem-rules <path> Load custom per-ecosystem normalization rules
--fuzzy-preset <preset> Matching preset: strict, balanced (default), permissive
--enrich-vulns Query OSV/KEV databases for vulnerability data
--enrich-eol Detect end-of-life status via endoflife.date API
--vex <path> Apply external VEX document(s) (OpenVEX format)
--exclude-vex-resolved Exclude vulnerabilities with VEX status not_affected or fixed
--detect-typosquats Flag components that look like known-package typosquats
--explain-matches Show why each component pair was matched
--severity <level> Filter by minimum severity (critical, high, medium, low)
--as-of <datetime>, --cra-product-class <class>, --pqc-mode, --pqc-profile, --cnsa-category Inputs of the compliance checks on both SBOMs (the TUI's compliance tab, the reports' CRA section): the evaluation clock (RFC 3339 or a date; default: the wall clock), the CRA product class and the PQC deadline mode. Each SBOM adds the CRA sidecar found next to it. Taken as validate takes them; see Inputs of a run
--sarif-base <dir>, --sarif-category <name>, --sarif-max-results <n> Where -o sarif results point, the code-scanning category they report under, and the most results a run keeps (25,000 by default); see SARIF and code scanning
Example output
sbom-tools diff old-sbom.json new-sbom.json --enrich-vulns

SBOM Diff: old-sbom.json → new-sbom.json

Components: 142 → 145 (+5 added, -2 removed, ~3 modified)

 + pkg:npm/express@4.19.2           (added)
 + pkg:npm/zod@3.23.8               (added)
 + pkg:npm/opentelemetry-api@1.9.0  (added)
 + pkg:npm/ws@8.18.0                (added)
 + pkg:npm/pino@9.3.2               (added)
 - pkg:npm/body-parser@1.20.2       (removed)
 - pkg:npm/winston@3.11.0           (removed)
 ~ pkg:npm/lodash@4.17.20 → 4.17.21  (version bump)
 ~ pkg:npm/axios@1.6.0 → 1.7.4       (version bump)
 ~ pkg:npm/semver@7.5.4 → 7.6.3      (version bump)

Vulnerabilities:
 ✗ CVE-2024-29041 (HIGH) — express <4.19.2  [resolved by upgrade]
 ✗ CVE-2024-4068  (HIGH) — braces <3.0.3    [new, in transitive dep]

License changes: none

View

sbom-tools view sbom.json

Launches an interactive TUI with component tree, vulnerability details, license breakdown, and dependency graph.

View options
Flag Description
--severity <level> Filter by minimum vulnerability severity (critical, high, medium, low)
--vulnerable-only Only show components with known vulnerabilities
--ecosystem <name> Filter components by ecosystem (e.g., npm, cargo, pypi)
--enrich-eol Detect end-of-life status via endoflife.date API
--validate-ntia Validate against NTIA minimum elements
--bom-type <type> BOM type override (sbom, cbom, aibom). Auto-detected from content if omitted
--as-of <datetime>, --cra-product-class <class>, --cra-sidecar <path>, --pqc-mode, --pqc-profile, --cnsa-category Inputs of the compliance checks (the TUI's compliance tab, --validate-ntia, the reports' CRA section), taken as validate takes them; see Inputs of a run
--sarif-base <dir>, --sarif-category <name>, --sarif-max-results <n> Where -o sarif results point, the code-scanning category they report under, and the most results a run keeps (25,000 by default); see SARIF and code scanning

--severity, --vulnerable-only and --ecosystem narrow the component list only. The compliance tab and its exports, the quality score, --validate-ntia and a report's CRA section judge the whole SBOM, so they report what validate reports; the compliance tab says when the list is filtered.

Validate

sbom-tools validate sbom.json --standard ntia
sbom-tools validate sbom.json --standard cra -o sarif -O results.sarif

Checks an SBOM against a compliance standard and reports missing fields or failing requirements.

Validate options
Flag Description
--standard <std> Standard to validate: ntia (default), cisa-2026, fda, cra (= Phase 2), cra-phase1, ssdf, eo14028, cnsa2, pqc, bsi, oss-steward, eucc, ai-act, bsi-ai, pci-dss, fsct (comma-separated for multiple; a standard named twice is checked once; aliases in --help)
--as-of <datetime>, --cra-product-class <class>, --cra-sidecar <path> The evaluation clock (RFC 3339 or a date; default: the wall clock), the CRA Annex III/IV product class, and the CRA sidecar (default: <sbom>.cra.{json,yaml} next to the SBOM). Each standard reads only the inputs that apply to it; see Inputs of a run
-o, --output <fmt> Output format: summary (default via auto), json, sarif, oscal-json
--require-applicable Exit 1 when a selected standard does not apply to the SBOM (e.g. ai-act on an SBOM without ML components); without it, such a standard is reported as N/A and exits 0
--json-schema <v1|v2> Layout of -o json: v2 (default) is the sbom-tools/compliance/v2 envelope; v1 is the deprecated pre-0.4 layout, removed in v0.5.0
--pqc-mode <readiness|deadline> How cnsa2 and pqc judge quantum-vulnerable cryptography: readiness (default) makes each one an error; deadline judges each by its migration date at --as-of (info, then warning, then error) and adds deadline and deadline_source to the finding; see PQC deadline mode
--pqc-profile <nist|federal> With --pqc-mode deadline, whose dates pqc applies: nist (default, NIST IR 8547) or federal (EO 14412 / OMB M-26-15: PQC key establishment by 2030-12-31, signatures by 2031-12-31, TLS 1.3 by 2030-01-02)
--cnsa-category <category> With --pqc-mode deadline, the CNSA 2.0 equipment category whose timeline cnsa2 applies: software-signing, web-cloud, networking, operating-systems, niche, custom-legacy; the strictest when unset
--rule <RULE=SETTING> Set a rule's severity for this run (off, info, warning, error; repeatable, e.g. --rule SBOM-NTIA-SUPPLIER=warning). The verdict, the counts, the score and the exit code follow it; each finding keeps the severity its check gave it as default_severity, and off counts the dropped findings under suppressed. Wins over the config file's compliance.rules; see Rule settings
--fail-on <RULE> Exit 1 on any finding of this rule, whatever its severity (repeatable; config key compliance.fail_on)
--include-excluded-scope Also judge components whose scope is excluded (CycloneDX scope: excluded, SPDX development, build and test dependencies) by the package rules; by default they are left out and each result counts them in excluded_components
--sarif-include-passes With -o sarif, also report every check the SBOM passed (e.g. an approved post-quantum algorithm) as a result of kind: "pass", level none. Off by default, so code scanning shows no pass as an alert
--sarif-base <dir>, --sarif-category <name>, --sarif-max-results <n> Where -o sarif results point, the code-scanning category they report under, and the most results a run keeps (25,000 by default); see SARIF and code scanning

-o json emits one object for any number of standards, with a stable finding_id on every violation and every passed check; docs/compliance-output.md describes every field, and the schema is schemas/compliance/v2.schema.json. Checks the SBOM passed are listed under passed, never as violations. Each result's score is 50–100 when the standard passes and 0–49 when it fails, scaled by the errors and warnings per element checked (see Score). A violation names the field it checks in the SBOM's format (field) and the value it read there (observed, such as a NOASSERTION supplier), and the checks a standard did not evaluate on the SBOM are listed under evaluated with the reason (CISA 2026's signature check on SPDX 2.x, say). The text report names the rule of each finding and lists the same checks under Not evaluated:.

Notes on the newest profiles:

  • cisa-2026 — CISA/NSA/FBI 2026 Minimum Elements for an SBOM (v2.1, 2026-07-29), the successor to NTIA 2021 and deliberately stricter: a tool-only creator list does not satisfy SBOM Author, and silently omitting a license fails where an explicit NOASSERTION passes.
  • pci-dss — PCI DSS v4.0.1 Requirement 6.3.2 software-inventory profile. A passing verdict is evidence that the inventory exists and is usable — not a PCI DSS compliance certification.
  • fsct — CISA Framing Software Component Transparency 3rd ed. (2024), with the three maturity tiers mapped Minimum Expected → error, Recommended Practice → warning, Aspirational Goal → info.

Where a CycloneDX JSON document carries declarations, a matching attestation satisfies the corresponding SSDF / CRA / EUCC / EO 14028 rule at structural (signature-present) level. Every pre-existing self-declared evidence path stays valid, and documents without declarations are unaffected. See docs/STANDARDS_VERSIONS.md for the exact edition, publication date, and citation behind every standard.

Rules

sbom-tools rules --standard bsi                  # What BSI TR-03183-2 checks
sbom-tools rules explain SBOM-CRA-ART-24         # One rule in full
sbom-tools rules -o json > rules.json            # The whole catalogue

Lists the compliance rules: every rule in the registry, or those of the standards --standard names (it takes the names and aliases validate takes). For each rule it shows the id, name, default severity, the standards that use it, its references with URLs, and the first sentence of its remediation. rules explain <RULE_ID> adds the full remediation and where the fix goes in CycloneDX, SPDX 2.x and SPDX 3.0. -o markdown writes a table, and -o json the sbom-tools/rules/v1 document (schemas/rules/v1.schema.json). An unknown rule id or standard exits 3. The rules a standard lists are the ones its -o sarif run declares in rules[]; docs/compliance-output.md describes every field.

Quality

sbom-tools quality sbom.json --profile security --recommendations

Scores an SBOM from 0–100 using a weighted profile. Use --min-score to fail CI if quality drops below a threshold.

The plain-text summary also appends an sbomqs-comparable 0–10 category table, and -o sbomqs-json emits a full report in the sbomqs score --legacy --json schema (parity target sbomqs v2.1.2, printed with the scores) so the two tools can be compared side by side. It covers the five documented legacy categories, so its average matches sbomqs score --legacy --category ntia,semantic,quality,sharing,structural. Categories that cannot be computed are emitted as ignored with a reason. The two scales are not convertible — the 0–10 numbers are recomputed per feature with sbomqs' own formulas, not the 0–100 score divided by ten. Documented quirks live in docs/STANDARDS_VERSIONS.md.

Quality options
Flag Description
--profile <name> Scoring profile: minimal, standard (default), security, license-compliance, cra, bsi, comprehensive, cbom, ai-readiness
-o, --output <fmt> Output format: summary (default via auto), json, sarif, sbomqs-json
--min-score <n> Fail if quality score is below threshold (0–100)
--fail-on-noncompliant Exit with code 1 if the profile's embedded compliance check reports the SBOM as non-compliant
--as-of <datetime>, --cra-product-class <class>, --cra-sidecar <path>, --pqc-mode, --pqc-profile, --cnsa-category Inputs of the embedded compliance check, taken as validate takes them; the clock also dates the score's age and expiry metrics, and --pqc-mode and --pqc-profile reach the cbom profile's NIST PQC check
--recommendations Show detailed improvement recommendations
--metrics Show detailed scoring metrics
--sarif-base <dir>, --sarif-category <name>, --sarif-max-results <n> Where -o sarif results point, the code-scanning category they report under, and the most results a run keeps (25,000 by default); see SARIF and code scanning

Query

sbom-tools query "log4j" sbom1.json sbom2.json sbom3.json

Search for components across multiple SBOMs by name, version, ecosystem, license, supplier, or vulnerability ID. Answers the "where is Log4j?" question across your entire SBOM fleet.

Query options
Flag Description
--name <str> Filter by component name (substring)
--version <ver> Filter by version — exact match or semver range (e.g., <2.17.0)
--ecosystem <eco> Filter by ecosystem (e.g., npm, maven, pypi)
--license <str> Filter by license (substring)
--purl <str> Filter by PURL (substring)
--supplier <str> Filter by supplier name (substring)
--affected-by <id> Filter by vulnerability ID (e.g., CVE-2021-44228)
--enrich-vulns Query OSV databases for vulnerability data
--enrich-eol Detect end-of-life status via endoflife.date API
--limit <n> Maximum number of results
--group-by-sbom Group output by SBOM source
Example output
$ sbom-tools query "log4j" --version "<2.17.0" fleet/*.cdx.json

Query: "log4j" AND version=<2.17.0 across 5 SBOMs (1247 total components)

COMPONENT  VERSION  ECOSYSTEM  LICENSE     VULNS  FOUND IN
log4j      2.14.0   maven      Apache-2.0      1  firmware-v1, device-a
log4j      2.14.1   maven      Apache-2.0      1  gateway

2 components found across 5 SBOMs

$ sbom-tools query --ecosystem pypi *.json --group-by-sbom

Query: ecosystem=pypi across 2 SBOMs (33 total components)

── backend-v3 (4 matches / 18 components) ──
  django 4.2.11 (pypi)
  flask 3.0.2 (pypi)
  celery 5.3.6 (pypi)
  numpy 1.26.4 (pypi)

── backend-v2 (4 matches / 15 components) ──
  django 3.2.23 (pypi)
  flask 2.2.5 (pypi)
  celery 5.3.4 (pypi)
  numpy 1.24.4 (pypi)

8 components found across 2 SBOMs

Fleet comparison

Compare multiple SBOMs across a project portfolio:

# Compare a baseline against multiple targets (1:N)
sbom-tools diff-multi baseline.json target1.json target2.json target3.json

# Track evolution over time (provide SBOMs in chronological order)
sbom-tools timeline v1.json v2.json v3.json

# All-pairs comparison matrix (NxN)
sbom-tools matrix sbom1.json sbom2.json sbom3.json

Each command opens a full-screen dashboard: press p/Tab to switch panels, v for the variable-components drill-down (multi-diff), Enter for a pair diff (matrix), and d to compare adjacent versions (timeline).

timeline takes the compliance inputs of a run as validate does (--as-of, --cra-product-class, the PQC flags, --rule, --include-excluded-scope, with the config file's defaults) and checks every SBOM of its compliance trend with them, so --as-of pins the trend. diff-multi and matrix check no compliance and take none of them.

These three commands accept -o auto|tui|json only (auto = TUI on a TTY, JSON when piped); any other value is rejected as a usage error before any SBOM is parsed. diff-multi and timeline both key components by version-stripped PURL, so a version bump is one entry rather than an added/removed pair: in diff-multi that covers summary.universal_components, summary.variable_components, summary.inconsistent_components, and each comparison's divergent_components; in timeline it covers evolution_summary (version_history, components_added, components_removed). Deviation scores are diff-multi only — summary.deviation_scores per target plus summary.max_deviation, both fractions in 0.0–1.0. timeline JSON carries incremental_pairs and cumulative_pairs, index-aligned with the diff arrays, so consumers never have to infer which SBOMs a diff came from.

Shell completions

sbom-tools completions bash > ~/.local/share/bash-completion/completions/sbom-tools
sbom-tools completions zsh > ~/.zfunc/_sbom-tools
sbom-tools completions fish > ~/.config/fish/completions/sbom-tools.fish

Global flags

Flag Description
-o, --output <fmt> Output format, accepted per command (see Output Formats)
-v, --verbose Enable debug output
-q, --quiet Suppress non-essential output
--no-color Disable colored output, including the TUI and side-by-side reports (also respects a non-empty NO_COLOR; an empty NO_COLOR= counts as unset)
--offline Never make network calls; serve enrichment purely from cache (also settable via SBOM_TOOLS_OFFLINE)

Interactive TUI

Both diff and view commands launch an interactive terminal UI by default when connected to a TTY. The compliance tab shows the verdicts validate reports for the same inputs: pass --as-of, --cra-product-class, the PQC flags (--pqc-mode, --pqc-profile, --cnsa-category) and, for view, --cra-sidecar as you would to validate.

Diff Mode

Compare two SBOMs with semantic change detection across 10 tabs (the Graph tab appears when dependency-graph changes are detected).

Summary — Overall change score with component, vulnerability, and compliance breakdowns at a glance.

Diff summary

Components — Every added, removed, and modified component with version diffs and ecosystem tags.

Diff components

More diff screenshots

Side-by-Side — Aligned dual-panel comparison with synchronized scrolling.

Diff side-by-side

Source — Raw SBOM JSON in a synced dual-panel tree view. Press s to lock navigation across panels.

Diff source

Compliance — CRA, NTIA, FDA, NIST SSDF, and EO 14028 readiness checks with pass/fail details for each requirement.

Diff compliance

View Mode

Explore a single SBOM, CBOM, or AI-BOM interactively. SBOM mode shows 8 tabs (Overview, Tree, Dependencies, Licenses, Vulnerabilities, Quality, Compliance, Source). CBOM mode auto-detects and shows crypto-specific tabs (Overview, Algorithms, Certificates, Keys, Protocols, Quality, PQC Compliance, Source). AI-BOM mode shows model-centric tabs (Overview, Models, Datasets, AI-Readiness, Compliance, Source) with AI inventory and AI-readiness panels on the overview. Press P to cycle between modes.

Overview — SBOM metadata, component statistics, and vulnerability summary.

View overview

Components — Expandable component tree grouped by ecosystem.

View components tree

More view screenshots

Vulnerabilities — CVE table with severity, CVSS scores, and affected components.

View vulnerabilities

Quality — Weighted quality score with category breakdown and improvement recommendations.

View quality

Navigation

Press ? for the in-app shortcut list — it is generated per mode, so it only shows keys bound in the mode you are in. In diff it also adds a "This Tab" section built from the active tab's own bindings. In view it lists the global keys plus the tab jumps for the active profile and points at each tab's toolbar for tab-specific actions; the multi-comparison modes have no tabs, so they show their mode keys only.

Key Action
1–0 / Tab Jump to tab / next tab (two exceptions below)
↑↓ / jk Navigate items
Enter / Space Expand / collapse; on diff Components, open the component deep dive
/ Search (on the view Tree tab, filter)
f Filter
Q Security quick-filter picker (diff Components)
A / r / m / x Toggle added / removed / modified / all (Side-by-Side)
s Sort / sync panels (Source)
w Switch focus (Source)
t Tune match threshold (diff; on Dependencies, toggle transitive)
x / X Expand / collapse all (view Dependencies; diff uses x / E)
C Toggle dependency cycles
K Shortcut overlay (diff, except on Side-by-Side where it is synchronized scroll up — ? always opens the overlay) / KEV-only filter (view Vulnerabilities)
} / { Next / previous vulnerability group (view)
P Cycle SBOM/CBOM/AI-BOM profile (view)
v Multi-select (diff Components) / tree-raw toggle (Source)
D Component deep dive
e Export
T Cycle theme
q Quit

In both diff and view a digit jumps tabs from every tab, with two exceptions: while the diff Components Q quick-filter modal is open, 1–8/0 toggle filters instead, and on the view Tree tab with the detail panel focused, 1–4 select the component detail sub-tab. The multi-comparison dashboards have no tabs, so digits do nothing there.

Empty panels state what is actually known: a tab with no vulnerability data says so rather than claiming there are none, quantum readiness reports n/a instead of 100% when a document declares no cryptographic assets, and the Graph tab distinguishes "no graph data" from "graphs are identical". --no-color (and a non-empty NO_COLOR) forces the monochrome theme, which stays monochrome under the T toggle.

Output Formats

Select with -o / --output:

Format Flag Use Case
Auto auto Default — TUI if TTY, summary otherwise
TUI tui Interactive exploration
JSON json Programmatic integration
SARIF sarif CI/CD security dashboards (SARIF 2.1.0)
OSCAL assessment results oscal-json OSCAL 1.2.3 validation findings for assessment tooling (validate only)
sbomqs JSON sbomqs-json sbomqs v2.1.2 score --legacy --json 0–10 scores for tool comparison (quality only)
NDJSON ndjson Newline-delimited JSON, one record per line (streaming-friendly)
Markdown markdown Documentation, PR comments
HTML html Stakeholder reports
CSV csv Spreadsheet analysis
Summary summary Terminal quick overview
Table table Aligned, colored terminal output
Side-by-side side-by-side Terminal diff comparison

Not every command accepts every format — --help lists the ones a command supports, and how an out-of-list value is rejected depends on the command. diff-multi, timeline, and matrix accept auto, tui, and json only, and reject anything else as a command-line usage error. diff, view, validate, quality, and query reject it at run time as an operational error, before any SBOM is read, naming the formats they do accept (validate --summary is the exception — it overrides -o outright, so no format is gated). Both exit 3.

JSON output contract

Which JSON payloads are a compatibility contract, and how firm it is (pre-1.0):

  • Contractual payloads. The normalized SBOM, diff results, and quality reports, as emitted by the C ABI (sbom_tools_parse_sbom_*_json, sbom_tools_diff_*, sbom_tools_score_*) and by the language bindings, and the -o json output of diff, diff-multi, matrix, timeline, validate, and quality. Field names are snake_case with no serde renames; Option fields serialize as null, except a few additive blocks (e.g. crypto_properties, document.supplier, ml_model-adjacent extensions) that are omitted when absent.

  • view -o json is a projection, not the normalized model. It emits a summary block plus, per component, name, version, ecosystem, licenses, supplier, dependency_kind, vulnerability_count, vulnerabilities[], and optional EOL fields. Domain detail such as crypto_properties, ml_model, or dataset is not included.

  • The full normalized document comes from convert --to normalized (or the ABI / bindings parse calls — the two are byte-identical, pinned by tests/ffi_schema_snapshots.rs). It is the canonical model as JSON: document, components[] as {canonical_id, component} entries in SBOM order, edges, extensions, content_hash, primary_component_id, collision_count, described_root_ids when an SPDX document describes more than one product, and duplicate_components when the document lists a component more than once (each omitted otherwise; see Duplicate components). document.created_unparsed keeps a creation timestamp that did not parse. Lossless, and carries every parsed field including crypto_properties.

    sbom-tools convert --to normalized my.cbom.json | jq '.components[].component.crypto_properties'
  • What is test-pinned. The ABI snapshot tests pin the top-level keys of each payload (tests/fixtures/abi/contract_required_keys.json) and the numeric scales (semantic_score 0–100, similarity and deviation 0–1). Nested shape is covered by behaviour tests but is not frozen by a schema.

  • No separate schema version. The payload shape follows the crate version. Until 1.0 a breaking change may land in a minor release and is always listed under Upgrade notes in CHANGELOG.md; consumers should pin the crate version and read those notes on each bump. The exception is validate -o json, which names its layout ("schema": "sbom-tools/compliance/v2"), has a published JSON Schema, and only adds fields within a schema version; see docs/compliance-output.md.

  • Known conflation. In the CycloneDX parser an absent cryptoProperties.algorithmProperties.primitive and an explicit "unknown" both normalize to primitive: "Unknown". A consumer that must tell "omitted" from "declared unknown" should read the raw CycloneDX document, which is the stable contract for that distinction.

SARIF and code scanning

-o sarif (diff, view, validate, quality) writes a SARIF 2.1.0 log with one run, shaped for GitHub code scanning:

  • Every result points into the SBOM file: at the line of the component's bom-ref, SPDXID, spdxId or @id, or, for a finding about the whole document, at the CycloneDX metadata or the SPDX creation information. A component whose id the text does not state points at line 1. A component result also names the component, by its purl or else its id, as a logical location. A minified SBOM is a single line, so all of its results point at line 1.

  • The SBOM path is relative to the repository the file is in (the nearest ancestor directory holding a .git), under the SRCROOT base, so code scanning finds the file in the checkout. --sarif-base <dir> names another root. A file outside the root is named by its absolute file:// URI, with a warning, and standard input is named -.

  • Every check is its own rule. ruleId is the violation's rule_id from validate -o json. Each rule has a description, help text naming where the fix goes in each SBOM format, and a helpUri to the standard's text where one is known. rules[] lists exactly the rules of the standards checked, the ones sbom-tools rules --standard <std> prints; diff and view list the CRA Phase 2 rules they check against.

  • Alerts survive edits. partialFingerprints are derived from the finding's identity (standard, rule, component; see finding identity), never from its line or message, so moving, reformatting or reordering the SBOM keeps its alerts. properties.findingKey and properties.findingId carry the same identity.

  • One category per kind of run. automationDetails.id is sbom-tools/<standards>/ for validate (the canonical --standard values, sorted and joined by +, as in sbom-tools/cra+ntia/), sbom-tools/quality/<profile>/, sbom-tools/diff/ or sbom-tools/view/. Code scanning keeps one set of alerts per category, and each upload replaces that set. Because the SARIF already names its category, upload-sarif ignores its own category input, and it fails a job that uploads two files with the same category. When one workflow checks several SBOMs against the same standards, give each one its own category:

    sbom-tools validate services/api/sbom.cdx.json --standard cra \
      -o sarif -O api.sarif --sarif-category sbom-tools/cra/api
    sbom-tools validate services/web/sbom.cdx.json --standard cra \
      -o sarif -O web.sarif --sarif-category sbom-tools/cra/web
  • At most 25,000 results per run, the most GitHub accepts (it shows the 5,000 most severe). A run that would hold more keeps the most severe and says in invocations[0].toolExecutionNotifications, and on stderr, how many it omitted; -o json has the full list. --sarif-max-results <n> sets the cap (0 for none).

  • Passed checks are no results, so they raise no alert. validate --sarif-include-passes adds each as a result of kind: "pass" at level none, located and fingerprinted like a violation.

  • diff reports into the new SBOM. Its results point into the new file: a removed component at the new SBOM's document line. The old SBOM's own CRA findings are not results; diff -o json and the text reports keep both sides.

  • TUI exports carry no physical location: the TUI's SARIF export (e, then s) does not keep the SBOM file, so code scanning drops its results. Produce SARIF for code scanning with the CLI.

Upgrading from v0.3: SARIF results now carry locations and fingerprints, and every check has its own SARIF rule. The first upload after upgrading re-keys existing code-scanning alerts. diff -o sarif reports into the new SBOM only: the old SBOM's CRA findings are no longer results, and removed components point at the new SBOM. A run keeps at most 25,000 results unless --sarif-max-results says otherwise. rules[] lists only the rules of the standards checked; it used to list one shared catalogue of 107 CRA, BSI, EUCC and AI rules for every CRA-family, BSI, EUCC, AI and quality run, and for diff and view.

The field-by-field mapping is in docs/compliance-output.md. Uploading to code scanning from a workflow, choosing categories, and troubleshooting are covered in docs/github-code-scanning.md.

CI/CD Integration

Use sbom-tools in CI pipelines to gate deployments on SBOM changes, new vulnerabilities, or quality regressions.

# Fail if any components changed
sbom-tools diff old.json new.json --fail-on-change -o summary

# Fail if new vulnerabilities are introduced, output SARIF for dashboards
sbom-tools diff old.json new.json --fail-on-vuln --enrich-vulns -o sarif -O results.sarif

# Fail if introduced vulnerabilities lack VEX statements
sbom-tools diff old.json new.json --fail-on-vex-gap --vex vex.json --enrich-vulns

# Fail if a supported ML performance metric regresses
sbom-tools diff baseline-ai-bom.json candidate-ai-bom.json \
  --fail-on-ml-regression -o json -O ml-diff.json

# Fail if quality score drops below 80
sbom-tools quality sbom.json --profile security --min-score 80 -o json

# Validate CRA compliance
sbom-tools validate sbom.json --standard cra -o sarif -O compliance.sarif

# Export existing validation findings as OSCAL assessment results
sbom-tools validate sbom.json --standard ntia \
  -o oscal-json -O validation-results.oscal.json

# Find vulnerable Log4j versions across all SBOMs (exits 1 if nothing matches)
sbom-tools query "log4j" --version "<2.17.0" fleet/*.json -o json

# Check license compliance with strict policy
sbom-tools license-check sbom.json --strict --check-propagation
GitHub Actions — using the action (recommended)
name: SBOM Check

on:
  pull_request:
    paths: ['sbom.json']

jobs:
  sbom-diff:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
        with:
          fetch-depth: 2

      - name: Get previous SBOM
        run: git show HEAD~1:sbom.json > /tmp/old-sbom.json

      - name: Diff SBOM
        uses: sbom-tool/sbom-tools-action@v1
        with:
          command: diff
          args: /tmp/old-sbom.json sbom.json
          fail-on-vuln: true
          enrich-vulns: true
          output-format: sarif
          output-file: results.sarif

      - name: Upload SARIF
        if: always()
        uses: github/codeql-action/upload-sarif@v3
        with:
          sarif_file: results.sarif

  sbom-quality:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4

      - name: Check quality
        uses: sbom-tool/sbom-tools-action@v1
        with:
          command: quality
          args: sbom.json
          profile: security
          min-score: '80'

  sbom-compliance:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4

      - name: Validate CRA compliance
        uses: sbom-tool/sbom-tools-action@v1
        with:
          command: validate
          args: sbom.json
          standard: cra
          output-format: sarif
          output-file: compliance.sarif
GitHub Actions — manual binary download
name: SBOM Check

on:
  pull_request:
    paths: ['sbom.json']

jobs:
  sbom-gate:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
        with:
          fetch-depth: 2

      - name: Install sbom-tools
        run: |
          curl -fsSL -o sbom-tools.tar.gz \
            https://github.com/sbom-tool/sbom-tools/releases/latest/download/sbom-tools-linux-x86_64.tar.gz
          tar xzf sbom-tools.tar.gz
          sudo mv sbom-tools /usr/local/bin/

      - name: Diff SBOM against main
        run: |
          git show HEAD~1:sbom.json > /tmp/old-sbom.json
          sbom-tools diff /tmp/old-sbom.json sbom.json \
            --fail-on-vuln --enrich-vulns \
            -o sarif -O results.sarif

      - name: Upload SARIF
        if: always()
        uses: github/codeql-action/upload-sarif@v3
        with:
          sarif_file: results.sarif

Exit codes

Code Meaning
0 Success (no changes detected, or run without --fail-on-change)
1 Changes detected (--fail-on-change) / compliance errors, a --fail-on finding, or a not-applicable standard under --require-applicable (validate) / quality score below --min-score or non-compliant with --fail-on-noncompliant (quality) / no query matches
2 New vulnerabilities introduced (--fail-on-vuln) / compliance warnings (validate --fail-on-warning)
3 Usage error (unknown flag or value, missing argument) or operational error (I/O, parse, config, invalid flag values)
4 VEX coverage gaps found (--fail-on-vex-gap)
5 License policy violations found (license-check)
6 Actively exploited (KEV) vulnerability introduced (--fail-on-kev)
7 Supported ML performance metric regressed (--fail-on-ml-regression)

Gate codes only apply to runs that completed successfully and produced their report. Every usage error (an unknown flag or standard, an invalid flag value, a missing argument) and every operational error — I/O, parse failures, an unsupported -o format for the command, an invalid --as-of/ --cra-product-class value, --pqc-profile or --cnsa-category without --pqc-mode deadline, an unknown --rule or --fail-on rule id, a broken explicit --cra-sidecar, or an invalid config file — exits 3, in every command. --help and --version exit 0. The compliance gates read the severities --rule sets. CI pipelines should therefore only interpret a nonzero exit as a gate verdict when the expected report output was produced.

ML regression directions are explicit. Higher is better for accuracy, f1, f1_score, precision, recall, auc, roc_auc, bleu, and rouge. Lower is better for loss, error, error_rate, perplexity, latency, and latency_ms. Missing, non-numeric, and unrecognized metrics do not trigger the gate. JSON output includes each trigger in ml_regressions with the component, metric, previous value, and new value.

Configuration

sbom-tools looks for configuration in the following order:

  1. CLI argument: --ecosystem-rules <path>
  2. Environment variable: SBOM_TOOLS_ECOSYSTEM_RULES
  3. Project local: .sbom-tools/ecosystem-rules.yaml
  4. User config: ~/.config/sbom-tools/ecosystem-rules.yaml

See examples/ecosystem-rules.yaml for a full configuration example covering per-ecosystem normalization, aliases, matching presets, and enrichment settings.

Matching presets

Preset Description
strict Exact matches only
balanced Default — uses normalization and moderate similarity thresholds
permissive Aggressive fuzzy matching for noisy SBOMs

Project Structure

src/
├── cli/          Command handlers (diff, view, validate, quality, query, fleet, vex, watch, ...)
├── config/       YAML/JSON config with presets, validation, schema generation
├── model/        Canonical SBOM representation (NormalizedSbom, Component, CanonicalId, CDXA attestations)
├── parsers/      Format detection + parsing (stdin via '-', 512 MB input cap, PURL-fallback ref resolution)
├── matching/     Multi-tier fuzzy matching (PURL, alias, ecosystem, adaptive, LSH)
├── diff/         Semantic diffing engine with graph support + incremental section-selective diff
├── enrichment/   OSV/KEV vulnerability data + EOL detection + VEX (feature-gated)
├── quality/      8-category scoring engine + CBOM crypto scoring profile + 16 compliance standards (NTIA/CISA 2026/FDA/CRA Phase 1+2/SSDF/EO 14028/CNSA 2.0/NIST PQC/BSI TR-03183-2/OSS-steward/EUCC/EU AI Act/BSI SBOM-for-AI/PCI DSS 6.3.2/CISA FSCT)
├── pipeline/     parse → enrich → diff → report orchestration + shared enrichment pipeline
├── reports/      11 selectable output formats (json, ndjson, sarif, oscal-json, sbomqs-json, markdown, html, csv, summary, table, side-by-side) + streaming reporter
├── verification/ File hash verification + component hash auditing
├── license/      License policy engine (allow/deny/review) + propagation analysis
├── serialization/ Raw JSON enrichment, tailoring (filter), merging with dedup
├── watch/        Continuous monitoring (file watcher, vulnerability alerts)
└── tui/          Ratatui-based interactive UI (diff, view, multi-diff, timeline, matrix modes)

See docs/ARCHITECTURE.md for detailed module responsibilities and data flow.

Testing

# Run all tests
cargo test

# Run benchmarks
cargo bench

Documentation

  • Architecture overview
  • Pipeline diagrams
  • Standards versions — the exact edition, publication date, and citation behind each of the 16 compliance standards, plus the sbomqs interoperability notes
  • CRA compliance reverse-mapping — every CRA / BSI / prEN check sbom-tools surfaces, mapped to its regulation, harmonised standard, sidecar field, and canonical URL
  • Compliance output — the validate -o json envelope, SARIF and OSCAL fields, and the sbom-tools rules catalogue
  • TUI keyboard shortcuts — every binding in the diff, multi-comparison, and view TUIs, with the guards that make a key mean different things on different tabs. ? in the app shows the same keys, filtered to the current context
  • Changelog — user-visible changes per release, with breaking changes called out first
  • Migrating to 0.4 — every breaking change in v0.4.0, who it affects and what to do
  • GitHub code scanning — uploading SARIF from a workflow, categories, limits and troubleshooting
  • Releases

Contributing

Contributions are welcome! Please open an issue to discuss your idea before submitting a pull request. Make sure cargo test passes and follow the existing code style.

License

MIT

About

Semantic SBOM/CBOM/AI-BOM diff, quality scoring, and compliance validation for CycloneDX/SPDX — component, license, and vulnerability change analysis, cryptographic inventory grading, PQC readiness (CNSA 2.0, NIST IR 8547), and regulatory gates for NTIA, FDA, EU CRA, BSI TR-03183, EUCC, SSDF, EO 14028, and the EU AI Act.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

253 stars

Watchers

6 watching

Forks

Releases

Packages

Used by

Contributors

Languages