TL;DR: an approval button turned into a credential store
Claude Code saves commands approved with "Yes, and don't ask again" as allow rules in .claude/settings.local.json, including any password or token written into the command. Apiiro found 1,379 distinct secrets in 1,122 public copies of that file, and 2,539 secrets across 1,994 public repositories once shared settings, Git history and transcripts were included. They include 379 database passwords, 122 Supabase service-role keys, 103 Supabase account tokens and 43 SSH credentials. Neither TruffleHog nor gitleaks flagged 215 of the 1,122 files. Lesson: rotate first, then clean up, and keep both credentials and design files out of reach of anything a repository can leak.
Keep design data safe even when a credential leaks. CADChain encrypts CAD files at file level, applies per-file and per-user permissions, logs every access and records ownership on a blockchain, so a leaked password does not automatically mean leaked designs.
👉 Protect your CAD files with CADChain
Make a leaked password a contained incident, not an IP loss. CADChain protects each CAD file with encryption, granular permissions, revocation and a full access log, across CAD systems and suppliers.
👉 See how CADChain protects CAD files