infoq.com/news/2026/11/claude-code-leaking-secrets

Claude Code Has Been Leaking Secrets Through Its "Don't Ask Again" Feature

Apiiro found that Claude Code's "Don't Ask Again" approval option stores approved commands, sometimes including credentials, in .claude/settings.local.json files that can leak into public repos, with 1,122 secrets counted in such files and 1,160 in git history. GitGuardian later reported 31,088 such secrets on public GitHub, 5,343 still valid when detected.


View all comments Viewing a single comment thread
· 3h ago

Don't worry, they'll make a super-duper-definitely-won't-leak your credentials harness that'll fix this once and for all...... /s

0