A software artifact can have authentic signed provenance and still be the wrong artifact for your project. It might have been built from a fork you never approved, with an unexpected configuration, on a builder you do not trust for that purpose.
SLSA provenance verification turns that record into an acceptance decision. The consumer checks whether the evidence describes the downloaded bytes, comes from an authorized signer and builder, and matches the expected source and build inputs. The consumer also decides how much assurance to assign to that builder.
SLSA v1.2’s artifact-verification guidance already describes these checks. The practical work is supplying trustworthy expectations and enforcing them.
Connect the signed record to the downloaded bytes
Provenance describes how an artifact was produced. An attestation packages a statement about that artifact; its signed envelope lets a verifier authenticate the statement.
For SLSA’s recommended provenance format, the verification sequence includes:
- Verify the envelope signature against configured roots of trust.
- Match the statement’s subject digest to the cryptographic digest of the artifact being considered.
- Check the provenance predicate type:
https://slsa.dev/provenance/v1. - Determine the trusted Build level from the recognized signing identity and
builder.id.
These are the verification guide’s checks. Its overall recommendation is that verification SHOULD include the relevant authenticity, builder and expectation checks; the numbered steps are not each individually expressed as a normative MUST. Alternate attestation formats should receive equivalent checks.
The digest connects the statement to the actual downloaded bytes. A valid signature on provenance for another artifact gives you no basis to accept this download. A matching digest establishes which bytes the statement describes. You still need to decide whether its signer is authorized and its build is acceptable.
Authorize the signer and builder together
A root of trust is the verifier’s configured starting point for deciding which identities and claims it will rely on. In SLSA’s verification model, that configuration recognizes builders and assigns the maximum Build level trusted for each.
The signing identity and builder.id work together. The provenance specification requires consumers to accept only specific signer-builder pairs. Authenticating a signer does not authorize it to speak for every builder identifier.
The builder identifier represents the trusted platform, including its relevant hardware, software and people. Its documentation should explain the platform’s scope, claimed level and field guarantees, including tenant-supplied fields. An identifier that looks like it describes an L3 builder does not establish L3 assurance.
Two policy decisions follow:
- Maximum trusted level: What level does this verifier trust this signer-builder pair to provide?
- Required level: What minimum level does the consumer require for this package or use?
A builder might claim L3 while your verifier trusts it only up to L2. If your package policy requires L3, that evidence falls short.
The consumer or organization configuring the verifier supplies these trust decisions. SLSA’s platform-assessment guidance recommends assessing isolation, resistance to provenance forgery, administration and secret controls. Self-assessments or third-party audits can inform that decision. A signed record cannot perform the assessment for you.
Get package expectations from a trusted source
After establishing the applicable Build level, compare the provenance with what you expected to receive.
SLSA recommends checking at least the expected builder identity, canonical source repository, buildType and externalParameters. These expectations belong to the package being consumed. Provenance describes one particular artifact.
Who supplies the expected values? The verification guidance allows consumers to define their own expectations or adopt producer or ecosystem defaults. It discusses trust on first use, authenticated producer definitions protected against unilateral adversary changes, and definitions in source where the package name is immutably bound to a repository.
Each approach involves a trust decision. Copying the repository and builder values from candidate provenance into an allowlist would let that record define its own acceptance conditions.
The build type defines how to interpret the inputs. In the provenance schema, buildType identifies the build template and the interpretation of parameters and dependencies. Its URI should resolve to documentation explaining that interface. There is no universal canonicalSource field: the selected build type determines how repository, revision and configuration information are represented.
Parameter policy needs to be specific. The verification guidance says unrecognized external parameters SHOULD cause failure. A package ecosystem may permit an approved list to be ignored, and policy can accept documented safe ranges, including any value where that is known to be safe.
That rule concerns external build inputs. The provenance schema generally requires consumers to ignore unrecognized fields unless otherwise specified. Rejecting every unfamiliar field anywhere in the statement would apply the parameter rule too broadly.
A hypothetical fork build passes authenticity and fails policy
Suppose a consumer accepts a fictional package called example-ai-client. Its policy:
- Authorizes one particular signer-builder pair.
- Trusts that pair up to Build L3 and requires L3.
- Permits a hypothetical build type,
https://build.example/types/repository-build/v1. - Allows the repository
https://code.example/official/example-ai-clientand an approved release reference.
For this hypothetical build type, repository and ref are defined external parameters. Those names belong to this example’s interface; they are not universal SLSA source fields.
The downloaded artifact’s digest matches the statement. The authorized signature verifies. The builder and build type match policy. But the provenance reports the repository as https://code.example/fork/example-ai-client.
Reject the artifact under this policy. The authentic record says these bytes came from an unapproved source. A trusted platform can faithfully build a fork; protecting that build does not make the fork the consumer’s intended package.
This is a hypothetical acceptance decision, not a performed test or reported incident.
Build L3 still depends on trust in the platform and producer
The Build Track overview describes increasing assurance:
| Level | What it adds |
|---|---|
| Build L1 | Provenance exists, but authenticity and accuracy are not assured. It can help explain a build while remaining easy to forge or bypass. |
| Build L2 | Hosted builds and authenticated provenance provide protection against post-build tampering when verified. |
| Build L3 | Hardened builds add stronger isolation and protection against tenant forgery of provenance. |
The technical requirements make L3’s protections concrete. Signing secrets must be inaccessible to user-defined build steps. The trusted control plane must generate or verify provenance fields, subject to specified exceptions. External parameters must be fully enumerated. Isolation must prevent specified interference between builds, persistence, cache poisoning and unauthorized access to platform secrets.
The platform itself remains a trust boundary. The verification guidance explicitly excludes compromise of the trusted platform itself, including by a malicious insider. Administrative controls and platform assessment therefore remain consequential.
L3 also leaves code safety open. The requirements limit its assurance to ensuring that a well-intentioned build runs securely. A producer can choose an insecure build or intentionally harmful source; SLSA’s threat model identifies malicious producer behavior as something its controls cannot directly mitigate.
Source history and dependencies need separate evidence
SLSA v1.2 has a separate Source Track. It concerns how a source revision was created and the evidence for repository processes and controls. The repository owner defines the intended process; consumers judge whether the evidence meets their standards. A Build level does not imply a Source level.
Dependency coverage has another limit. The current provenance specification says completeness of resolved dependencies remains best effort through Build L3. Fully enumerating external parameters does not produce a complete inventory of every transitive dependency.
The verification guide makes recursive checking of resolved dependencies optional, as available and desired. A successful check of the top-level artifact therefore does not establish that every dependency was listed, independently verified or safe.
Before accepting an artifact, the person responsible for consumer policy should be able to answer:
- Which signer-builder pairs are authorized, what level do we trust them to provide, and what level do we require?
- Where do our approved repository, build type, release reference and parameter rules come from, and who reviews changes?
- Did verification bind the provenance to these exact downloaded bytes and compare the build inputs with those rules?
- Which source-process and dependency checks actually happened, and what evidence do we still need for this use?
