Claude Code permission files need a secret check before repository cleanup
Global software relevance; UK impact not established. Apiiro's research is dated 5 November 2026 and now includes a vendor response dated 7 November. Its collection covered 1–3 November; the exposed files often predated that window.
Does this affect me?
Development teams using Claude Code should inspect project permission files and repository history. This is about credentials recorded in approved commands, not the separate tampered extension incident previously covered by ColesCyber.
In plain English
An approval rule can retain an exact command, including a password or access token typed into it. If the settings file enters a public repository, the credential can become visible with the code. Apiiro found 1,122 public local-settings files containing values it classified as secrets; it did not test whether those credentials worked.
For your IT team
The vendor's documentation says local settings are automatically excluded through the user's Git configuration when created inside a repository. That does not remove an already tracked copy or clear its history. Check .claude/settings.local.json, shared settings and past commits; rotate exposed credentials, then untrack and clean the file. Avoid literal secrets in commands.
Apiiro's updated account quotes Claude Code lead Boris Cherny discussing possible preventive changes. A proposed approach is not a released fix.
For management — ColesCyber takeaway
Interpretation: ask for evidence of credential replacement as well as repository cleanup. Deleting today's file leaves historical copies and forks. The research establishes an exposure mechanism and sample findings, not a count of successful attacks.
Publication note
Prepared 9 November 2026 with AI assistance and source comparison. No independent human review is claimed.



Comments