Interview Prep/Git & GitHub/Security: secrets, signing, access and supply chain

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.

All Git & GitHub questions Roadmap: Git & GitHub

More on Security: secrets, signing, access and supply chain