Bot Gaffe
Claude Code's 'Don't Ask Again' File Exposes Passwords and Keys in 1,122 Public GitHub Copies
Pick 'Yes, and don't ask again' and Claude Code saves the full approved command, secrets included, in .claude/settings.local.json, and never adds the file to .gitignore. Apiiro found 1,122 public copies holding at least one secret: 1,379 secrets including 379 database passwords, 43 SSH logins, 42 GitHub/GitLab/npm tokens, and 23 AWS keys, across 63 organizations. Bug reports date back to Aug 2025, all closed by bots with no Anthropic reply.
Source: The Hacker News