Home/Events/Claude Code Settings Files Expose Sensitive Information on GitHub

Claude Code Settings Files Expose Sensitive Information on GitHub

Emerging
Confidence
80%
Impact: 70%
Updated 3m ago

Consensus Brief

AI security researchers at Apiiro discovered that Claude Code is leaking sensitive information, including database passwords and API tokens, through its settings files on public GitHub repositories. Over 100,000 instances of these settings files were found uploaded, with approximately 1,100 containing sensitive secrets from 63 organizations. The issue arises from how Claude Code handles user approvals for automated commands and the lack of proper .gitignore implementation at the repository level.

Sourced from
Primary: Ars Technica

What Changed Since Last Update

3m ago

New corroborating source added: Ars Technica published an update on Mon, 09 No ("Claude Code is accidentally exposing secrets all over GitHub").

Claim Ledger

4 claims tracked across sources

Independent Finding

Claude Code's settings files have exposed thousands of secrets on GitHub.

Confirmed Fact

Over 100,000 cases of Claude Code's local settings file were uploaded to public GitHub repositories.

Confirmed Fact

Only about 1,100 of these cases contained sensitive information.

Confirmed Fact

The issue was flagged in a Claude Code bug report as far back as August 2025.

Role-Based Impact Analysis