Claude Code Configuration Flaw Exposes Sensitive Data on GitHub
AI security researchers have discovered thousands of exposed API tokens and database passwords linked to Claude Code local settings files.
🛡️CyberPhoto: Ars Technica
Key points
- Claude Code leaks secrets via local settings
- Over 100,000 config files found on GitHub
- Anthropic investigating mitigation strategies
Security researchers at Apiiro have uncovered a significant oversight in Anthropic’s Claude Code development tool, which has accidentally exposed sensitive information—including database credentials and API tokens—across public GitHub repositories. The issue stems from how the utility handles automated shell command approvals and saves them to local configuration files.
When users approve commands with persistent settings, the raw commands, sometimes containing embedded credentials, are written directly to the local .claude/settings.local.json file. While intended to remain private, the lack of repository-level exclusion rules often leads to these sensitive files being accidentally committed and pushed to public platforms.
The researchers identified over 100,000 instances of Claude Code settings files uploaded to GitHub, with roughly 1,100 containing active secrets. Boris Cherny of the Claude Code team stated that developers are investigating ways to prevent such occurrences and recommended utilizing secret scanning tools as an interim safeguard.
Source Ars Technica — arstechnica.com/ai/2026/11/claude-code-settings-files-expose-thousands-… ↗
Read next
📈BusinessTrump Administration Pressures Intel and Nvidia, Sparking Concerns Over State Control
Newly unsealed court documents reveal aggressive government pressure on Intel and Nvidia, shifting tech policy toward direct state stakes.
🚀SpaceUkraine braces for another difficult winter amid ongoing attacks on energy infrastructure
Ukrainians are preparing for a harsh winter as continuous strikes on energy facilities and rising food prices strain households.
🔬ScienceBiomolecular analysis reveals centuries-old embalming recipes for Egyptian crocodile mummies
A study of ancient Egyptian crocodile mummies shows that embalmers used the exact same beeswax and pine resin recipe centuries apart at a single site.
💻TechAstronomers Witness Rare Stellar Merger as Red Giant Devours Companion Star
An international team of researchers used advanced ground- and space-based telescopes to document a rare cosmic event where a massive red giant swallowed its smaller stel…
🌍WorldNATO Fighter Jets Scrambled After Drone Enters Latvian Airspace
Latvian armed forces deployed Alliance aircraft and interceptors following a brief border breach by an unidentified unmanned aerial vehicle.
🔬ScienceBacterial colonies turn themselves inside out when oxygen is scarce
An international research team discovered that Neisseria gonorrhoeae bacteria respond to oxygen depletion in the colony's center by reducing cell adhesion, triggering a p…