Passwords, API tokens and other secrets have surfaced in public GitHub repositories through settings files for Claude Code, a tool that runs automated shell commands, Ars Technica reported, citing AI security researchers at Apiiro.[1] Apiiro found about 1,100 files containing secrets across 63 organizations.[1] User approval for repeated command execution can save sensitive contents in settings; protection against uploading those files does not carry over to every repository.[1] Claude Code’s Boris Cherny said the team was investigating prevention and recommended secret scanners, though Apiiro found two popular scanners missed some exposed secrets, Ars Technica reported.[1] The exposure turns permission to run a command into a potential disclosure of credentials, which can persist in project copies even after the original files are removed.[1]
Claude Code settings expose secrets in public GitHub repositories
Apiiro found about 1,100 files containing secrets; Boris Cherny said the team was investigating prevention and recommended secret scanners, according to Ars Technica.
0 primary · 1 independent · 0 commentary · 0 vendorSources
- Claude Code is accidentally exposing secrets all over GitHub Ars Technica Independent