Monday, November 9, 2026 · Claude & Anthropic
Claude · Safety · happened Nov 7, 2026
Researchers find 2,539 secrets on GitHub saved by Claude Code's "don't ask again" command approvalsReported
Security firm Apiiro says that when a Claude Code user approves a command with "Yes, and don't ask again", the full command, including any password or token typed into it, is saved in the project's .claude/settings.local.json, which often ends up committed to public repos. Searching GitHub, it counted 2,539 secrets across 1,994 repositories, including database passwords, SSH logins and AWS keys, The Hacker News reports; Anthropic has not published a fix or statement, and an earlier bug report about the behavior was closed by a bot.
Why it matters
Anyone who has committed that file may have published live credentials that need rotating.
Try it
Check your repos for .claude/settings.local.json, rotate any secret it ever held, untrack it with git rm --cached and add it to .gitignore.