cybersecuritynews.com·7 november 2026
Claude Code's "Yes, and Don't Ask Again" Option Can Leak Passwords and API Keys to GitHub

business
Claude Code
cloud
credentials
cybercrime
Database
GitHub
gitleaks
malware
Shai-Hulud
SSH
technology
TruffleHog
vulnerability
cybersecuritynews.com
Apiiro researchers found 2,539 distinct secrets across 1,994 public GitHub repositories, including database passwords, cloud credentials, and production tokens. The leaks occurred when developers used Claude Code's 'Yes, and don't ask again' option, storing credentials in .claude/settings.local.json files later pushed to GitHub. Affected organizations include software companies and a medical-records database owner. The issue arises from a normal approval flow, not malicious activity, and standard scanning tools missed some exposed credentials.