~/talk

Stop Committing Your Secrets - Git Hooks To The Rescue!

Talkat BSidesSLC 2022 · on Friday, 2022-12-16· [security]
slides:none on file

Hard-coded credentials show up in version control all the time: 3 out of every 1,000 commits contain secrets and over 6 million secrets appeared in public GitHub data last year. Git provides automation points—local pre-commit hooks and server-side pre-receive hook—that block commits. Existing tools include AWS Labs git-secrets, trufflehog (pre-commit framework), and GGShield (calls a platform API, covers ~350 patterns, has rate limits). Demos show hooks reliably refuse commits that match known patterns but require installation and maintenance.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 1:13Real-world secret leaks examples
  3. 3:43Why developers hardcode secrets
  4. 6:10Git as universal developer tool
  5. 7:13Git’s limitations for security
  6. 10:23Git hooks as automation solution
  7. 13:53Customizing git hooks for secrets
  8. 16:16Tools for secret detection
  9. 20:31Live demo of secret blocking
  10. 21:11Key takeaways and conclusion
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.