Research by Apiiro found that 1,122 of 104,185 public copies of Claude Code's .claude/settings.local.json on GitHub contain at least one real secret — 1,379 distinct secrets in total, including 636 provider keys and 743 passwords or tokens, of which 379 are database passwords and 122 are Supabase service-role keys. The leak mechanism is the "Yes, and don't ask again" approval flow: the approved command, credentials included, is written verbatim into the project-level settings file, which is then committed and published. Examples include a database vendor's admin-level cloud key, a production Azure Postgres password, a Square production token and the owner password of a medical-records database. Apiiro did not validate whether the secrets still work, and advises rotation before cleanup. The finding underscores a growing class of AI-coding-tool supply-chain exposure.
| Attribute | Detail |
|---|---|
| Sector | Global (Macro) |
| Date | 2026-11-09 |
| Source | The Hacker News |
| Reliability | Tier 2 |