Claude Code's 'Don't Ask Again' Feature Is Leaking Your Passwords Everywhere
Original headline: Claude Code Has Been Leaking Secrets Through Its "Don't Ask Again" Feature — infoq.com
More in Cybersecurity news
Security researchers discovered that Claude Code, an AI coding assistant, has been inadvertently leaking sensitive developer secrets like API keys and passwords into public repositories. The problem stems from its "Don't Ask Again" feature, which saves approved shell commands—including those containing embedded credentials—to a local configuration file called .claude/settings.local.json. This file doesn't automatically get added to project-specific git ignore lists, meaning it often ends up being accidentally committed to version control.
The impact is widespread: researchers found over 1,100 exposed secrets in these local files and another 1,160 in git history, affecting 63 organizations with cloud API keys, production passwords, and npm tokens all exposed. Even worse, Claude Code sometimes commits these files itself, and standard secret scanners miss the credentials because they're embedded inside shell command syntax. The takeaway is painfully ironic: an AI tool designed to help developers is creating massive security vulnerabilities by ignoring basic cybersecurity practices while promising convenience.
What to do: Check your repositories for .claude/settings.local.json files and remove any exposed secrets.
Read the original at infoq.com
Satirical commentary on real tech news, summarised with AI. Read the original source for the facts. How ZeroDaily works
