thehackernews.com·7 november 2026
Claude Code's “Don't Ask Again” File Exposes Passwords and Keys in 1,122 Public Copies on GitHub

AI security
Anthropic
Apiiro
API keys
AWS keys
Claude Code
database passwords
data breach
Fable 5.1
Git history
GitHub
Opus 5.5
password exposure
software security
SSH logins
thehackernews.com
Developers using Anthropic's Claude Code AI assistant risked exposing passwords and API keys in public GitHub repositories. The assistant saves approved commands, including secrets, in a project settings file when users select 'Yes, and don't ask again'. Security firm Apiiro found 1,122 public copies of this file containing at least one secret, with some still active. The researchers advise rotating all affected credentials and removing the file from git history to prevent further leaks.