Define and verify an in-toto supply chain layout to validate pipeline step attestations

domain: github.com/in-toto/attestation · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Install the in-toto Python tooling: pip install in-toto.
  2. Define a supply chain layout file in JSON specifying the ordered steps (e.g., clone, build, test, package), the functionaries (public keys of allowed signers for each step), and the expected artifact rules.
  3. At each pipeline step, generate a signed link metadata file using in-toto-run: in-toto-run --step-name build --products ./dist/ -- make build; this records inputs, outputs, and the command run.
  4. Collect all link metadata files alongside the layout and the layout owner's public key into a verification bundle.
  5. Verify the full supply chain with in-toto-verify --layout root.layout --layout-key owner.pub --link-dir ./links/; a zero exit code confirms all steps ran in order by authorized signers.
  6. Integrate link generation into each CI job and store signed links as build artifacts so the verification bundle is always available for audit.

Known gotchas

Related routes

Define and verify an in-toto software supply chain layout with materials and products
in-toto.io · 6 steps · unrated
Define an in-toto link metadata chain for a software supply chain using the in-toto Python tools to sign each step (clone, build, test) and verify the final product
in-toto.io · 5 steps · unrated
Generate and verify an in-toto attestation with a SLSA provenance predicate for a build artifact
security/compliance · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans