InquirerBaguio council seeks specific indigenous identities in health recordsThe Jerusalem PostTrump says Saudi Arabia, Qatar want peaceful resolution to Iran war, US ready to strike if neededDaily MaverickMADLANGA COMMISSION: Matlala turns tables on Idac investigator Perumal in explosive testimonyZDF heuteEntdecken Sie das ZDF-NachrichtenstudioAntara NewsMinistry holds national convention on scientific journal integrityNPRSupreme Court says border wall construction can continue in west TexasCollider3 Elite Netflix Series to Binge This Week (Nov 9-13)France 24What to expect as Russia, Ukraine and the US hold trilateral talks in Abu DhabiCBS SportsGotham FC move NWSL semifinal against Kansas City Current to Icahn Stadium over pitch quality concernsRadio-CanadaStellantis vend son usine de Bramptonynetטראמפ נפגש עם ראש ממשלת קטאר: "פעולה באיראן? זה לא סביר במיוחד"3DNewsКалендарь релизов 9–15 ноября: Warhammer Survivors, Dreadmoor и Casualties: Unknown
The Daily Newsstand · Free, Always
Monday, November 9, 2026

Claude Code is accidentally exposing secrets all over GitHub

Translate

Claude Code is leaking sensitive information on public GitHub instances thanks to a partial oversight in the way its settings files are handled. That’s the finding of AI security researchers at Apiiro, who discovered thousands of secrets, including database passwords, API tokens, and root logins, amid Claude Code settings files embedded in GitHub repositories.

The leak stems from the way Claude Code handles user approval for automated shell commands. When a user chooses the “Yes, and don’t ask again” option to approve running a command, that choice gets stored as part of a rule in the local “.claude/settings.local.json” file on the user’s computer. That rule is sometimes coded as a pattern, but the command itself is often written to that settings file as is, including any sensitive information that may be embedded within it.

This isn’t really a significant security issue if the settings file stays on the user’s local machine (assuming that machine doesn’t become compromised itself, of course). And Anthropic notes in its Claude Code documentation that this particular settings file gets added to the developer’s global .gitignore list, which usually prevents it from being shared publicly.

But that .gitignore setting isn’t reflected at the repo level, meaning the sensitive file can be uploaded accidentally if a repo is cloned to another machine or a folder becomes a repo later, for instance. In many cases, Claude Code itself will commit changes to the settings file without the user’s input, Apiiro writes.

A breakdown of the kinds of secrets Apiiro found in publicly shared Claude Code settings files.

A breakdown of the kinds of secrets Apiiro found in publicly shared Claude Code settings files. Credit: Apiiro

Apiiro’s researchers found over 100,000 cases where Claude Code’s local settings file had been uploaded to a public GitHub repository. Of these, only about 1,100 from 63 different organizations contained secrets such as public API tokens, database passwords, or private keys. Even after these files are discovered and removed from a repository, the secrets can persist in forks of the original project if a GitHub user isn’t careful.

View the original on Ars Technica →

KioskNews shows a cleaned-up reading view extracted from the publisher’s page — the original always lives on their site, not ours.