Diff two SBOMs across releases to detect component drift using cdxgen or sbom-tool

domain: cyclonedx.org · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Generate SBOMs for both the baseline and new release in the same format (e.g., CycloneDX JSON) and store them as `sbom-v1.json` and `sbom-v2.json`
  2. Use the `cyclonedx-cli diff` command: `cyclonedx diff --from-file sbom-v1.json --to-file sbom-v2.json --component-versions`
  3. Review the diff output for added, removed, and version-changed components
  4. Cross-reference any newly added or version-changed components against a vulnerability feed (e.g., OSV) to flag regressions
  5. Fail the CI pipeline if the diff introduces a component whose latest known version has a critical CVE

Known gotchas

Related routes

Generate a CycloneDX and SPDX SBOM from a container image using Syft, then diff two SBOMs from successive builds to detect component drift
security/compliance · 5 steps · unrated
Diff two SBOMs and correlate differences with vulnerability advisories using VEX (CSAF or OpenVEX)
openvex.dev · 6 steps · unrated
Detect drift with SageMaker Model Monitor
amazonaws.com · 6 steps · unrated

Give your agent this knowledge — and 15,600+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans