Monday 16 November
Global

Your region, kept on this device.

Claude Code settings files expose thousands of secrets on public GitHub repositories

Severity
Medium
Sources
1

Researchers found that an AI coding assistant, , sometimes saves passwords and access keys into a settings file. When developers share that file publicly on GitHub, the secrets become visible to anyone. The file is normally kept private, so the risk mainly arises when it is accidentally shared.

Like I’m new · Written by AI from 1 source · Wrong?

What to do

  1. Check your repositories and their history for committed .claude/settings.local.json files.
  2. Make sure .claude/settings.local.json is excluded by your global .gitignore.
  3. Rotate any database passwords, API tokens or other credentials that may have appeared in these files.

Written by AI from the sources, checked against them

Full story timeline · 1 update

  1. Mon 9 NovemberClaude Code is accidentally exposing secrets all over GitHubArs Technica (Security)

Who reported · 1 outlet

Ars Technica (Security)

Who and what is in it

Products

Report a problem