/ THE IDEA
A software supply chain includes source repositories, build services, package registries and the systems that install the result. Compromise at any stage can replace or alter what reaches the user. Reviewing only the application’s own source leaves those other stages outside the picture. Build provenance can record the builder identity, source revision, build instructions and resolved inputs. A verifier checks that evidence against policy and checks that it describes the exact artifact being installed. A credible record about another file does not establish this file’s origin. The evidence itself needs a trusted origin and protection against alteration. Verification then asks not only whether a record is authentic, but whether the recorded builder, source and parameters match the intended release policy. Evidence and acceptance criteria are separate ingredients.
THE FORMAL IDEA
accept artifact = verified evidence AND expected source AND approved builder
| AND means each requirement must hold in this simplified release policy. | | A source revision is a particular version of source code. Builder means the system and trust boundary responsible for producing the artifact and recording what it did. |
|
RUN THE TINY EXAMPLE
Change one thing. Predict what happens.
Policy expects package Q from source revision R, built by service B. Received artifact’s verified record matches R and B → provenance check passes. Change only recorded builder to an unapproved service C → reject under this policy. Keep B but provide evidence naming a different artifact → reject that mismatch too.
|
The file might still look and behave normally in a quick test. The changed outcome comes from failing the intended origin rule, which is designed to constrain how code enters the application rather than guessing maliciousness from appearances.
/ SO WHAT?
Pinning dependency versions and recording the full resolved dependency set makes the inputs more explicit. A direct dependency can itself pull in others, so the effective chain extends beyond the first package list. Updating an approved source revision is a deliberate policy change that should be reviewed, not silently inferred from a familiar name.
ONE CAVEAT |
| Provenance does not prove source code is bug-free or benevolent. An approved builder can faithfully package vulnerable code, and compromised trusted infrastructure can undermine its evidence; source review, isolation and vulnerability handling remain separate work. |
KEEP THIS
Verify both how an artifact was produced and whether that production path matches your policy before allowing it into the system.
|
NEXT: Why a stronger magnet needs a different radio note
|