Claude Code stores approved-command secrets in plaintext across 1,122 public GitHub repos
On November 7, 2026, Apiiro revealed that Claude Code’s .claude/settings.local.json file saves approved commands word-for-word — secrets included — and that 1,122 public copies of the file expose at least one secret. Rotate credentials first, then clean git history and add the file to the project’s .gitignore.