# Claude Code settings files expose secrets in public GitHub repositories

X (formerly Twitter) · 2026-11-07T20:58:53.000Z

Posts report that 1,122 public repositories contain secrets in `.claude/settings.local.json` files created or committed while using Claude Code. One user found older files were not ignored in several of their own repositories; already committed secrets may remain in Git history, so users are advised to remove the files and rotate exposed credentials.

Source: https://x.com/KuptoKosmos/status/2119172763101364378
Topics: Artificial Intelligence
Canonical: https://aped.fi/app/news/claude-code-settings-files-expose-secrets-in-public-github-repositories-evt_88b939856778fe0a2ed892d4ddb7130d
Image: https://pbs.twimg.com/media/HWjQZPKXsAAtF1o?format=webp&name=large
