Nov 9, 2026  ·  1 min read

Claude Code settings file exposed 1,379 secrets in public GitHub repos

Apiiro, an application security company, found that a local settings file used by Claude Code, Anthropic's AI coding assistant, has leaked credentials into public GitHub repositories. When a developer approves a shell command permanently, the tool stores the full command, including any password or token in it. Apiiro counted 1,122 public copies of the file holding 1,379 distinct secrets, among them database passwords, AWS cloud keys, and logins for remote servers. The Hacker News reported the findings on November 7.

Any team using AI coding agents can commit such files by accident, and deleting them later does not erase git history. Apiiro says two common secret scanners missed 215 of the affected files. It advises rotating exposed credentials, keeping agent folders out of version control, and scanning git history. The report includes no Anthropic statement; it says related bug reports were closed automatically.

Source  ·  The Hacker News ↗ Claude Code's “Don't Ask Again” File Exposes Passwords and Keys in 1,122 Public Copies on GitHub Claude Code saves secrets in approved commands, exposing 2,539 credentials across 1,994 public GitHub repositories, Apiiro finds.
  1. Nov 17Helus says its psychedelic pill beat placebo in a depression trial
  2. Nov 17Anthropic adds text watermarking to four Claude 4 models
  3. Nov 17HHS finalizes HIPAA changes: 15-day record access and health app transfers
  4. Nov 16OpenAI lets its AI helpers complete your purchases
  5. Nov 16Fusion launches an early funding program for defense startups

This is our sketchbook.

Two stoneware cups turned towards each other, as if in conversation

Got a good project?
Let’s work on it together.

Let’s talk →

info@ndot.io · New Jersey · Budapest · Biel