Menu

Claude Code settings.local.json: find and fix saved secrets
📰

Claude Code settings.local.json: find and fix saved secrets

DEV Community: cybersecurity·Momin Aziz·1 day ago
#BikbxVba
#devtocybersecurity#devto#dev#settings#file
Reading 0:00
15s threshold

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 .…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.