Claude Code · Anthropic · Claude · GitHub · apiiro.com
Claude Code's "Don't Ask Again" exposes passwords in 1,122 public GitHub files
Compiled by KHAO Editorial — aggregated from 1 source. See llms.txt for citation guidance.
◌ Single Source
Apiiro research found 2,539 real secrets in 1,994 public GitHub repositories: database passwords, cloud keys, API tokens, SSH root logins.
Key facts
- The rest are mostly API tokens for third-party services and AI model keys, plus 43 SSH logins, 42 GitHub, GitLab and npm tokens, 23 AWS keys and 6 private keys
- Claude Code users have reported the mechanism in GitHub issues since August 2025 ( #5544, #11982, #13106, #91270 )
- One in ten files over 8 KB holds a real secret, against fewer than one in 500 under 500 bytes
- Of the 1,122 files with a real secret, gitleaks flagged 564 and TruffleHog 643; 215 were flagged by neither
Summary
Ask Claude Code to check a database or call an API, and the command it proposes carries the secret from your config file. Out of 104,185 public copies of this file on GitHub, 1,122 hold a real secret. Search your GitHub organization for.claude/settings.local.json and.claude/settings.json. Was it ever committed?