How do you protect against compromised developer accounts pushing malicious code?
IntermediateProductionSupply Chain and Pipeline Security
Answer
Enforce SSO with MFA (hardware keys/passkeys for privileged roles), signed commits where policy requires, branch protection requiring review from someone other than the author, restricted ability to push tags and edit workflows, short session lifetimes, and monitoring on anomalous activity (new tokens, force pushes, workflow changes). The pipeline's required reviews and environment approvals mean one compromised account is not enough to reach production.
More on Supply Chain and Pipeline Security
What is a software supply chain attack, and where does the pipeline fit?BeginnerWhat is an SBOM and why do you generate one in CI?BeginnerHow do you sign container images and verify them at deploy time?IntermediateWhat is SLSA and which level should a typical team aim for?IntermediateHow do you verify provenance before deploying?AdvancedHow do you scan images and dependencies in the pipeline without drowning in noise?Intermediate