Skip to content

Claude Code

Claude Code approvals put keys in 1,122 public GitHub files

Written by an AI model from the linked sources and checked against them by a second model. How we work

Image: realground.com

If you’ve approved a Claude Code command containing a password or API key with “Yes, and don’t ask again,” that secret may be stored word-for-word in a project settings file, security firm Apiiro found. Those files end up committed to public GitHub repositories, and the exposure is reported as affecting 1,122 public files.

The file is .claude/settings.local.json, and in many cases Claude was listed as co-author of the commit that published it, according to Aviatrix.

No comments yet. Be the first.

Join the conversation

Sign in to leave a comment. It appears after moderation.