When you answer “Yes, and don’t ask again” to a shell command, Claude Code saves the whole command as a rule in .claude/settings.local.json, including any API key or password typed into it. GitGuardian scanned public GitHub and Docker Hub for copies of that file.
Claude Code approvals left 31,088 secrets in files on public GitHub, 5,343 still working
calendar_today
November 20, 2026
domain
agentgid-com