Claude Code's “Don't Ask Again” File Exposes Passwords and Keys in 1,122 Public Copies on GitHub
- ID
- 44106
- Status
- summarized
- Published
- 07 Nov 2026, 2:44 PM
- Fetched
- 07 Nov 2026, 4:56 PM
- Provider
- The Hacker News
- Category
- security
- Original URL
- https://thehackernews.com/2026/11/claude-codes-dont-ask-again-file.html
- Source URL
- https://feeds.feedburner.com/TheHackersNews
Summary
- Score
- 7.5
- Created
- 07 Nov 2026, 4:56 PM
- Tags
- Audience
- developersvibe_codersai_agent_userssaas_founders
What happened
A The Hacker News report published 7 November 2026 says the config file Claude Code writes when you pick "Don't Ask Again" has been found in 1,122 public GitHub repositories with passwords and keys exposed inside it. The claim is that the file captures credentials that were approved or referenced during a session and then gets committed to public repos along with the rest of the project. The retrieved page text contains only the headline and site boilerplate, so the article's specifics — the exact filename, who did the research, affected Claude Code versions, and any recommended fix — are not available here and should not be assumed.
Why it matters
If you use Claude Code with "Don't Ask Again" and commit your project config, 1,122 other repos have already leaked keys this way — so before your next push, check whether that file is tracked in git and add it to .gitignore, then rotate anything it may have recorded. For Malaysian teams and freelancers pushing client work to public GitHub, a leaked key in a repo config is a client-facing incident, not a local inconvenience, so this is worth a five-minute check across every repo you own.
Discussion angle
Should agent permission approvals like "Don't Ask Again" ever be persisted into a file that sits inside the repo at all, versus user-level config outside the project — and which of us has already checked our own repos for it live on the call?