Claude Code’s “Don’t Ask Again” File Exposes Passwords and Keys in 1,122 Public Copies on GitHub
Anthropic’s AI coding assistant Claude Code saves approved shell commands, including embedded passwords and API keys, in a project’s .claude/settings.local.json file, which has been found exposed in 1,122 public GitHub repositories. Security researchers from Apiiro identified 1,379 different secrets in these files, including database passwords, SSH logins, and cloud service keys, often remaining accessible in git history and forks for over 200 days. Developers are advised to rotate all exposed credentials, remove the files from version control, and avoid embedding secrets directly in commands to prevent such leaks.
https://thehackernews.com/2026/11/claude-codes-dont-ask-again-file.html













