November 7, 2026
Claude Code's "Don't Ask Again" Setting Leaked 1,379 Secrets Across 1,122 Public GitHub Files, Apiiro Finds
Apiiro found that when developers approve a command with "Yes, and don't ask again," Claude Code can store the exact command, including embedded secrets, in .claude/settings.local.json. Searching public GitHub, researchers found 104,185 copies of the file, with 1,122 containing at least one secret — 1,379 secrets total, including 379 database passwords, 42 GitHub/GitLab/npm tokens and 23 AWS keys. Common secret scanners missed many of them.
Leaked API keys and tokens from agent config files give attackers authenticated access to production APIs. Teams need to treat agent folders as secret stores and watch for credential-driven API abuse.
Agentic/MCP
Read full story