Skip to content

Notes

Using SBOM diffing with Syft and Grype to catch dependency drift

February 10, 2025 2 min read
SBOMSyftGrype

Generating an SBOM is useful, but the real operational value shows up when you compare one build to the next. In my workflow, I keep the previous Syft output alongside the current one and diff them during CI. That instantly narrows the review surface. Instead of re-reading the entire dependency inventory, I can focus on the packages that were added, removed, or upgraded in the current build.

That smaller change set makes Grype results more actionable. A vulnerability report against the full image often mixes old known issues with newly introduced risk. When I line the Grype findings up with the SBOM diff, I can tell whether a failing build is caused by fresh dependency drift or by an older issue the team already accepted and scheduled. It changes the conversation from noise triage to precise engineering decisions.

This approach works especially well for teams that are still building their software supply chain maturity. You do not need a massive platform investment to start. You need repeatable artifact metadata, a diff step that developers trust, and a policy for what should block promotion. Once those pieces are in place, SBOMs stop being compliance paperwork and start behaving like real operational telemetry.