What do signed commits not protect against, and what supply chain controls complement them?
AdvancedProductionSecurity: secrets, signing, access and supply chain
Answer
A compromised developer account or laptop signs malicious code happily, and signatures say nothing about dependencies or build integrity. Complement with required review, build provenance (SLSA attestations from actions/attest-build-provenance), signed artifacts (cosign), pinned dependencies and actions by SHA, and a hardened, ephemeral build environment.
More on Security: secrets, signing, access and supply chain
What are the first things you do when a secret is committed to a repo?BeginnerHow do you prevent secrets from entering the repo in the first place?IntermediateWalk through purging a leaked secret from a 5 GB repo with 200 contributors.AdvancedWhy use OIDC federation for cloud credentials from GitHub Actions instead of stored keys?IntermediateWhat is your policy on signed commits and how do you enforce it?IntermediateWhy pin third-party GitHub Actions to a commit SHA?Intermediate