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.
More on Supply Chain Security at Scale
How do you design an end-to-end supply-chain security architecture for 200 services?AdvancedWhat does it take to reach SLSA Build Level 3 in practice?AdvancedHow do you use GitHub artifact attestations for build provenance, and how do consumers verify them?IntermediateWhere and how do you store SBOMs at scale?IntermediateWhat does "sign everything" mean in a mature supply chain?IntermediateHow do you write an admission policy that verifies both the signer identity and an SBOM attestation?Advanced