procedure Security & reliability
Reproducible builds and artifact provenance
Compare the exact build inputs and output bytes to assess reproduction. To assess origin, verify the provenance statement for that artifact. A matching digest alone does not identify the builder.
What it means
A build is reproducible if someone using the same source, build instructions, and specified environment can produce byte-for-byte identical copies of the specified outputs. Provenance answers a different question: who or what does the build record say produced this artifact, and how? A matching artifact digest is evidence about the file, not the identity of its builder. To rely on a signed provenance statement, verify that statement for the artifact in question.
Try it
Simulation: compare two build records for a site's release archive. Each choice describes how the two records relate; the simulation does not build the archives or calculate their digests.
Reproducible builds and artifact provenance
Separate source identity, dependency lock, build environment and signed provenance
Reproducibility comparison and provenance verification are independent evidence.
Named build inputs
- Sourcesame
- Dependency locksame
- Environmentsame
- All named inputs matchYes
Output comparison
- Artifact digest relationsame
Origin evidence
- Provenance verificationverified
- Program safetyNot established
The artifact digest and provenance results are supplied observations, not derived from matching inputs. No build, signature verification or security analysis is performed.
Evaluated inputs
- Required scenario evidence
- provided
- Source digest relation
- same
- Dependency lock relation
- same
- Build environment relation
- same
- Artifact digest relation
- same
- Provenance verification
- verified
Digest relations stipulated, no build, signing, trust-root verification or security guarantee.
About this model
The controls set only a local, bounded scenario. The computed branch is not a verdict about a live system. Inputs listed as not evaluated did not participate in this branch after validation.
Reset restores the original inputs. It does not change the open or closed state of help or FAQ answers.
Start with the default example. The source digest, dependency lock, and build environment are all same, so the three named inputs match. The archive digests are also same, and provenance is verified. These last two facts are supplied separately. Neither is calculated from the three matching inputs.
Change only Artifact digest relation to different. The named inputs still match and provenance is still verified, but the two archives differ. This pair did not reproduce the specified output. The records tell you where the comparison failed, not why the builds produced different bytes.
Now set Artifact digest relation to unknown. There is no output comparison to interpret. That is not a mismatch: the input comparison and provenance result are still available. By contrast, setting Required scenario evidence to missing stops the whole comparison. Use Reset to return to the matching example, with provenance verified and scenario evidence provided.
What the comparison can tell you
Think of the archive as the output of a particular build, not just of a particular source revision. A source digest identifies the source being compared. A dependency lock records which dependency versions are pinned. The environment describes the conditions under which the build instructions run, including the toolchain. Matching the source alone leaves the other inputs open.
The simulation first asks a narrow question: do all three named inputs match? One difference is enough to answer no. For example, if the source digests differ, it need not evaluate the lock or environment to reach that answer. The next question is about the output itself. Reading an artifact digest comparison rather than predicting it from the inputs is what lets you distinguish a reproduced archive from an expected match that never materialized.
The reverse inference is just as important. Suppose the environments differ, the archive digests match, and provenance is unverified. You have evidence of matching output for this pair, but not a comparison under identical specified conditions. You also have no verified claim about who built the archive. The matching digest changes neither finding.
If the source relation differs, the combined named-input check can stop at that mismatch. Later lock and environment selections do not repair the failed conjunction, and the visual labels them not evaluated where the model did not read them. The digest comparison and attestation remain independent supplied observations.
In practice
Start with a read-only comparison of records you are authorized to inspect. Do not execute an untrusted archive on the strength of a matching hash. If a necessary fact, such as the build tool version, is unknown, stop short of the conclusion that depends on it; do not change a service or deploy an artifact to find out.
- Identify the exact output you want to reproduce. For a release archive, compare that archive from each build, not just two releases with the same name. Record the source digest, build instructions, dependency pins, and relevant environment for each.
- Compare the output digests separately. If the named inputs match but the digests differ, keep both records. Check what the input comparison covered, including tool versions and build flags, rather than assigning a cause from the mismatch alone. If a digest is missing, the useful next observation is the missing output comparison.
- For a claim about origin, examine the provenance statement for that specific artifact and whether it was verified against the expected builder identity. Record an unverified statement as unverified, even when the archive matches a reproduced copy.
State the narrowest conclusion the evidence supports: which output matched under which conditions, and which claim about its origin was verified. Neither finding, alone or together, is a test of whether the program is harmless.
Frequently asked questions
Editorial questions based on the listed sources and explicitly labeled local examples.
Does matching output prove benign source?
No. Byte-for-byte reproduction answers whether specified inputs produce the same artifacts; it does not establish that those inputs or the resulting program are benign.
Does a signature make a build reproducible?
No. A signature can authenticate an artifact or statement under a verified key; reproducing the artifact requires the stated build inputs and environment.
Can environment differences matter?
Yes. Dependency versions, toolchain behavior and environment inputs can change artifact bytes even when source text is unchanged. Record the reproduction scope explicitly.
What does provenance record?
An applicable provenance schema describes an artifact’s build origin, such as the builder, inputs and execution details. Verification checks the expected attestation under the applicable trust policy. It is separate from reproducing bytes and does not prove the program safe.
Sources & model boundaries
Primary references used for this explanation. The interactive example is an educational model, not a live check.
- Reproducible builds definition
definition. Reproducibility compares specified artifact bytes for same source, instructions and environment; relevant inputs include dependency versions and flags.
Checked .
- SLSA provenance
provenance. Provenance describes artifact origin and production process; verification is a separate issue from byte-for-byte reproduction.
Checked .