Claude Code's 'Don't Ask Again' file exposes passwords and keys in 1,122 public copies
The "Don't Ask Again" feature of Code makes passwords and keys accessible in more than a thousand public . Data revealed by security software indicates that the number of secrets stored in "settings.local.json" files could reach 2,539.
Who is affected and how
- senior developer
- Before committing, check that the agent's permission or settings file is not going into the repo.
- DevOps, security
- Search your organization's repos for the agent's permission files, and rotate any keys that may have leaked.
Analyst's note
If secrets found by Apiiro are valid and not false positives from filename matches, then 1,122 public instances pose a real risk.
The full analyst's note
event that occurred claim examined: causal explanationWhat it rests on
Developers are unaware of the risks associated with agent permission files and do not account for the fact that saving settings may also record secret data present in the command line. Sources implicitly suggest that files entering version control automatically become public if the developer does not apply specific exclusion rules.
What would refute it
The claim would be refuted if GitHub's automated secret-scanning systems blocked .claude/settings.json files at the moment of upload, or if developers made the mistake in only a few cases instead of 1122. The extent of the widespread leak would be called into question if public repositories contained no secrets, or if the files were removed quickly after the commit.
What to watch
The situation will be determined by how quickly GitHub indexes repositories containing .claude/settings.json files and flags them to its secret-scanning tools. If developers remove the files from history immediately after committing, it may indicate that the leak is more limited than the number of disclosed cases suggests.
Perspective
According to the sources' wording, the news serves the interests of security researchers and organizational DevOps teams, whose task is to identify and replace leaked keys. The story also touches on developers' responsibility, as they create the risk by approving commands and committing files to version control.
Rival hypotheses
The leak is caused not only by the tool's default behavior but also by developers' habits: the .claude folder is not excluded from version control. Consequently, every locally saved permission file—regardless of content—may become public during the commit.
Red team
Edited counter-argument
The figure of 1,122 public repos comes from Apiiro's automated search, but the method did not verify whether the found secrets are actually valid and actively usable. Detection rules rely solely on matching file names and patterns, so false positives may distort the scale of the real risk.
Blind spot
The story does not discuss the direct risks to holders of secret data, such as cloud providers or clients of affected companies, nor the consequences of using leaked keys for service security and compliance with data protection regulations.
Source profile
23 articles · 12 publishers · 11 independent pieces (12 press); Hungarian: 0. Of the 23 articles, 12 are linked. Published: 2026-11-07 – 2026-11-08.
No primary document (official, court or scientific publication, or company statement) was found among the sources.
Measured blind spot
- There is no Hungarian-language or Hungarian source among the listed sources.
- All listed sources were published in one language.
Background
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
- Claude Code's "Don't Ask Again" Feature Exposes 2,539 Secrets Across 1,994 GitHub Repositoriesgbhackers.com · Nov 7, 2026
- Claude Code "Don't Ask Again" File Leaks 1,122 Public GitHub Repos — Detection and Remediation Guide | Security Arsenal | Security Arsenalsecurityarsenal.com · Nov 7, 2026
- Claude Code secrets exposure: How “Don’t Ask Again” Leaked Keys - The Protec Blogtheprotec.com · Nov 7, 2026
- Apiiro finds Claude Code approvals leaking 2,539 secrets on GitHubletsdatascience.com · Nov 7, 2026
- Claude Code's “Don't Ask Again” File Exposes Passwords and Keys in 1,122 Public Copies on GitHubthe hacker news · Nov 7, 2026
- Claude Code’s “Yes, and Don’t Ask Again” Feature Exposes Passwords and API Keys on GitHubcyber press · Nov 7, 2026
- Claude Code leaks passwords and API keys in 1,122 public GitHub filespasqualepillitteri.it · Nov 8, 2026
- Apiiro: Claude Code Settings Leak Hit 1,122 Reposi10x.ai · Nov 8, 2026
- Claude Code Leaking Secrets Across Nearly Two Thousand Public GitHub Repositoriessecurityonline.info · Nov 8, 2026
- Claude Code's "Don't Ask Again" Leaked Developers' Secrets to Public GitHub — Explained Honestly - DEV Communitydev.to · Nov 8, 2026
- Claude Code “Don’t Ask Again” Leaked 2,539 Secrets on GitHub: Fix Now | byteiotabyteiota.com · Nov 8, 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.