Claude Code Permission Files Expose 31,000+ Secrets
GitGuardian found 31,088 secrets in Claude Code's .claude/settings.local.json files across 23,276 public GitHub repos, with 5,343 still valid, including database strings, cloud tokens and Google API keys. The “don't ask again” option stores full commands with embedded credentials; monthly leaks peaked at 12,535 in April 2026 and fell to 959 by October.