← Back to section · Software & Developer Tools
Software Supply-Chain Security: How SBOMs and Signing Answer 'Where Did This Come From?'
Most of a modern application's code comes from third parties, and the core of supply-chain security is traceability: an SBOM records what a piece of software is made of, while signatures and provenance attestations answer who built each artefact, and when. This article explains how the two lines of defence fit together, and what neither of them can solve.
In a modern application, the code a team writes itself is often just the tip of the iceberg; the rest is layer upon layer of open-source libraries, build tools, and base images. Attackers understand this well: rather than breaching a target system head-on, it is cheaper to poison a widely depended-upon upstream component. Several far-reaching incidents in recent years — a backdoored utility library, hijacked maintainer accounts, “official” malicious releases published after a build server was compromised — all point at the same problem: users simply cannot say what the things they run are made of, where they came from, or whose hands they passed through. The technical response of supply-chain security has two lines: inventory the ingredients with an SBOM, and guarantee authenticity with signatures and provenance.
The SBOM: An Ingredient List for Software
An SBOM (software bill of materials) is a machine-readable inventory of every component a software product contains: names, versions, suppliers, licences, hashes, and the dependency relationships among them. The two mainstream formats are the SPDX and CycloneDX standards, both of which can be generated automatically by the build process. Its value is most obvious in an emergency: when a severe vulnerability breaks in a foundational library, organisations without an SBOM spend weeks checking system after system to answer “do we even use it, and which version?”; organisations with an SBOM need a single query. SBOM quality depends on how it is generated: inventories produced from the build process and dependency lockfiles are the most accurate, while inventories inferred by scanning finished binaries tend to miss statically linked and renamed embedded components. Depth matters too — recording only direct dependencies is nowhere near enough, since transitive dependencies are where vulnerabilities hide; a complete SBOM expands all the way to the leaf nodes. And an SBOM is a point-in-time snapshot: it should be regenerated and archived with every release, or the list and the reality quickly drift apart.
Signatures and Provenance: The Authenticity of Artefacts
Once the ingredients are clear, the second question is: is this artefact really from the source it claims? Code signing signs the artefact’s hash with the publisher’s private key, and consumers verify the signature before installation to confirm the artefact was not tampered with and came from that publisher. The pain point of traditional signing is key management: a lost or stolen private key collapses the trust. A newer approach, represented by Sigstore, signs with short-lived certificates bound to an identity (such as the maintainer’s account identity), and writes the signing record into a public transparency log that anyone can later audit for “who signed what, when”, reducing the burden of guarding long-term private keys. One step further is build provenance: a statement generated and signed automatically by the build system, recording which source, which pipeline, and which parameters produced the artefact; the SLSA framework grades levels by the completeness of this provenance. It answers not only “who published this” but also “was it built from this source, by this process” — designed specifically to defend against compromise of the build stage itself.
Checking on the Consumption Side: The List Must Be Used
Generating an SBOM is only the first step; the list’s value is realised on the consumption side. A mature consumption process has three actions. The first is admission checking: when a new dependency is introduced, verify that it appears in the inventory with the expected version and origin, and quarantine artefacts of unclear provenance for assessment. The second is continuous comparison: vulnerability databases update daily, and an inventory that was clean yesterday may match a newly disclosed vulnerability today, so SBOMs should be automatically compared against vulnerability intelligence on a cycle, with matches raising tickets immediately rather than waiting to be noticed at the next release. The third is using exploitability statements such as VEX to resolve noise: when upstream or in-house assessment concludes that a vulnerability is not exploitable in this product, record the conclusion and its basis as a machine-readable statement that auditors and downstream customers can rely on directly, avoiding repeated assessment. Together, the three actions turn an SBOM from a static document into a living risk ledger; an inventory that is generated but never used differs from no inventory only by the storage it occupies.
For smaller teams, the order of adoption matters: there is no need to chase the highest SLSA levels in one step. A workable path is to wire automatic SBOM generation into the existing build first (most mainstream toolchains already have ready-made plugins, and the cost is mostly the first integration), then add signing and verification for release artefacts (hosted signing services avoid the burden of running one’s own key infrastructure), and only then connect provenance and admission policy to deployment. Each step produces value on its own: with only the SBOM, emergency investigation is already faster; with signing added, tampering in distribution is closed off; with provenance in place, compromise of the build stage has nowhere to hide. Advancing in this order keeps the team from being intimidated by the compliance checklist, and shows measurable progress at every step instead of delivering value only when the whole edifice is complete.
The Limits of the Evidence Chain
Be clear-eyed: neither SBOMs nor signatures directly make software safer. An SBOM records ingredients without judging them — a component honestly listed can perfectly well carry a known vulnerability. A signature proves origin and integrity only; the signed thing can itself be malicious, and when a maintainer account is hijacked, the attacker’s malicious release verifies just fine. Their real value is converting trust from “believed by default” into “checkable evidence”: admission policies can then be enforced automatically — for example, requiring signature verification at deployment, rejecting artefacts without provenance, and, when a component is hit by a new vulnerability, reverse-querying SBOMs to find and alert on affected products. For consumers, three practices matter: generate and archive an SBOM at build time, sign releases and keep their provenance, and verify signatures while continuously comparing the SBOM against vulnerability databases when consuming dependencies (which is exactly the job of dependency auditing). There is no one-shot tool for supply-chain security; it is an evidence chain running from source, through build and distribution, to runtime — and every link’s proof is one more artefact an attacker must forge.
Tags: Supply ChainSBOMCode Signing