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

Image for the article: Claude Code's 'Don't Ask Again' File Exposes Passwords and Keys in 1,122 Public Copies on GitHub
Image via 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.