ai-devtools —

Claude Code exposes passwords, keys in 1,122 public GitHub copies

A total of 1,122 public GitHub repositories contain passwords and API keys exposed through Claude Code's "Don't Ask Again" feature, making them accessible to anyone.

Claude Code exposes passwords, keys in 1,122 public GitHub copies

This vulnerability arises because when a user opts to select "Yes, and don't ask again," Anthropic's AI coding assistant has the capability to store the command verbatim, including any sensitive secrets, within a project settings file.

Yesterday, the software security firm Apiiro reported this discovery, detailing that 1,122 public instances of this exposure were found.

This incident highlights potential risks associated with integrating advanced AI coding assistants into development workflows, particularly concerning the persistence of credentials within version control systems.

Why it matters

This incident highlights significant risks in AI coding assistants where user input, including secrets, can be persisted publicly. Operators must closely monitor how their development platforms handle sensitive credentials passed to generative AI tools.

Earlier coverage

ai-devtoolssecurity

Related coverage

Elsewhere in this edition