November 27, 2026 Live updates · 24/7
NNEWSHACK World news, the moment it breaks
LIVE
Japan Tobacco Shares Rise Amid Potential Imperial Brands Takeover Bid Philippine digital activists scrutinize 2027 national budget for corruption Argentina Bans Central Bank From Printing Money to Fund Government DOJ Reportedly Lacked Access to Rubio Memo in Nvidia CEO Investigation New Book Alleges Financial Ties Between Jared Kushner and Gulf States EU Budget Summit Concludes Early as Key Appointments Announced Researchers Use AI to Optimize Molecular Cage Catalysts UK to Pay Participation Fees for New EU Trade Agreements Diplomatic Tensions Rise After Clashes at Besiktas-Hapoel Football Match Met Office issues ice warnings as snow hits northern UK Hong Kong Stock Exchange Expected to Retain Midday Trading Break Glasgow Installs Floating Wildlife Islands Ahead of 2026 Commonwealth Games Japan Tobacco Shares Rise Amid Potential Imperial Brands Takeover Bid Philippine digital activists scrutinize 2027 national budget for corruption Argentina Bans Central Bank From Printing Money to Fund Government DOJ Reportedly Lacked Access to Rubio Memo in Nvidia CEO Investigation New Book Alleges Financial Ties Between Jared Kushner and Gulf States EU Budget Summit Concludes Early as Key Appointments Announced Researchers Use AI to Optimize Molecular Cage Catalysts UK to Pay Participation Fees for New EU Trade Agreements Diplomatic Tensions Rise After Clashes at Besiktas-Hapoel Football Match Met Office issues ice warnings as snow hits northern UK Hong Kong Stock Exchange Expected to Retain Midday Trading Break Glasgow Installs Floating Wildlife Islands Ahead of 2026 Commonwealth Games

Claude Code Security Flaw Leaks Sensitive Data to GitHub

💻 Tech 2 min read 👁 8

AI security researchers have discovered thousands of sensitive credentials exposed on public GitHub repositories due to a flaw in Anthropic's Claude Code settings management.

Claude Code Security Flaw Leaks Sensitive Data to GitHub💻Tech

Photo: Ars Technica

Key points

  • Apiiro discovered over 100,000 Claude Code local settings files exposed on public GitHub.
  • Around 1,100 files across 63 organizations contained database passwords and API tokens.
  • Anthropic representatives stated the team is investigating ways to prevent accidental check-ins.

A design oversight in Anthropic's AI coding assistant, Claude Code, has inadvertently exposed sensitive credentials—including database passwords, API tokens, and root logins—across public GitHub repositories. According to findings from AI security firm Apiiro, more than 100,000 local settings files generated by the tool have been uploaded to public repositories, with approximately 1,100 files containing active secrets from 63 distinct organizations.

The vulnerability originates from how Claude Code records automated shell command approvals. When developers select the option to execute and remember a command, the tool writes the specific command string into a local configuration file named .claude/settings.local.json. Although Anthropic's documentation specifies that this file belongs in a global .gitignore list, the protection fails at the repository level. In many instances, Claude Code itself automatically commits changes to the settings file without explicit user intervention, leading to accidental public exposure when projects are cloned or converted into repositories.

Security reports flagging this risk date back to August 2025, though previous bug reports were closed automatically after 60 days of inactivity. Responding to the recent findings on Hacker News, Claude Code team member Boris Cherny stated that developers are investigating preventative measures and suggested utilizing secret scanners or switching to the tool's auto mode. However, Apiiro noted that popular scanning tools like gitleaks and TruffleHog failed to flag a significant portion of the exposed credentials.

Source Ars Technica — arstechnica.com/ai/2026/11/claude-code-settings-files-expose-thousands-… ↗

Contact the newsroom

Got a tip, a proposal or a partnership question? Write to us and we will reply shortly.