~/talk

Fighting Secrets In Source Code With TruffleHog

Talkat BSidesSF 2018 · on Sunday, 2018-04-15· [security, developer-experience]
links:none on file
slides:none on file

Tool hunts secrets in git history using entropy scanning and curated regexes, packaged as truffleHog and extended to npm/PyPI as SantaHog. Scans flagged thousands of leaked tokens historically and finds ~2% of npm packages mentioning AWS contain live keys. Regexes are now a shared JSON repo; current tool is single-threaded, yields false positives that need triage, and supports automatic verification for public APIs but warns of CFAA risks and the need to rotate and scrub keys.

AI-written summary · about

  1. 0:00Introduction to TruffleHog
  2. 1:28Why secrets in source code matter
  3. 4:03Where source code lives
  4. 7:53Scanning revision history for secrets
  5. 10:43Entropy detection vs regex rules
  6. 13:31DevOps pipeline integration
  7. 14:34Scanning package managers for secrets
  8. 17:06Introducing SantaHog
  9. 20:16Future features and community help
  10. 22:02Automated key verification
  11. 24:32Q&A and community discussion
~/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.