The attackers guide to exploiting secrets in the wild
summary
Covers concrete methods and live demos: using the GitHub public API (api.github.com/events) and history to find secrets, an AWS honeytoken commit that is accessed within minutes, and a GitHub-leak experiment; scanning private repos uncovers ~13,000 leaked secrets for a 400‑dev org; large-scale stats (10 million public secrets found last year; 70% provider-validated; ~2 million valid cloud keys). Shows Docker and mobile work: an RWTH study finds 88.5% of Docker images with plaintext secrets (52,000 private keys), plus decompiling APKs with JX and scanning with GG Shield.
AI-written summary · about
chapters (15)
- 0:00Introduction to secrets exploitation
- 1:03What are secrets and why they matter
- 2:28Finding secrets in source code
- 8:12Abusing GitHub API for secrets
- 11:26Checking if secrets leaked publicly
- 13:34Accessing private source code
- 20:37Misconfigurations in Git repositories
- 23:29Why source code history is dangerous
- 25:56Secrets in Docker images
- 31:16Scanning Docker images for secrets
- 32:19Finding secrets in mobile apps
- 37:17Real-world mobile app secrets
- 38:22Preventing hardcoded secrets
- 40:08Best practices for secret management
- 40:50Conclusion and further reading
