Artifact signing and provenance

DesignHard45 minGoogle style

Your task

Design a software-supply-chain artifact-signing and provenance system for an organization producing 50K build artifacts/day (containers, packages, binaries). Every artifact must be cryptographically signed, carry verifiable provenance (which source commit, which build, which inputs), and be admission-checked at deploy time so unsigned or tampered artifacts can't reach production. Threat model: a compromised build agent injecting malware, a developer pushing a malicious dependency, and stolen signing keys. Constraints: signing must not bottleneck CI (sub-second per artifact), keys must be protected, and verification must work air-gapped. Cover the signing flow, provenance generation, key model, and admission control.

It covers

  • Supply chain
  • Artifact signing
  • Provenance
  • Sbom