Originally published at ReclaimLLM .
Saved Claude Code approvals can contain inline credentials. Check local settings, prevent accidental commits, and rotate secrets that were exposed.
Claude Code settings.local.json: find and fix saved secrets
Updated November 14, 2026.
A permission rule can become a credential store. If a shell command contains a password, saving that command as a standing approval can preserve the password alongside it. When the settings file then reaches a shared repository, the secret reaches everyone who can read that repository.
This is a specific Claude Code security issue worth checking across a team: inspect saved approvals, establish where copies went, and fix the repository rules that allowed them to travel.
How an approval becomes a saved secret
In November 2026, Apiiro reported finding secrets in public copies of .claude/settings.local.json .…