~/talk

GitHub Actions & Security

Talkat DevOps Pro Europe 2021 · 2021-05-11..05-13· [security, devops-and-delivery]
slides:none on file

Concrete takeaways and concrete risks: workflow secrets are injected into runs and can be exfiltrated if a step prints or mangles them so treat secrets as public and rotate short‑lived keys; self‑hosted runners expose network, disk and cache risks so use GitHub‑hosted runners for public repos or run steps in containers; most code comes from dependencies (about 70% third‑party and 99% of delivered code not written in repo), so pin actions by commit SHA and fork and vet actions into an org and automate updating those forks.

AI-written summary · about

  1. 0:00Intro
  2. 1:32What are GitHub workflows?
  3. 2:54Workflow example
  4. 4:00GitHub Actions Security
  5. 4:29Repository security
  6. 6:07Workflow secrets
  7. 8:02Who has access to your secrets?
  8. 17:25Best practice:Run the action inside of a container
  9. 19:26Persisting data between runs
  10. 20:55Workflow runners - Best practice
  11. 24:52Protective measures
  12. 31:16Recommendation
  13. 31:50Workflow attack vectors
  14. 32:06Forks of public repos
  15. 34:40Common fields
  16. 35:50Remediation
  17. 36:34Forking actions
  18. 37:58Staying up to date
  19. 38:19Update action versions
  20. 40:07Keep your forked action up to date
  21. 41:03Review before merging
  22. 41:16Automation
  23. 41:52Pros of forking
  24. 43:04Best practices summarized
~/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.