~/talk

Stop Committing Your Secrets - Git Hooks To The Rescue!

Talkat BSidesSF 2023 · 2023-04-22..04-23· [security]
slides:none on file

Claim: stop secrets before they reach remote repos by running scanners in Git hooks. Evidence: a report finds 10 million secrets in GitHub public repos last year. Tools shown and usable today include GG Shield, get-secrets, trufflehog and the pre-commit framework tied into pre-commit/pre-receive hooks. Demoed setup is three commands to install, authenticate and enable a global hook; it blocks the commit locally and prevents surgical history rewrites because the secret never reaches the remote.

AI-written summary · about

  1. 0:00Introduction and welcome
  2. 1:25The problem with secrets in Git
  3. 3:31Why Git hooks are the solution
  4. 6:02How Git hooks work
  5. 8:09Open source tools for Git hooks
  6. 9:14Demo of GG Shield in action
  7. 10:16Conclusion and key takeaways
  8. 10:57Q&A on enforcement and tools
~/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.