Claude Code Has Been Leaking Secrets through its "Don't Ask Again" Feature
Agentic security firm Apiiro found that Claude Code has been exposing secrets in public repositories through the way it implements its "Don't Ask Again" feature, which stores them in a local file on developers' machines. Apiiro identified 1,122 secrets in claude/settings.local.json files. It found another 1,160 in git history, in the shared settings.json file and in agent chat transcripts stored in repositories.





















