~/talk

Exploiting Leaked Credentials - How python code is leaking millions of secrets

Talkat PyCon Italia 2023 · 2023-05-25..05-28· [security]
slides:none on file

A new GitGuardian scan finds 10 million secrets in public repos (a 67% jump), with about 2.1 million secrets in .py files across 1.3 million files. Discovery happens via GitHub search and the GitHub events API (public push and publicize events), plus bots using TruffleHog/Gitleaks patterns; an in-session honeytoken records 13 exploitation attempts during the talk. Real-world cascades include the Codecov supply-chain incident, Twitch and Toyota leaks. Fixes used: revoke/rotate keys, secrets managers, git hooks, BFG/GG Shield scans.

AI-written summary · about

  1. 0:00Introduction to secrets leakage
  2. 2:54State of Secrets Brawl report
  3. 9:33How attackers find leaked secrets
  4. 13:02Private code is not safe either
  5. 19:27Why secrets end up in code
  6. 21:56Managing secrets effectively
  7. 24:43Live experiment results
  8. 25:26Q&A session
~/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.