AI API key patterns in public GitHub code: 189K to 435K
I’ve been tracking aggregate GitHub code search counts for common AI provider key prefixes.
July 2025 snapshot: 189,600 potential matches. Latest snapshot: 435,608.
These are not confirmed active keys. The count can include examples, revoked keys, test strings, and false positives. No secrets or repository contents are stored.
Still, the direction is concerning as AI keys increasingly connect to agents, tools, email, databases, and workflows.
Curious how others are handling prevention and rotation in practice.