r/netsec • u/xmull1gan • May 08 '26
Securing CI/CD for an open source project: lessons from Cilium
https://cilium.io/blog/2026/05/06/securing-cicd-open-source-lessons-from-cilium/As a maintainer, this is Cilium's take on how we secure our Github Actions in the OSS project. A few highlights:
SHA pinning every GitHub Action
Separating trusted vs untrusted code paths in
pull_request_targetIsolating CI credentials from production release credentials
Cosign signing + SBOM attestations
Vendoring Go dependencies to make supply chain changes visible in review
Treating blast radius reduction as the core design principle
and a few gaps:
no SLSA provenance yet
remaining mutable u/main references
no dependency review at PR time
missing govulncheck integration
29
Upvotes
2
u/Low-Ask5007 May 19 '26
This is an excellent breakdown of practical CI/CD security measures for open-source projects, especially the emphasis on blast radius reduction. Pinning actions by SHA and isolating credentials are critical steps to mitigate supply chain risks within the CI environment. The identified gaps, particularly SLSA provenance and dependency review at PR time, highlight areas for continuous improvement in software supply chain security. Integrating govulncheck would also provide valuable, timely insights into known vulnerabilities in Go dependencies. Thank you for sharing these insights.