Did my AI-built app leak API keys?
GitGuardian counted 28.6 million new secrets in public GitHub commits in 2025, and commits co-authored by Claude Code leaked them at about twice the baseline rate (State of Secrets Sprawl 2026). Every call made with a leaked AI key lands on your bill until someone rotates it.
I move keys out of the frontend to the server, rotate the ones that leaked and add a check that blocks the next commit with a secret in it. You get a list of what was exposed. In 2025, unprompted, I found and removed logging of credentials and form data that nobody had noticed.
