Skip to content
Software development
ASD ISMISM-2056

ASD ISM 2056 Provide provenance for software builds

What it says

A software build provenance is produced and made available to consumers of software.

Quoted as published. Everything else on this page is written by Control Stack.

In plain English

For software you develop, produce build provenance (a record of how and from what each build was made) and make it available to the people and organisations that use the software.

For software you develop, a software build provenance must be produced and made available to the software's consumers, meaning the people and organisations that receive or use it. Build provenance is a record of one build: its source and other inputs, the commands run, the build environment and the outputs, so a consumer can check a specific artefact against it, or even recreate the build. A general description of how you usually build does not count. Checking provenance that comes with imported components is ISM-2055.

Why it matters

Without provenance, consumers cannot confirm a release came from the stated source through the stated build, so a tampered build looks like a genuine one. Provenance gives them a record of each build to check the release against.

How to implement

  1. Generate provenance automatically in the build pipeline.

    Configure the build service to produce a record for each build naming the source repository and commit, build commands, environment and tool versions, inputs, and each output with its hash. Records the build service generates show what actually happened; ones written by hand afterwards do not.

  2. Protect each record from tampering.

    Sign it with a key the build service holds, not one developers can use, so consumers can confirm who issued it and that it has not changed.

  3. Publish it beside each release.

    Attach it to the release download, the package or container registry entry, or the customer portal, and tell consumers where to find it and how to verify it. For a hosted service that consumers do not download, provide it through the customer portal.

  4. Test verification from a consumer's side.

    Download a release as a consumer would and, outside your build environment, check its hash against the provenance and verify the signature. Fix anything that only works inside your network.

Keep it running

Generate provenance in every release build, so a release without it stands out. Recheck provenance generation when the build service, build steps or signing key change, and when a consumer reports a failed verification.

Evidence and audit

  1. Check 1 of 3What an auditor asks for

    Ask for

    Release records for a recent period, and the provenance published for each release in it.

    Look at

    Whether every release has its own provenance.

    Good evidence

    Every release in the period has its own provenance record, with none missing and none reused from another build.

  2. Check 2 of 3What an auditor asks for

    Ask for

    A released artefact downloaded as a consumer would, with its published provenance.

    Look at

    Whether the artefact's hash matches an output in the provenance, whether the source commit it names exists in the authoritative source for software, and whether it records the build commands and environment.

    Good evidence

    The hash matches an output in the provenance, the named commit exists in the authoritative source for software, and the record gives that build's commands and environment.

  3. Check 3 of 3What an auditor asks for

    Ask for

    The build pipeline configuration and the provenance for a recent build.

    Look at

    Whether the build service generates provenance during each build, or someone writes it afterwards.

    Good evidence

    The build service generates provenance during each build, recording that build's own inputs, commands, environment and outputs rather than a general process description.

Mappings

Closest match in ISO/IEC 27001: A.8.25, Secure development life cycle, which this control partially meets.

ISO 27001

ISO/IEC 27001: 1 mapping

  • A.8.25Secure development life cyclePartially meets

Mappings show how controls relate across frameworks. They do not imply full equivalence or certification.