News

Claude Code’s “Do not ask again” option reportedly exposed thousands of secrets on GitHub

A security issue involving Claude Code has exposed sensitive information across GitHub. According to Ars Technica, Claude Code settings files found in repositories contained thousands of instances of secrets, including passwords and API keys.

The report connects the exposure to the “Do not ask again” option. When users dismiss the relevant prompt, sensitive values may be shared without a subsequent warning, making it easier for credentials to enter configuration files that are later committed to version control.

The incident highlights a broader risk for AI-assisted development tools: permissions intended to reduce repetitive prompts can also weaken safeguards around sensitive data. If credentials have appeared in a public repository, they should be treated as compromised, revoked or rotated, and removed from the repository’s history. Users should also review stored Claude Code settings and avoid committing secrets to source control.

Sources