How Insecure Defaults Led To Undetected Supply Chain Incident: A CI/CD Security Night...
summary
A misconfigured GitHub Action checkout action persisted credentials by default and left a 2-year-old token active, enabling unauthorized pushes to Docker Hub and other registries and forcing revocation of code-signing keys for macOS, Linux and Windows. Forensics use diffing of registry images and scans across npm, PyPI and Docker Hub with secret-finders (TruffleHog-style) to trace the token. Remediation includes immediate secret rotation, revoking signing credentials, adding artifact scanning and quarterly expiration and least-privilege secrets in CI/CD.
AI-written summary · about
chapters (11)
- 0:00Introduction and speaker intro
- 1:05Speaker background and Balena overview
- 2:08Demo of CI/CD workflow
- 3:11Discovery of leaked secrets
- 4:13Insecure CI/CD defaults cause leak
- 5:20Impact and containment actions
- 6:45Mitigation and prevention steps
- 8:28Q&A and resources
- 10:14Evidence of bad actor activity
- 11:19Real-world lessons learned
- 12:03Break and networking
