HOT RADAR
toolsHEAT 11.9°

First report 12/4/2026

Claude Code Permission Settings Leak Over 31,000 Secrets

1 reports1 sourcesupdated 12/4/2026, 11:15:19
Synthesis & Latest Updates
1 Sources Cross-Validated

Research from Apiiro and GitGuardian shows Claude Code's "Don't Ask Again" feature persists approved shell commands, including embedded credentials, into .claude/settings.local.json, which can end up in public repositories. GitGuardian found 31,088 secrets in public repos, while Apiiro found 2,682 more across local files, git history and chat logs, affecting 63 organizations. Standard secret scanners miss these because keys are embedded in command text.

LATEST/Research from Apiiro and GitGuardian shows Claude Code's "Don't Ask Again" feature persists approved shell commands, including embedded credentials, into .claude/settings.local.json, which can end up in public repositories. GitGuardian found 31,088 secrets in public repos, while Apiiro found 2,682 more across local files, git history and chat logs, affecting 63 organizations. Standard secret scanners miss these because keys are embedded in command text.

Coverage timeline

Total 1 reports · Latest first
  1. InfoQ 中文T2·78 pts
    • "Don't Ask Again" persists credential-bearing shell commands into .claude/settings.local.json, which may be committed, sometimes by Claude Code itself
    • GitGuardian found 31,088 secrets in public repos; Apiiro found 2,682 more across 63 organizations
    • Generic scanners like gitleaks and TruffleHog miss keys embedded in command text; untrack the file and rotate every exposed credential