Skip to content
Back to skills

Slsa Knowledge Patch

ASecurity

SLSA

  • 25 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added September 5, 2026
developmentrustgitsecurity

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned December 1, 2026

npx -y skills add Nevaberry/nevaberry-plugins --skill slsa-knowledge-patch --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Slsa Knowledge Patch?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Slsa Knowledge Patch
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/nevaberry-slsa-knowledge-patch/badge)](https://www.skillsdirectory.com/skills/nevaberry-slsa-knowledge-patch)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: slsa-knowledge-patch
description: SLSA
version: "1.2"
license: MIT
metadata:
  author: Nevaberry
---


# SLSA Source Controls and Attestations

Use this skill when configuring Source controls,
assessing Source level claims, or issuing and consuming
Source Verification Summary Attestations (Source VSAs)
and Source Provenance.

Source L1–L4 describe how a source revision was produced and accepted by a
source control system (SCS), independently of Build levels for artifacts.
The repository owner defines the process for creating revisions.
Adopting or raising a branch's Source level begins at the
first qualifying revision and applies forward.

## Reference index

| Reference | Topics |
| --- | --- |
| [Source levels and controls](references/source-levels-and-controls.md) | Source scope; actors and identity; revision IDs; history; control continuity; safe expunging; protected references; final review |
| [Verification summaries and provenance](references/verification-summaries-and-provenance.md) | Source VSA issuance and identity; complete Statement example; level and custom claims; Source Provenance formats, issuers, and consumers |

## Attestation and claim constraints

A revision without a Source VSA is L0. At L1 or higher, the SCS must issue a
Source VSA for every revision and make it available to anyone authorized to
access that revision.

Set `verifiedLevels` to the highest Source level met, with any additional
claims alongside it. The specification enumerates `SLSA_SOURCE_LEVEL_0`
through `SLSA_SOURCE_LEVEL_3`; the wire value for Source L4 is unspecified
in that list.

The SCS must enforce the `ORG_SOURCE_` prefix for organization-defined claims.
Organizations can use `ORG_SOURCE_INTERNAL_` for claims intended for internal
use. `dependencyLevels` may be empty or describe dependencies such as Git
submodules.

## Select an SCS and establish revision identity

Choose an SCS capable of the intended level, with stable repository IDs,
immutable revision IDs unique within each repository, and human-readable
diffs for all plain-text changes.

The SCS must document how it preserves immutability for IDs that are not
content digests. It should help reviewers interpret non-text changes.

For a Source VSA, use an in-toto Statement with the SLSA Verification Summary
predicate. Bind the repository URI in `predicate.resourceUri` and the revision
ID in `subject[].digest`. Use `subject[].uri` as a human investigation link.

For non-cryptographic revision IDs, the SCS must define
a canonical digest type whose values include the repository,
such as
`svn_revision_id: svn+https://svn.example.com/project/trunk@2019`.

The recommended `subject[].annotations.sourceRefs` is an issuer-defined,
potentially incomplete list of references pointing to the revision at issuance.
Use fully qualified names for Git refs.

See the [Statement example and identity details](references/verification-summaries-and-provenance.md).

## Establish actors and permissions

Administrators perform privileged actions such as changing history or security
policy. Trusted people can propose and approve changes. Untrusted people may
be permitted to propose or review changes.

A trusted robot acts in explicitly authorized contexts. Its identity and code
must be protected from unilateral influence.

From L2, the organization must use the SCS's identity management to restrict
sensitive actions by actor or role. The SCS must document how it identifies
actors and should attribute activity to authenticated identities.

## Preserve history and issue provenance at L2

Record every named-reference change with its time, actor, and resulting
revision ID. Where the VCS records ancestry, enforce descendant-only branch
updates. Configure supported tags so they cannot move or be deleted.
Movable aliases such as `latest` are ordinary named references.

At L2 and above, the SCS must issue Source Provenance contemporaneously with
branch updates, make it available to consumers authorized to access the
revision, and use it to issue the Source VSA.

The SCS defines and documents Source Provenance formats and explains how each
type supports the revision properties reported in the Source VSA. The VSA
issuer must check that every provenance attestation comes from the expected
issuer for its type.

Consumers can use the underlying evidence to cross-check a VSA or apply their
own more detailed policy.

## Demonstrate control continuity

From L2, demonstrate continuous enforcement where reliable history depends
on configured controls. Track each technical control claimed in a Source VSA
from the first revision it protected.

After a lapse, establish a new start revision for that control.

## Use the Safe Expunging Process only within its scope

At L2 and above, the organization may remove content or rewrite history through
a documented Safe Expunging Process solely for legal or privacy compliance.

Document how requests and actions are tracked, and preferably log removals
publicly where possible. The SCS should require an administrator and at least
one other trusted person to trigger expunging.

## Enforce controls on protected references at L3

Configure the SCS to enforce the organization's technical controls on selected
branches or tags. Document what each claimed control means and provide evidence
of continuous enforcement.

For example, claiming that revisions passed tests requires the SCS to enforce
the test check on the protected reference and record its enforcement in
contemporaneous attestations tied to the revision.

The SCS must support organization-defined Source VSA properties for enforced
controls and distribution of additional control attestations to authorized
consumers.

## Require final, context-specific review at L4

A protected branch change needs agreement from two trusted people before
submission. The permitted combinations are:

- A trusted uploader and a different trusted reviewer.
- Two distinct trusted reviewers.

Approvals cover the final revision in its destination context, such as a
repository and branch. Subsequent edits and moves to another context need
review.

The SCS must show reviewers the result of accepting the change. Reviews should
cover security-relevant properties. The organization may grant a trusted robot
a standing exception.

See [Source levels and controls](references/source-levels-and-controls.md) for
the complete requirements for actors, history, control enforcement, and review.

Files in this skill

  • SKILL.md9.9 KB
  • coverage.json275 B
  • references/source-levels-and-controls.md5 KB
  • references/verification-summaries-and-provenance.md5.8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.