SLSA — Software Supply Chain Security

SLSA defines 3 levels of supply chain integrity. Level 1: provenance. Level 2: hosted build + signed provenance. Level 3: hardened build + non-falsifiable provenance. Sigstore (Cosign, Rekor, Fulcio) implements keyless signing.

Overview

Proving where an artifact came from

SLSA (Supply-chain Levels for Software Artifacts, pronounced "salsa") is a security framework from Google, now at OpenSSF, that defines graduated levels of software supply chain integrity. It was created in response to attacks like SolarWinds, where the build pipeline was compromised. Log4Shell is often named beside it, but as the first section shows, a flaw in a correctly built dependency is outside what SLSA covers.

The idea is to make the build leave evidence. Next to the artifact, the build platform writes provenance: a record of the source, the builder and the inputs that produced it. The platform's own identity signs that record, and the consumer checks the artifact against it before use.

Key concepts

  • Provenance Attestation
  • Cosign (Sigstore)
  • Rekor (Sigstore)
  • Keyless Signing

Interview questions

  • What problem does SLSA solve and what are its three levels?
  • How does keyless signing with Sigstore work?

Sign up free to read the full topic

More DevOps topics

Start free on Cariara · Coding problems · System design studio