LumenForgee

SBOMs, signing and provenance: a practical software supply chain

Most of the code in a modern service was written by someone else. A software supply chain programme answers three questions about every artefact you ship: what is inside it, who built it and how, and has it been changed since. Each question has a standard answer — and none of them is useful unless it is automated.

Contents
  1. Three questions about every artefact
  2. SBOMs: useful, but only with a workflow
  3. Provenance and SLSA levels
  4. Signing and verification
  5. The regulatory context: the Cyber Resilience Act
  6. Managing dependencies upstream
  7. Worked example: from build to admission
  8. Common pitfalls
  9. FAQ
  10. Checklist
  11. Primary sources

Key facts

  • An SBOM (software bill of materials) lists the components of an artefact; CycloneDX and SPDX are the two widely used formats.
  • SLSA is a framework of levels for build integrity; its build track focuses on provenance that describes how an artefact was produced.
  • Sigstore provides tooling such as cosign for signing and verifying artefacts, including keyless signing tied to an identity.
  • The EU Cyber Resilience Act, Regulation (EU) 2024/2847, applies its Article 14 reporting obligations from 11 September 2026, with most other obligations applying from 11 December 2027.

Three questions about every artefact

When a new vulnerability is published in a popular library, the first question is: where do we use it? Teams without an inventory answer it by searching repositories by hand, and they miss transitive dependencies and container base images. An SBOM generated at build time answers it in minutes.

The second question is: did this artefact come from our pipeline? A container image in a registry could have been built by CI, pushed by a developer from a laptop, or replaced by an attacker with registry credentials. Build provenance — a signed statement of which source, which builder and which steps produced the artefact — answers it.

The third question is: has it changed since? A signature over the artefact digest, verified before deployment, answers that. Together, inventory, provenance and integrity let you decide what is allowed to run, and investigate quickly when something goes wrong.

SBOMs: useful, but only with a workflow

Generating an SBOM is easy; tools such as Syft produce CycloneDX or SPDX documents from images and source trees in seconds. The value comes from what happens next.

  • Generate at build time, from the final artefact, not from a developer's working copy.
  • Store the SBOM with the artefact, for example as an attestation in the registry, so it is versioned together with the image.
  • Index SBOMs centrally so you can query which deployed artefacts contain a given package and version.
  • Triage, do not just scan: many reported vulnerabilities are not reachable in your usage. VEX documents can record that a vulnerability does not affect a product, with the reason.

An SBOM that nobody can query is paperwork. An SBOM that feeds a vulnerability workflow, with owners and deadlines, is a security control.

Provenance and SLSA levels

SLSA (Supply-chain Levels for Software Artifacts) describes increasing guarantees about how an artefact was built. In the build track, the lower level requires that provenance exists; higher levels require that the provenance is generated and signed by a hosted build platform rather than by the build script itself, and that builds are isolated so one build cannot tamper with another.

SLSA build track levels (summary; see the specification for exact requirements)
Level (build track)What it addsPractical meaning
L1Provenance existsYou can see how an artefact was built
L2Hosted build platform signs provenanceProvenance cannot be forged by a developer
L3Hardened, isolated buildsOne build cannot influence another or forge provenance

Many CI platforms can now generate provenance attestations natively. The important engineering work is on the consuming side: verifying provenance before deployment, with policies such as only images built from the main branch of approved repositories by the organisation's CI may run in production.

Signing and verification

Signing proves integrity and origin; verification is what makes it a control. With Sigstore's cosign, CI signs the image digest after the build, either with a managed key or keylessly with a short-lived certificate bound to the CI workload identity. The signature and attestations are stored next to the image in the registry.

Verification happens at admission. A Kubernetes admission controller — for example Sigstore's policy controller or Kyverno — checks every image against policy: signed by the expected identity, provenance from the expected builder, no critical unresolved vulnerabilities in the SBOM. Images that fail are rejected before they start.

Roll out verification in audit mode first. Measure how many images would be rejected and why; typical findings are third-party images that nobody signs and old deployments built before signing existed. Fix those, then enforce.

The regulatory context: the Cyber Resilience Act

The Cyber Resilience Act sets cybersecurity requirements for products with digital elements placed on the EU market. Its reporting obligations under Article 14 — notifying actively exploited vulnerabilities and severe incidents — have applied since 11 September 2026; most other obligations, including requirements on vulnerability handling and documentation, apply from 11 December 2027.

Whether and how the Act applies to a specific product is a legal question. From an engineering point of view, the capabilities it presupposes are exactly the ones described here: knowing what is in your products, being able to find affected versions quickly, fixing and shipping updates through a trustworthy pipeline, and keeping records. Teams that already generate SBOMs, sign artefacts and track vulnerabilities to closure are well placed, whatever the legal analysis concludes.

Managing dependencies upstream

Supply chain controls work best when fewer risky components enter the build in the first place. Pin dependencies to exact versions with lock files, use an internal proxy or mirror for package registries so builds do not fetch arbitrary new versions, and review new direct dependencies the way you review code: who maintains it, how actively, and what it pulls in transitively. Automated update tools keep pinned versions current in small, reviewable steps instead of rare, risky jumps.

Worked example: from build to admission

A team builds container images in a hosted CI system and deploys them to Kubernetes.

  1. CI builds the image and pushes it by digest. Syft generates a CycloneDX SBOM from the image.
  2. The CI platform produces a provenance attestation for the build.
  3. cosign signs the image keylessly using the CI workload identity and attaches the SBOM and provenance as attestations.
  4. A vulnerability scanner reads the SBOM; findings above the agreed threshold open tickets for the owning team.
  5. The cluster's admission policy requires a signature from the organisation's CI identity and provenance from the main branch. It runs in audit mode for four weeks, then in enforce mode.
  6. When a new library vulnerability is announced, a query over stored SBOMs lists every running image that contains the affected version.

The same records answer an auditor's or a customer's questions about what was shipped and how it was built, without assembling evidence by hand.

Common pitfalls

  • Generating SBOMs from source manifests only, missing OS packages in base images.
  • Signing images but never verifying signatures at deployment.
  • Letting build scripts generate their own provenance, which they could forge.
  • Treating every scanner finding as urgent, so real issues drown in noise.
  • Enforcing admission policies without an audit period.
  • Assuming regulation answers engineering questions, or the reverse.

FAQ

CycloneDX or SPDX?

Both are established standards and most tools support both. Choose the one your scanners and customers consume, and be consistent.

Do we need keyless signing?

No. Key-based signing works if keys are managed in a KMS or HSM. Keyless signing avoids long-lived keys by binding signatures to short-lived workload identities.

Does an SBOM expose our internals to customers?

It lists components, not source code. Many organisations share SBOMs under agreement; decide per customer and product.

Checklist

  • SBOM generated from every final artefact and stored as an attestation.
  • Central index to query components across deployed artefacts.
  • Provenance produced by the build platform, not the build script.
  • Artefacts signed by digest; signatures verified at admission.
  • Vulnerability triage with owners, deadlines and VEX for non-affected findings.
  • Legal assessment of regulatory scope documented separately.

Primary sources

  1. Regulation (EU) 2024/2847 — Cyber Resilience Act (EUR-Lex)
  2. SLSA specification
  3. Sigstore documentation
  4. CycloneDX specification
  5. SPDX specifications
  6. CISA — Software Bill of Materials (SBOM)

Related research