Press Enter to search · ESC to close

Crypto AI × Crypto

Anthropic’s Claude Code leaks secrets into GitHub repos, Apiiro finds

Security firm Apiiro found that more than 100,000 Claude Code local settings files have been uploaded to public GitHub repositories, about 1,100 of which contain database passwords, API tokens, private keys or root login credentials. The files held 2,539 real credentials across 1,994 code repositories and affected 63 organizations. When users choose “Yes, and don’t ask again,” commands containing secrets may be written in plaintext to .claude/settings.local.json and later committed by mistake.

Original source

AI take

The leak is less a flaw in Claude Code than a predictable side effect of convenience-first prompts colliding with developers' habit of committing local config files. The exposure spans credentials for databases, APIs and root logins across dozens of organizations, meaning the blast radius extends well beyond individual developers to production systems and third-party services. The open question is whether tooling vendors will treat secret-writing defaults as a security boundary — and whether teams will start auditing .claude settings files the way they already scan for committed .env files.

Generated by AI for reference only.

Share

Related News

TREE NEWS share card
Long-press image above → Save to Photos / Share
Pitch us Feedback