SLSA
SLSA (Supply-chain Levels for Software Artifacts) is an OpenSSF specification that sorts supply chain security into tracks of increasing levels, and defines in-toto attestation formats for build provenance and verification summaries. This skill pins SLSA v1.2 and produces provenance, platform designs, verifiers and level claims that meet its requirements.
Follow the workflow below step by step. Every rule here comes from a source in Sources, with the section it cites. SLSA pages have no section numbers, so citations name the page and heading. When a rule and the pinned source disagree, the source wins. When the source has a newer revision than the pin, follow the refresh steps.
Inputs (fill in, or ask before starting)
- Role:
- software producer;
- build platform implementer;
- source control system (SCS) or organization on the Source track;
- package ecosystem or registry;
- consumer or verifier;
- VSA issuer.
- Target level: the Build level (L0–L3) and, if relevant, the Source level (L1–L4) to reach or require.
- Artifacts: what is built, where it is published, and the package ecosystem's provenance conventions.
- Target version:
- SLSA v1.2 (current, the default), with SLSA Provenance v1 and SLSA VSA v1, both current.
- SLSA v1.1, SLSA v1.0 and SLSA v0.1 are legacy, as are SLSA Provenance v0.2, SLSA Provenance v0.1, SLSA VSA v0.2 and SLSA VSA v0.1: read and upgrade them, never author them.
- The SLSA working draft is a preview (posture: track): claim nothing from it.
- See
references/versions.md.
- Revision: the pinned revision in Sources, unless the user names another.
- Sources: when refreshing this skill or when a rule looks out of date, re-read https://slsa.dev/spec/ and the version index for a new current version, then each What's new page and every URL in Sources, and update the pins.
Invariants
- Levels are per track and versioned. Claim
SLSA Build L<n>orSLSA Source L<n>, adding(v1.2)for precision. Levels are not transitive to dependencies (Specification Stages, Versioning; FAQ). - The producer picks a capable platform and stays consistent. It MUST choose a platform capable of the target Build level, build consistently so verifiers can form expectations, and distribute provenance (Build Requirements, Producer).
- Provenance identifies the output by digest. It MUST describe how the output was produced, in a format the ecosystem or consumer accepts. SLSA Provenance is RECOMMENDED (Build Requirements, Provenance Exists).
- At Build L2 the control plane generates and signs provenance. It MUST NOT come from a tenant; only
subjectand fields not required at L2 MAY come from the tenant, and consumers MUST be able to validate authenticity (Build Requirements, Provenance is Authentic). - At Build L3 provenance is unforgeable and builds are isolated.
- Signing secrets MUST NOT be reachable from user-defined steps, and
externalParametersMUST be complete. - Each build MUST get an ephemeral environment and MUST NOT influence another build or its cache (Build Requirements, Provenance is Unforgeable and Isolated).
- Signing secrets MUST NOT be reachable from user-defined steps, and
- Use the exact predicate type.
predicateTypeishttps://slsa.dev/provenance/v1, never the browser URL. Consumers MUST ignore unknown fields and treat unset, null and empty the same (Build: Provenance, Parsing rules). builder.idis the trust base.- Each mode with different security MUST have its own
builder.id. - Consumers MUST accept only specific signer–builder pairs (Build: Provenance, Builder).
- Each mode with different security MUST have its own
- Verify signature, subject, type, builder, then expectations. Check the envelope signature, the subject digest,
predicateTypeand the roots-of-trust Build level. Then compare the builder, source repository,buildTypeandexternalParameterswith expectations, and reject unknown parameters (Verifying Artifacts, Steps 1–2). - VSA consumers run the mandatory checks. Verification MUST check signature,
subject,predicateType,verifier,resourceUri,verificationResultPASSEDandverifiedLevels.verifiedLevelsMUST NOT hold two levels of one track, and custom values MUST NOT start withSLSA_(Verification Summary, How to verify; Fields; SlsaResult). - Source levels need SCS evidence.
- The SCS MUST issue a Source VSA for every revision at Source L1+, and from L2 base it on contemporaneous source provenance.
- Branches move only to descendants of their current revision.
- Source L4 needs two trusted persons per change (Source Requirements).
- Build L3 does not cover a compromised platform. Verifiers SHOULD carefully choose which builders and verifiers enter their roots of trust (Verifying Artifacts, Step 1; Verification Summary, How to verify).
Workflow
- Pick the version. Target SLSA v1.2 with Provenance v1 and VSA v1, and note any legacy documents to upgrade.
->
references/versions.md✓ The target is recorded, and it is not a legacy or draft line. - Choose levels and assign requirements. Map each Build (and Source) requirement to the producer, build platform, SCS or organization.
->
references/levels-and-tracks.md✓ Every requirement for the target level has an owner and a control. - Generate provenance. Model
buildType, keepexternalParametersminimal and complete, and recordresolvedDependencieswith digests. Generate and sign in the control plane. ->references/provenance.md✓ An example statement has the required fields for the level, and no tenant step can change any field other thansubject. - Distribute provenance. Publish it with the artifact, in at least one place and preferably more, as immutable per-artifact attestations.
->
references/provenance.md✓ A consumer can find the provenance from the artifact alone. - Verify. Configure roots of trust and form expectations by trust on first use, producer definition or source definition. Then implement Steps 1–3 at upload, at download, or in a monitor.
->
references/verification.md✓ An artifact from a fork, an unexpected builder or an extra parameter is rejected. - Issue or check VSAs. Summarize verification results, and Source levels for revisions, as
https://slsa.dev/verification_summary/v1. ->references/verification.md✓ The VSA passes all seven mandatory checks for its intended consumer. - Review the threat model. Go through threats A–I and the dependency, availability and verification threats, and note which are out of scope.
->
references/threats.md✓ Every threat has a level, a verification step, or a documented gap. - Upgrade (only when asked). Follow the upgrade section for each step from the source version or predicate to the target.
->
references/versions.md✓ The upgraded document uses the currentpredicateType, validates, and still matches the same expectations.
Verify before done
-
predicateTypeishttps://slsa.dev/provenance/v1(or…/verification_summary/v1) and_typeishttps://in-toto.io/Statement/v1. - Every
subjecthas a strong digest such assha256that matches the artifact. -
buildDefinition.buildType,buildDefinition.externalParametersandrunDetails.builder.idare present. - For a Build L2+ claim, the provenance is signed by a key only the control plane holds, and the builds are hosted.
- For a Build L3 claim, builds are isolated and ephemeral, caches cannot be poisoned, and
externalParametersis complete. - The verifier maps (key,
builder.id) to a maximum level and rejects unknownexternalParameters. - VSAs carry
verifier.id,resourceUri,policy.uri,verificationResultand one level per track. - No Build Environment or Dependency level, and no
https://slsa.dev/dependency/v1predicate, is emitted.
Reference index
references/versions.md: every SLSA version and predicate version, its status, what changed, upgrade steps, and the working draft. Load for steps 1 and 8.references/levels-and-tracks.md: Build L0–L3 and Source L1–L4, the producer, build platform, organization and SCS requirements, platform assessment, and verified properties.references/provenance.md: the Provenance v1 model, schema and field rules, extension fields, distribution, and migration from v0.2.references/verification.md: roots of trust, expectations, verification steps and architecture, the VSA format and checks, and source revision verification.references/threats.md: threats A–I, dependency, availability and verification threats, and which level or check mitigates each.
Related skills
in-toto, for the attestation framework, DSSE envelopes and other predicates:npx skills add ScaleDockHQ/scaledock-skills --skill in-totocyclonedx, for SBOMs and attestations next to provenance:npx skills add ScaleDockHQ/scaledock-skills --skill cyclonedxspdx, for SBOMs and SPDX download locations:npx skills add ScaleDockHQ/scaledock-skills --skill spdxopenssf-baseline, for OpenSSF project security baselines:npx skills add ScaleDockHQ/scaledock-skills --skill openssf-baselinescitt, for transparency services that register signed statements:npx skills add ScaleDockHQ/scaledock-skills --skill scitt
Sources
Status uses the publishing body's own maturity term. Checked is the date the source was last read.
- SLSA specification (version index): Approved, v1.2 marked current, checked 2026-10-05.
- SLSA Specification Stages and Versioning: Site page, checked 2026-10-05.
- SLSA v1.2: Approved, v1.2 (tag
v1.2, branchreleases/v1.2at ae7fc76), checked 2026-10-05. - SLSA v1.2 What's new: Approved, v1.2, checked 2026-10-05.
- SLSA v1.2 Tracks: Approved, v1.2, checked 2026-10-05.
- SLSA v1.2 Build: Track Basics: Approved, v1.2, checked 2026-10-05.
- SLSA v1.2 Build: Requirements for producing artifacts: Approved, v1.2, checked 2026-10-05.
- SLSA v1.2 Build: Provenance: Approved, v1.2 (predicate
https://slsa.dev/provenance/v1), checked 2026-10-05. - SLSA Provenance v1 (predicate URI): Approved, redirects to the v1.1 page as of 2026-10-05, checked 2026-10-05.
- SLSA v1.2 Build: Distributing provenance: Approved, v1.2, checked 2026-10-05.
- SLSA v1.2 Build: Verifying artifacts: Approved, v1.2, checked 2026-10-05.
- SLSA v1.2 Build: Assessing build platforms: Approved, v1.2, checked 2026-10-05.
- SLSA v1.2 Source: Requirements for producing source: Approved, v1.2, checked 2026-10-05.
- SLSA v1.2 Source: Verifying source: Approved, v1.2, checked 2026-10-05.
- SLSA v1.2 Threats & mitigations: Approved, v1.2, checked 2026-10-05.
- SLSA v1.2 Verification Summary Attestation: Approved, v1.2 (predicate
https://slsa.dev/verification_summary/v1), checked 2026-10-05. - SLSA v1.2 Verified Properties: Approved, v1.2, checked 2026-10-05.
- SLSA v1.2 Software attestations: Approved, v1.2, checked 2026-10-05.
- SLSA v1.2 FAQ: Approved, v1.2, checked 2026-10-05.
- SLSA v1.1: Retired, v1.1 (tag
v1.1), checked 2026-10-05. - SLSA v1.1 What's new: Retired, v1.1, checked 2026-10-05.
- SLSA v1.0: Retired, v1.0 (tag
v1.0.0), checked 2026-10-05. - SLSA v1.0 What's new: Retired, v1.0, checked 2026-10-05.
- SLSA v0.1: Approved (superseded), v0.1 (tag
v0.1), checked 2026-10-05. - SLSA v0.1 Security levels: Approved (superseded), v0.1, checked 2026-10-05.
- SLSA Provenance v0.2: Approved (hidden version), v0.2, checked 2026-10-05.
- SLSA Working Draft: Draft,
mainat 82b296d (2026-09-29), checked 2026-10-05. Draft posture: track. - SLSA Working Draft: Build Environment track: Draft,
mainat 82b296d, checked 2026-10-05. Draft posture: track. - SLSA Working Draft: Dependency Track: Draft,
mainat 82b296d, checked 2026-10-05. Draft posture: track. - slsa-framework/slsa repository: tags
v1.2,v1.1,v1.0.0,v0.1, no GitHub Releases;www/_data/versions.ymlat 82b296d, checked 2026-10-05. - in-toto Attestation Framework specification: Released, v1.2 (release v1.2.0, 2026-03-18), checked 2026-10-05.
- in-toto Statement layer: Released, v1.2.0, checked 2026-10-05.
- in-toto Validation model: Released, v1.2.0, checked 2026-10-05.