Claude Code's 'Don't ask again' option leaks passwords and keys to GitHub
Research indicates that the "Don't ask again" option in Code saves commands containing credentials in plain text to the .claude/settings.local.json file, and these have appeared in public . Measurements show that thousands of secrets, including passwords and , have leaked into public repositories.
Who is affected and how
- senior developer
- Check your own repos and permanent approvals before reusing the "Don't ask again" option.
- DevOps, security
- Make .claude/settings.local.json a mandatory .gitignore entry and enable secret scanning before pushing.
Analyst's note
Sources and connections
Source profile
12 listed sources from 12 sites (12 press); Hungarian: 0.
Measured blind spot
- There is no official or scientific primary source among the listed sources.
- There is no Hungarian-language or Hungarian source among the listed sources.
- All listed sources were published in one language.
Background
- Claude Code vulnerabilities: CI/CD leak, auto mode bypassed, AWS credential theft 2026-09-07
- AI coding agents leak credentials; Kilo and Enkrypt AI offer protection 2026-09-25
- AI coding agents exposed 13,000 internal images on GitHub, including billing records 2026-09-30
- Claude Code's 'Don't Ask Again' file exposes passwords and keys in 1,122 public copies 2026-11-07
Machine analytical reading based on the story summary and the linked sources, following editorial rules. It contains no new facts; the facts come from the linked article. How is it made?
Sources
- Anthropic Claude Code’s ‘Don’t Ask Again’ Feature Exposes 2,539 Secrets on GitHubgbhackers news · Nov 9, 2026
- Claude Code's "Don't Ask Again" Button Saves Your Passwordsinferencewire.com · Nov 9, 2026
- Claude Code’s “Don’t Ask Again” Feature Creates Major Security Riskdevops.com · Nov 9, 2026
- Claude Code Don't ask again left 1,379 secrets on GitHubbsinews.com · Nov 9, 2026
- Claude Code为何把密码带上了GitHub:一次设置文件泄密事件cctest.ai · Nov 9, 2026
- Did Claude Code’s ‘don’t ask again’ option accidentally expose your enterprise's passwords and keys?venturebeat · Nov 9, 2026
- Claude Code is accidentally exposing secrets all over GitHubars technica · Nov 9, 2026
- Claude Code's 'Don't Ask Again' Exposed 2,539 Secrets on GitHub - OpenToolsopentools.ai · Nov 9, 2026
- Claude Code Approval Files Expose 1,379 Secrets on GitHub | Frontierthedefiant.io · Nov 9, 2026
- Claude Code leaks over 1,300 secrets into public GitHub repositoriescryptobriefing.com · Nov 9, 2026
- Claude Code leaks thousands of secrets on GitHub - Notebookcheck Newsnotebookcheck.net · Nov 9, 2026
Machine-generated summary based on the titles and excerpts of the source articles. The facts come from the linked article.
What do you make of this piece?
The split shows after 20 votes.
Why? Your answer is not shown publicly; it helps the editors.