logo

Claude Code's “Don't Ask Again” File Exposes Passwords and Keys in 1,122 Public GitHub Copies

ID: 91685f01-4977-52a1-88bc-b22ce2d04c36

STIX ID: report--91685f01-4977-52a1-88bc-b22ce2d04c36

Feed Name: CosmicBytez Labs

Threat Score
70/100

Date Published: 2026-11-07

Date Updated: 2026-11-07

...
...

Apiiro found that Claude Code can save approved command text (including passwords and tokens) into .claude/settings.local.json which was present in public GitHub repositories; researchers identified 1,122 copies containing secrets (1,379 distinct secrets) and, counting forks/older versions, 2,539 secrets across 1,994 repositories affecting 63 organizations. Exposed items include 379 database passwords, SSH logins, Git tokens and AWS keys; the report urges immediate credential rotation, removing and ignoring the file, using secrets managers, and expanding secret scanning, while noting Anthropic provided no substantive response.

Your team is not currently subscribed to this feed. You must subscribe to it in order to see this post.