GitGuardian Report: AI Drives 34% Surge in GitHub Secrets
New York, NY — GitGuardian released its fifth annual State of Secrets Sprawl report on March 17, 2026, revealing that mainstream AI adoption in 2025 accelerated the leakage of sensitive credentials across public and internal software systems, with newly detected secrets on GitHub surging 34 percent year-over-year to a record 29 million.
The report attributes this unprecedented increase to the rapid integration of AI tools in software development, which boosted public commits by 43 percent while outpacing security practices. Secret leak rates in AI-assisted code averaged double the platform-wide baseline of 1.5 incidents per commit. Specifically, developer commits using Anthropic's Claude Code tool showed a leak rate of 3.2, highlighting how AI democratizes coding but exposes gaps in security awareness among less experienced users. These users often bypass AI-generated warnings or prompt tools to include sensitive data, underscoring the human element in these exposures.
AI services emerged as a particular vulnerability, with related credential leaks jumping 81 percent to 1,275,105 instances. Such secrets, including tokens and keys for AI platforms, frequently evade traditional...