Saturday 7 November
Global

Your region, kept on this device.

Claude Code approval feature exposed 2,539 secrets in 1,994 public GitHub repositories

Severity
Medium
Sources
1

Research published on November 5 identified 2,539 distinct secrets across 1,994 public GitHub repositories. The exposure is traced to coding-agent configuration files, Git history and saved transcripts, and the research says 's "Yes, and don't ask again" approval can persist credential-bearing shell commands in .claude/settings.local.json. Exposed items included production database passwords, cloud credentials, API tokens and SSH material. The article does not give affected versions or a CVE, and it is truncated, so further remediation guidance is not available.

For security analysts · Written by AI from 1 source · Wrong?

What to do

  1. Search your public GitHub repositories for .claude/settings.local.json files and remove any credentials they contain.
  2. Rotate any database passwords, cloud credentials, API tokens or SSH keys that may have been stored in agent configuration files or Git history.

Written by AI from the sources, checked against them

Full story timeline · 1 update

  1. Sat 7 NovemberClaude Code’s “Don’t Ask Again” Feature Exposes 2,539 Secrets Across 1,994 GitHub RepositoriesGBHackers

Who reported · 1 outlet

GBHackers

Who and what is in it

Products

Report a problem