Interview Prep/CI/CD/Secrets, Supply Chain and DORA

How do you secure the CI/CD system itself as part of the attack surface?

AdvancedScenarioSecrets, Supply Chain and DORA
Answer

Situation read → CI is a high-value target.

What I'd do →

  1. Least-privilege tokens, short-lived credentials and OIDC.
  2. Ephemeral isolated runners, restricted egress, pinned actions and images.
  3. Branch protection, required reviews on pipeline files, and audit logs.
  4. Separate build and deploy privileges; monitor for anomalous pipeline changes.

Why → Compromising CI often means compromising production.

Interview tip → Reference the OWASP Top 10 CI/CD Security Risks.

All CI/CD questions

More on Secrets, Supply Chain and DORA