AI & Tech··1 sources verified
GitGuardian Finds AI Service Secrets Leaking at Scale, Prompting Short-Lived Token Advice for Agents
Summarised by Relevant News AI · Read time: 3 min
GitGuardian's State of Secrets Sprawl 2026 reports that 1.27 million AI-service secrets leaked on public GitHub in 2025, up 81%, and that 64% of secrets confirmed valid in 2022 were still valid in January 2026. It also found 24,008 secrets in public MCP config files, 2,117 of them still valid. The source recommends replacing permanent agent API keys with 15-minute, scoped tokens from Vault or AWS STS, signed as JWTs that tools verify locally with a public key; the lifetimes and timing figures in the piece are illustrative, not measured.
Why it matters: Teams deploying AI agents and MCP servers need to stop relying on long-lived keys, since leaked credentials are staying valid for years and machine identities already outnumber humans.
All sources