Lion Cipher Lab

Prove where a build came from with GitHub artifact attestations, then verify it and break it (CI/CD assessment 5 of 7)

Why it matters

A consumer of your software can read your source and still have no idea whether the file they downloaded was built from it. Provenance closes that gap: a signed statement, created by the build itself, that links the file to the repository, workflow and commit that produced it. If a build server or a release account is compromised and a doctored file is uploaded, the doctored file will not carry a valid attestation from the real workflow. This is also the control that the later, harder questions rest on, such as which workflow is allowed to sign.

What you'll learn

Steps in this lab

  1. The rule first: your public test repository, a harmless file
  2. What an attestation says, in plain words
  3. Add the workflow
  4. Run it, download the result and verify
  5. Break it on purpose
  6. The defender's view: what provenance proves, and what it cannot

Open the full interactive lab →

Keep learning