International
The Morning Dev

Only the news worth knowing

‹
 

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 ·

Claude Code Has Been Leaking Secrets Through Its "Don't Ask Again" Feature

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

  1. Check public repositories for committed Claude Code settings or secret files
  2. Rotate any database or API credentials that may have been exposed
  3. 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

  1. The Hacker News

    Claude Code's “Don't Ask Again” File Exposes Passwords and Keys in 1,122 Public Copies on GitHub

  2. Hacker News: Front Page

    Claude Code's "Don't Ask Again" exposes passwords in 1,122 public GitHub files

  3. DEV Community: ai

    Claude Code's "Don't Ask Again" Leaked Developers' Secrets to Public GitHub — Explained Honestly

  4. DEV Community: ai

    Claude Code's "Don't Ask Again" exposes passwords in 1,122 public GitHub files

  5. AI - Ars Technica

    Claude Code is accidentally exposing secrets all over GitHub

  6. darkreading

    AI Coding Agents Leak Thousands of Secrets to GitHub

  7. DEV Community: ai

    $1.5T Valuation, Zero .gitignore: How Claude Code Leaked 2,539 Live Secrets to GitHub

  8. InfoQ

    Claude Code Has Been Leaking Secrets Through Its "Don't Ask Again" Feature

Full coverage · 8 sources

How do you feel about this?

0 Comments

    Claude Code Has Been Leaking Secrets Through Its "Don't Ask Again" Feature – The Morning Dev