Skip to content
نبض AIنبضAI

Claude Code settings files expose secrets in public GitHub repositories

Security incidentPublished: Source: Ars Technica AI

TL;DR:Apiiro researchers found more than 100,000 instances of Claude Code’s local settings file uploaded to public GitHub repositories.

Claude Code settings files expose secrets in public GitHub repositories

Apiiro researchers found more than 100,000 instances of Claude Code’s local settings file uploaded to public GitHub repositories. About 1,100 files across 63 organizations contained secrets, including API tokens, database passwords, and private keys. The exposure can occur because approved shell commands may be stored verbatim in the settings file, while a global .gitignore rule does not necessarily protect repositories.

Key points

  • More than 100,000 local settings files were found in public GitHub repositories.
  • About 1,100 files contained secrets, affecting 63 organizations.
  • Secrets may remain exposed in repository forks even after the original file is removed.

Why it matters

Teams using Claude Code should check public repositories and forks for committed settings files, rotate any exposed credentials, and add repository-level safeguards rather than relying only on a global .gitignore.

Companies and models mentioned

  • Claude Code
  • Apiiro
  • GitHub
  • Anthropic

Related tools

More for AI Pulse members

A personalized pulse delivered daily on Telegram and the web by role and industry, plus the full story timeline, archive, search and bilingual view.

Start free

Related stories