Apiiro: Claude Code's "Don't Ask Again" leaked passwords into 1,122 public GitHub files
Security firm Apiiro reports finding passwords and secrets in 1,122 public GitHub files that were written via Claude Code's "Don't Ask Again" permission option. The article text was not available to us; the title indicates that commands users permanently…
Why it matters
If you use Claude Code, check your repos' .claude settings files for committed credentials today and make sure local settings are gitignored.
What happened
1 min readSecurity firm Apiiro reports finding passwords and secrets in 1,122 public GitHub files that were written via Claude Code's "Don't Ask Again" permission option. The article text was not available to us; the title indicates that commands users permanently approved, including inline credentials, were saved into settings files that then got committed. The post drew 600+ points and 400+ comments on Hacker News.
Our analysis
This reflects a general pattern in coding agents: persistent allow-lists store the full command string, so any credential typed inline ends up in a file. Without the article text we can't verify the counting method or Anthropic's response, and the mechanism above is inferred from the title. Similar tools such as Cursor and Copilot may store approvals in comparable ways. Practical steps: enable secret scanning, rotate anything exposed, and pass credentials through environment variables rather than on the command line.