What does `harden-runner` style runtime monitoring in CI do?
AdvancedProductionSupply Chain and Pipeline Security
Answer
It monitors or restricts outbound network connections and file/process activity of a job on the runner (for example StepSecurity harden-runner in audit then block mode, or egress-filtering proxies on self-hosted runners). In block mode a compromised dependency or action cannot exfiltrate secrets to an unknown domain, because only an allow-list of endpoints (github.com, your registry) is reachable. It would have flagged the unexpected network calls in several real supply chain compromises.
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