~/talk

Protecting CI/CD from malicious deploys

Talkat Øredev 2023 · 2023-11-08..11-10· [security, devops-and-delivery]
slides:none on file

Shows concrete attack chains against GitHub Actions and build chains and demonstrates what actually goes wrong and how to fix it: GitHub Actions exploit: pipeline token can approve PRs and steal repo secrets, package registry publishing and poisoned dependencies, self hosted runners that share state, and overly broad deployment credentials that give full cloud access. Demonstrates mitigations that work today: enforce SSO and separate accounts, use GitHub environments and scoped tokens or OpenID Connect for tokenless roles, and monitor CI logs.

AI-written summary · about

  1. 0:00Securing CI/CD pipelines
  2. 1:04Traditional production threats
  3. 3:13CI/CD as critical infrastructure
  4. 8:13Risk modeling in security
  5. 10:20Threat actor attack methods
  6. 13:28Attack paths in CI/CD workflows
  7. 16:54Securing the CI/CD system
  8. 20:06GitHub developer account risks
  9. 23:16Private vs work GitHub accounts
  10. 26:04Enforcing SSO for GitHub
  11. 27:50Separate vs shared accounts
  12. 29:14Finding secrets in code
  13. 31:39Preventing direct production pushes
  14. 33:24GitHub Actions token risks
  15. 34:51Why GitHub secrets aren't secret
  16. 36:15GitHub environments for secrets
  17. 37:00OpenID Connect for deployments
  18. 38:01Admin privilege risks in GitHub
  19. 38:22Self-hosted GitHub Runners risks
  20. 39:06Malicious package publishing
  21. 40:10Reducing impact of secrets compromise
  22. 40:51Summary and best practices
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.