Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

slsa-verifier

$ slsa-verifier Foundation Low Risk
SLSA · Security & Secrets · Apache-2.0 · macos / linux / windows

slsa-verifier is the OpenSSF SLSA framework's official CLI for cryptographically verifying build provenance of release binaries (verify-artifact), container images (verify-image), and npm packages against Sigstore Rekor transparency logs and trusted builders. It runs headlessly, enforces --source-uri checks, and optionally emits provenance JSON with --print-provenance.

FCRS-1.0 Score
90 /100
Excellent
Medium Confidence
Zero-Friction Install
brew install slsa-verifier
CLI vs MCP Decision CLI Only

Cryptographic artifact hash and Rekor inclusion-proof verification must run locally against the downloaded binary with slsa-verifier rather than trusting a remote MCP server.

Agent-Readiness Checklist

— JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
✓ Read-Only Mode
— NO_COLOR Clean
— Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 20 / 25

Purely non-interactive verification with strict exit codes and --print-provenance JSON output, though the verification summary itself is plain text rather than --json.

  • Non-interactive exit-code verification and --print-provenance JSON
  • Verification status lines are human-readable text
Trust & Safety 25 / 25

Strictly read-only cryptographic attestation verifier checking Rekor proofs, builder IDs, and --source-uri claims before artifact execution.

  • Read-only cryptographic verification with zero artifact mutation
Setup & Portability 14 / 15

Single static Go binary available via brew install slsa-verifier, go install, and GitHub Releases for macOS, Linux, and Windows.

  • Official Homebrew formula and multi-OS Go binaries
Utility & Efficiency 13 / 15

Authoritative SLSA verification across binaries, container images, and npm tarballs.

  • Covers verify-artifact, verify-image, and verify-npm-package
Maintenance & Lineage 9 / 10

Official OpenSSF SLSA framework project maintained with Google and community security engineers.

  • Maintained under github.com/slsa-framework/slsa-verifier
Docs & Verifiability 9 / 10

Detailed README and slsa.dev specification guides explaining builder trust and flags.

  • Docs at github.com/slsa-framework/slsa-verifier and slsa.dev

Security, Auth & Guardrails

Auth Modes
No Auth Config File
Credential Storage

None required for public artifacts; verify-image uses Docker/OCI registry credentials for private images.

Side Effects
Read-Only
Cost & Quotas

100% free and open-source (Apache-2.0).

Copyable Guardrail for CLAUDE.md / AGENTS.md
# slsa-verifier Agent Rules
- Always verify immutable `@sha256:` digests with `verify-image` to prevent TOCTOU tag substitution.
- Always specify `--source-uri` (and `--source-tag` or `--source-branch` when applicable) so provenance from an unrelated fork cannot pass.

Agent-Ready Command Recipes

Safe Read-Only Queries

Verify a downloaded binary against SLSA provenance
slsa-verifier verify-artifact ./release-bin --provenance-path ./release-bin.intoto.jsonl --source-uri github.com/org/repo --source-tag v1.0.0

Cryptographically verifies ./release-bin matches the signed SLSA provenance and expected --source-uri and tag.

Verify a digest-pinned OCI container image
slsa-verifier verify-image ghcr.io/org/app@sha256:0123456789abcdef --source-uri github.com/org/app --print-provenance

Verifies SLSA provenance for an immutable @sha256: image reference and prints the verified provenance JSON.

Strengths for Agents

  • + Strictly read-only cryptographic verification of SLSA build provenance and --source-uri identity.
  • + --print-provenance emits the verified in-toto provenance payload for downstream policy checks.

Caveats & Pitfalls

  • ! No --json summary envelope around pass/fail status lines.
  • ! Verification typically queries public Sigstore Rekor / TUF endpoints unless offline bundle flags are provided.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI