Code RoomArtifact signing and provenance
HardPrep Room Coding #3792

Artifact signing and provenance

System designSecuritySenior–Staff~45 min

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.

What a strong answer looks like

Clarify scale and constraints first. Propose a clean component breakdown, then go deep on the hard parts (data model, bottlenecks, consistency, failure modes) and name the trade-offs you are making.

Clarify5:00 left
Estimate5:00 planned
Design15:00 planned
Deep dive12:00 planned
Failure8:00 planned
0:00
Which questions mattered is sealed until you submit. Telling you now would just be handing over the edge cases.