// AI news · 2026-11-22 · InfoQ
Claude Code Leaks Secrets via 'Don't Ask Again' Feature
Apiiro found that Claude Code stores command approvals in local files, exposing secrets like passwords and API keys.
Published 2026-11-22 19:00 (Beijing time)Source InfoQAuto-summarised, fact-checked against source
01Summary
These files are sometimes committed to Git repos without proper .gitignore protection. The settings contain sensitive data accessible across projects, and existing scanners fail to detect secrets embedded in shell commands or transcripts.
Summarised from the original article by an open-source model, then checked automatically: every number and English name must appear in the source. The original article is authoritative.
02Key points
- Claude Code stores command approvals in local files that may contain secrets.
- Files are sometimes committed to Git without being protected by .gitignore.
- 63 organizations were affected with exposed cloud keys, passwords, and tokens.
- Secrets embedded in shell commands evade detection by standard scanners.
03Source
Claude Code Has Been Leaking Secrets Through Its "Don't Ask Again" Feature
InfoQ · published 2026-11-22 19:00 Beijing time
05Related news
- Same source · QCon 2026: Harness Is New OS2026-11-23 · InfoQ
- Same source · Uber launches secure AI framework for agent lifecycle2026-11-16 · InfoQ
- Same topic · Integrating LLM Code Review into GitHub Actions2026-11-23 · Dev.to LLM
- Same topic · Developer builds rhythm game Jamlah with Claude Fable 5.22026-11-23 · Dev.to AI
- Same day · US Banks Ban Third-Party AI Agents from Logging In2026-11-22 · WIRED
From AIMap AI news: collected from 1,100+ official and media sources. Summaries only restate the original article; follow the link for the full story. All stories of 2026-11-22 · Archive by date · All AI news · Today