csoonline.com·11 november 2026

Claude Code’s ‘don’t ask again’ button has a secrets-spilling problem

Image for the article: Claude Code’s ‘don’t ask again’ button has a secrets-spilling problem
Image via csoonline.com

Anthropic's Claude Code 'don't ask again' feature exposes API keys, database credentials, and other secrets in .claude/settings.local.json files across 23,276 public GitHub repositories. GitGuardian found 31,088 distinct secrets, 5,343 of which were still valid, including database connection strings, cloud provider tokens, and SSH passwords. The issue arises when developers approve commands containing embedded credentials, which are then stored in the configuration file. GitGuardian also found 613 distinct secrets in public Docker Hub images, 99 of which were valid, highlighting the need for better secret management in AI coding assistants.