Skip to content
MediumIncidentLLM-specific

Claude Code settings.local.json Secrets: 17 months of exposure on GitHub, & Docker Hub

Published
Record updated
View JSON

Summary

GitGuardian found 31,088 distinct secrets in Claude Code's .claude/settings.local.json files across 23,276 public GitHub repositories, and 5,343 of them were still valid when detected. The file stores local command permissions, and the 'don't ask again' approval option appears to write sensitive values into it. Anthropic's Head of Claude Code, Boris Cherny, responded on Hacker News and said the team is "looking into what we can do to prevent this."