● THREAT ADVISORY
CyberInsightsGlobal cybersecurity news, practical analysis & security knowledge
Submit a Tip

CYBERBLOG

Software build provenance: Verify what actually shipped

Conceptual evidence chain connecting reviewed source, build records and the software artifact

Verify build provenance by connecting reviewed source, a trusted attestation, an approved artifact digest and the software running in production.

A release approval tells you what a team intended to ship. A running service tells you what is serving traffic. Build provenance helps connect the two by recording how an artifact was produced. Verification checks whether that record describes the artifact in front of you and whether the builder, source and inputs meet your release policy. Start with one deployment. Trace the source revision through the build and promotion records, then compare them with the artifact identity reported by the target environment.

Verify the chain from review to deployment

Before approving a release, collect four records: the source revision that received review, an attestation for the artifact, the artifact identifier approved for promotion, and the identifier recorded in the target environment. Give each record an owner. A reviewer should be able to reproduce the decision without gaining permission to change source or redeploy the application.

  1. Record what was approved. Use the immutable source revision in the review record. Capture the expected builder, build workflow, artifact and deployment environment. Document exceptions explicitly.
  2. Verify what was built. Check that the attestation signature validates against the approved trust policy, that the builder and build parameters match expectations, and that the attestation subject digest matches the artifact. The digest connects the evidence to particular bytes. The signature identifies the source of the statement under the verifier's trust policy.
  3. Confirm what shipped. Compare the digest approved for promotion with the artifact identity recorded by the target environment. If the platform reports a different identifier, document how it maps to the approved artifact rather than comparing unlike values. For a multi-platform image, distinguish the index digest from the platform manifest selected by the runtime.
  4. Decide what to do when the chain breaks. In a new rollout, pause promotion when required verification fails. In an existing deployment, preserve the evidence and have the incident owner assess exposure and rollback risk. A missing attestation is an evidence gap. A confirmed mismatch calls for investigation, even when the application appears healthy.

Hypothetical example: the deployment ticket lists a reviewed revision and an approved image digest, but the deployment record lists only a mutable tag. The ticket proves what was intended. The running artifact remains unverified until the platform record can be tied to the approved digest. Record the gap and assign a follow-up owner. Do not fill the missing field from the registry's current tag mapping, which may have changed.

Scope: This workflow is documentation-based. No production deployment or sample artifact was tested. Provenance supports verification of the build chain. It does not certify the code or the dependencies as safe.

Primary references: https://slsa.dev/spec/v1.2/verifying-artifacts and https://csrc.nist.gov/pubs/sp/800/218/final.

What to record in the release ticket

Record Minimum useful evidence When to pause
Source review Repository, exact revision, approval and reviewer The revision differs from the one approved
Build attestation Trusted builder, signature result and artifact digest The attestation cannot be verified or describes another artifact
Promotion Approved digest and destination The ticket records only a mutable tag
Deployment Environment, running artifact identity and observation time The running identity cannot be tied to the approved artifact

When a deployment spans several replicas, record the rollout state and check each relevant workload group. A partial rollout can legitimately contain both the old and new release. Compare what each group reports with the rollout plan and check again at completion. If a rollback is needed, verify the rollback artifact against the same policy before deployment.

Start with the software supply-chain guide for inherited dependencies. Continue with production patch verification to check whether the intended change is running.

Sources and further reading

Security Analysis · GRC playbook