Claude Code's 'don't ask again' button spills secrets: 1,122 GitHub files leak keys
Security firm Apiiro found that passwords and API keys typed into commands approved in Claude Code are sitting in public GitHub repositories. Of 104,185 public copies of the local settings file, about 1.1%, or 1,122, hold at least one secret, totaling 1,379 distinct secrets. They include 43 SSH logins, 42 GitHub, GitLab and npm tokens, and 23 AWS keys. Gitleaks flagged 564 files and TruffleHog 643, while 215 escaped both. Apiiro did not test whether the secrets still work.
From thehackernews.com's report.
Why it matters: Developers using Claude Code may unknowingly publish passwords and API keys when approved commands are saved to settings files committed publicly, exposing accounts and systems to misuse; it signals a need to check such files.
Comments
No comments yet.