it.slashdot.orgยท8 november 2026
Claude Code's 'Don't Ask Again' File Exposes Passwords and Keys in 1,122 Public Copies on GitHub

AI coding assistant
Anthropic
Apiiro
API keys
Auto Mode
AWS keys
Boris Cherny
bug report
Claude Code
database passwords
data breach
GitHub
passwords
Secret Scanning
security vulnerability
it.slashdot.org
Anthropic's Claude Code AI coding assistant has exposed passwords and API keys in 1,122 public GitHub repositories. The issue arises when users select 'Yes, and don't ask again,' allowing the assistant to save commands, including secrets, in a project settings file. Software security company Apiiro found that these files contain 1,379 different secrets, including database passwords and AWS keys. Anthropic's head of Claude Code, Boris Cherny, acknowledged the issue and is looking into preventive measures, while advising users to enable secret scanning and use auto mode for better security.