Do you know where your secrets are? Exploring the problem of secret sprawl
Where
PasswordsCon
BSides Las Vegas
Duration
52 min
Presents research on hardcoded credential leaks in public GitHub and a five-level maturity model for secret management.
Summary
The talk opens with breaches linked to credentials left in code or environments, including Uber, CircleCI and Toyota, and argues that exposed secrets are a recurring step in attackers moving laterally and escalating privileges. The speaker frames the problem as secret sprawl: credentials copied into source repositories, CI pipelines, logs and storage buckets, often during debugging and rarely removed afterward.
The middle section walks through data from scanning public GitHub commits. Figures cited include roughly 10 million newly detected hardcoded credentials in a single year, a 67 percent rise, and about 5.5 secrets for every thousand commits. Google API keys made up most detections, while OpenAI keys were the fastest-growing category in the current year. A survey of IT decision makers found that most had experienced a leak in the previous 18 months, and many relied only on manual code review to catch them.
The closing part presents a five-level secret management maturity model, from hardcoding credentials at the bottom to dynamic, short-lived secrets with automated rotation and continuous monitoring at the top. It rests on three pillars: people, processes and tools. Practical takeaways include scoping credentials narrowly, moving them into a vault, scanning at commit, pull request and build stages, and treating network egress controls as part of the defense. The speaker encouraged teams to assess their current level and plan the next step.
Related talks
PasswordsCon·46 min
Dwayne McDaniel
Explains how non-human identities and hardcoded secrets create risk, and how to raise the issue with developers.
Talks·47 min
Hysun Chung
Shows how a human reviewer can pair with an AI tool to run staged secure code reviews and keep them current.
Talks·46 min
David Bohannon · Christopher Fearon
Shows how agentic AI can find source code vulnerabilities without the parsers and hand-written rules that traditional static analysis needs.


