Interview Prep/DevSecOps/Supply Chain Security at Scale

How do you protect the build system itself, since it is a high-value target?

AdvancedProductionSupply Chain Security at Scale
Answer
  • Prefer ephemeral, single-use runners (GitHub-hosted, or self-hosted via Actions Runner Controller with ephemeral pods).
  • Separate runner pools by trust level: PRs from forks never share runners with release builds.
  • No long-lived credentials on runners; OIDC for cloud, short-lived tokens for registries.
  • Restrict egress to known endpoints (proxy, registry, cloud APIs); tools like StepSecurity Harden-Runner can audit and block egress.
  • Pin actions by commit SHA and restrict allowed actions at org level.
  • Log and alert on workflow file changes and new secrets.

SolarWinds was a build-system compromise; protecting the source alone is not enough.

All DevSecOps questions Roadmap: Supply chain, secrets & identity

More on Supply Chain Security at Scale