Hiding Secrets & Finding Secrets - How to get hacked with your own credentials
summary
Developers routinely commit real secrets and attackers find them automatically: a GitHub query returns 2.7 million leaked PRs where people tried to remove keys, Docker images and exported tarballs still contain embedded credentials because COPY includes source and a commented-out .dockerignore; cloud providers detect abuse fast — AWS key detected in 4 minutes — and research finds hundreds of thousands of keys in public AMIs. Practical fixes shown: use git-leaks + pre-commit, enforce .gitignore/.dockerignore, prefer roles over hardcoded API keys.
AI-written summary · about
chapters (17)
- 0:00Introduction and welcome
- 1:03Credentials and hacking risks
- 2:52Development culture and mistakes
- 7:11Who am I and session purpose
- 8:38Storing secrets securely
- 9:21GitHub private repo mistake
- 12:42Leaked SSH keys and blog posts
- 13:48Logs exposing secrets
- 14:34GitHub HR impersonation scam
- 15:40GitHub never forgets secrets
- 17:29Secrets in Docker containers
- 20:29Google indexed Docker secrets
- 22:21Tools to detect leaked secrets
- 23:24Fuzzing and automated attacks
- 24:07AWS key exposure and consequences
- 26:36Preventing credential leaks
- 29:54Q&A session
