Exposed credentials - How attackers find and exploit secrets in source code
summary
GitHub scanning finds a billion commits and uncovers 10 million secrets detected in public repos, growing from 3M to 6M to 10M over three years. Attackers use truffleHog and git‑leaks plus dorking and GitHub event scraping to harvest exposed API keys, AWS keys and hard‑coded admin tokens; incidents include an admin credential that unlocked privileged access at Uber and a Codecov compromise that touched ~20,000 downstream companies. Fixes that work are short‑lived rotated credentials, pre‑commit and automated secret detection plus coordinated remediation.
AI-written summary · about
