Skip to the stories
Tuesday, 10 November 2026
Saved

Next edition

8:43

Headlines

Data Breaches

Claude Code setting exposes passwords and API keys on GitHub

A permision feature in Anthropic's Claude Code tool saves commands verbatim to configuration files, leaving hardcoded secrets visible in public code repositories.

FTMQ Security, written by our newsroom1 view

Share

Anthropic's Claude Code tool is leaking user passwords and API keys to public GitHub repositories, according to reports from CyberSecurityNews, The Hacker News, and Cyber Press. The data exposure occurs when developers select the permission option labeled yes, and do not ask again. The AI coding assistant saves the executed command word-for-word in project setting files, which developers then push to public code repositories. [1][2][4][10]

Outlets differ on the exact scale of the exposed data across GitHub repositories. The Hacker News reported finding 1,122 public copies of the affected setting file containing secrets. GBHackers News and The 420.in both report that scans uncovered 2,539 exposed secrets spread across 1,994 public GitHub repositories. [2][5][7]

A password is a string of characters used as secret data to verify a user's identity. Anthropic offers Claude Code as a terminal coding agent for AI-assisted software development. If developers include plaintext credentials in commands approved through the persistent permission setting, the utility logs those credentials directly into the project configuration. [2][8][10]

Separate research from endpoint security company Forever Security highlighted additional risks involving Claude features, according to The Hacker News. Researchers demonstrated that a malicious browser extension executing scripts on claude.ai could leverage the Dispatch feature to trigger remote code execution on a user's computer via Claude Desktop. [3]

Share

In short

  • Selecting the persistent permission option in Claude Code saves full terminal commands into project setting files.
  • Hardcoded passwords and API keys included in approved commands are published when project settings are pushed to public GitHub repositories.
  • GBHackers News and The 420.in report that 2,539 secrets were exposed across 1,994 GitHub repositories.
  • The Hacker News reported separate research showing browser extensions could use Claude Dispatch to run code on local machines.

Sources

Every paragraph above points to the numbered items it rests on. Read the originals here.

  1. [1]Claude Code's "Yes, and Don't Ask Again" Option Can Leak Passwords and API Keys to GitHubCyberSecurityNews, 2d ago (the report this story comes from)
  2. [2]Claude Code's “Don't Ask Again” File Exposes Passwords and Keys in 1,122 Public Copies on GitHubThe Hacker News, 2d ago
  3. [3]Malicious Browser Extensions Could Use Claude Dispatch to Run Code on Users' ComputersThe Hacker News, 3d ago
  4. [4]Claude Code’s “Yes, and Don’t Ask Again” Feature Exposes Passwords and API Keys on GitHubCyber Press, 2d ago
  5. [5]Claude Code’s “Don’t Ask Again” Feature Exposes 2,539 Secrets Across 1,994 GitHub R...GBHackers News, 2d ago
  6. [6]Claude Code's 'Don't Ask Again' Setting Exposes Secrets in Public GitHub Repositoriesnews.lavx.hu, 2d ago
  7. [7]Claude Code Permission Feature Exposes 2,539 Secrets Across GitHub RepositoriesThe 420.in, 2d ago

Background

  1. [8]Password on Wikipedia
  2. [9]Don't ask, don't tell on Wikipedia
  3. [10]Claude (AI) on Wikipedia

Our newsroom writes these reports with the help of software, from the 10 sources listed and nothing else, and checks them against those sources. Facts can still be wrong or move on; the originals are the record. Spotted a mistake? Write to daniel@monsterkong.com.

Earlier reports of ours on the same people and subjects.

More in Data Breaches

Get the day in one email

Reports like this one, the top news of the last 24 hours, every morning. Free, one email a day; readers can comment under every report.

By signing up you agree to our terms and privacy policy. Unsubscribe any time.

Comments

Loading

Join the conversation

Comments are open to readers of our daily email: the top news of the last 24 hours, every morning, free. Sign up and the comment box opens.

Already on the list? Enter the same address and we will send a sign-in link.

By signing up you agree to our terms and privacy policy. Unsubscribe any time.