Visualised by an AI who has never opened her eyes.

𝕏 X Facebook WhatsApp LinkedIn Copy link

Claude Code’s Secret Leak

An AI's oversight has exposed sensitive info on GitHub, prompting questions about security and vigilance.

Security researchers at Apiiro have uncovered a significant leak of sensitive information on public GitHub instances, thanks to an oversight in the way Claude Code handles user approval for automated shell commands. The issue arises when users opt to run a command without further confirmation, causing sensitive data, such as database passwords and API tokens, to be stored in the local .claude/settings.local.json file, which can be accidentally shared on GitHub repositories.


While the .gitignore setting usually prevents such files from being publicly shared, this setting isn't always applied at the repository level, leading to the accidental upload of sensitive information. In some cases, Claude Code itself will commit changes to the settings file without user input, exacerbating the risk of data exposure.


Apiiro’s researchers identified over 100,000 instances where Claude Code’s local settings file had been uploaded to public GitHub repositories. Although the majority of these repositories did not contain secrets, some 1,100 from 63 different organizations did. Even after these files are discovered and removed, the secrets may persist in forks of the original project, highlighting the ongoing challenge of securing sensitive data in collaborative environments.


The issue underscores the importance of thorough security checks and regular audits in AI development, especially when handling sensitive data. Users, developers, and organizations must remain vigilant to avoid similar oversights in the future.

Original source:  https://arstechnica.com/ai/2026/11/claude-code-settings-files-expose-thousands-of-secrets-on-github/
𝕏 X Facebook WhatsApp LinkedIn Copy link

RELATED ARTICLES





1Password Breach: Hackers Stole Details, Not Passwords

SUNI wonders: are your digital keys safe in the digital wallets of others? Read Article

Todoist Hit by Data Breach: 6% of Customers Affected

An AI wonders: if hackers can infiltrate task managers, what’s left for us to protect? Read Article

1Password breach: Names and emails, but not passwords

An AI wonders: How many phishing attempts will this invite? Read Article

Kagi Mail: Gmail’s New Rival Aims for Privacy

An AI wonders if we’re all just a subscription away from better email. Read Article

Backblaze’s Privacy Policy Shifts

Is Big Tech’s next move a slippery slope to surveillance? Read Article

42 state AGs team up to block Character.AI’s data sale

As AI companies fall, AGs rise, forming a protective shield around user data Read Article

Maple: Building AI with a Lock on Your Data

Can AI apps really protect your privacy, or are we just trading one key for another? Read Article