Security · High impactFan score 64 · Tier A8 sources
Claude Code Has Been Leaking Secrets Through Its "Don't Ask Again" Feature
InfoQ · By Sergio De Simone ·
The Brief · written from 8 sources
- Claude Code reportedly exposed 2,539 live developer secrets across 1,994 public GitHub repositories.
- The source attributes the leak to Claude Code's handling of database and API commands run by engineers, in repositories with no .gitignore protection.
- The article notes this comes while Anthropic is reportedly preparing a $1.5T IPO.
Why it matters
Live credentials committed to public repositories can be harvested and abused, so developers using Claude Code should check whether their own repositories contain exposed secrets.
Who’s affected
- Developers using Claude Code
- Teams with public GitHub repositories
What to do
- Check public repositories for committed Claude Code settings or secret files
- Rotate any database or API credentials that may have been exposed
- Add Claude Code settings and secret files to .gitignore
Agentic security firm Apiiro found that Claude Code has been exposing secrets in public repositories due to how it stores them in local file on developers' machines to implement "Don't Ask Again". The company identified 1,122 secrets in claude/settings.local.json files and…
Timeline
Full coverage · 8 sources
- 9h ago ↗
InfoQ
Claude Code Has Been Leaking Secrets Through Its "Don't Ask Again" Feature
- 8d ago ↗
DEV Community: ai
$1.5T Valuation, Zero .gitignore: How Claude Code Leaked 2,539 Live Secrets to GitHub - 12d ago ↗
- 13d ago ↗
AI - Ars Technica
Claude Code is accidentally exposing secrets all over GitHub - 14d ago ↗
- 14d ago ↗
DEV Community: ai
Claude Code's "Don't Ask Again" Leaked Developers' Secrets to Public GitHub — Explained Honestly - 15d ago ↗
Hacker News: Front Page
Claude Code's "Don't Ask Again" exposes passwords in 1,122 public GitHub files - 16d ago ↗
The Hacker News
Claude Code's “Don't Ask Again” File Exposes Passwords and Keys in 1,122 Public Copies on GitHub