{"resourceId":"ars-technica-apiiro-claude-code-settings-files-leak-secrets-github-20261109","versions":[{"version":"external-5b651fc259f9997fb6873dd70bbac425f2b09803d1e926aa3a6dedd51c521031","resource":{"id":"ars-technica-apiiro-claude-code-settings-files-leak-secrets-github-20261109","title":"Ars Technica: Apiiro finds about 1,100 public Claude Code settings files holding secrets from 'don't ask again' approvals; 215 missed by two common scanners","organization":"Ars Technica","sector":"Technology press","geography":"Global","publishedAt":"November 9, 2026","publicationDate":"2026-11-09","eventDate":"2026-11-06","sourceName":"Ars Technica","sourceLabel":"News report on independent security research","sourceUrl":"https://arstechnica.com/ai/2026/11/claude-code-settings-files-expose-thousands-of-secrets-on-github/","evidenceClass":"independent-reporting","outcomeClass":"cautionary","topics":["developers-agents","data-security"],"finding":"Ars Technica reports Apiiro research finding more than 100,000 Claude Code local settings files on public GitHub, about 1,100 of them from 63 organizations containing secrets such as database passwords and API tokens, because 'don't ask again' approvals can store commands verbatim. Two popular scanners missed 215 of the files. Anthropic's Claude Code lead said the team was looking into prevention; related bug reports from August 2025 had been auto-closed.","sledRelevance":"Interpretation: state and local IT shops and universities piloting Claude Code (e.g., Utah, California CDT/CalOES archived items) should check repositories for committed .claude/settings.local.json files and rotate any exposed credentials; standard scanners alone may miss them.","evidence":"Independent reporting of vendor-conducted research with counts and methods; corroborated by The Hacker News; Anthropic comment quoted from a public forum.","architectureImplications":"Interpretation: add repo-level .gitignore entries for .claude/settings.local.json and pre-commit secret scanning tuned for inline command credentials.","governanceImplications":"Interpretation: agency developer policies for AI coding tools should cover where approvals are stored and forbid inline secrets in commands.","securityPrivacyImplications":"Credential exposure via committed settings files; 215 cases missed by gitleaks and TruffleHog; secrets persist in forks after removal.","caveats":"Secondary reporting of Apiiro (a security vendor) research; Apiiro did not test whether secrets were live per The Hacker News; the Apiiro page itself rendered without article text via curl.","streamIds":["anthropic"],"roles":{"sales":"Lead with a concrete hygiene risk: public Claude Code settings files leaked roughly 1,100 sets of secrets, and common scanners missed some. For agency or university development managers adopting Claude Code, offer a bounded repository and configuration audit. This supports a security-baseline conversation, not a claim that Claude Code is unsafe to use or that any agency has been exposed.","engineering":"Fit: every Claude Code rollout. Add .claude/settings.local.json to repo-level .gitignore templates, scan existing repos and forks for it, rotate anything found, and tune scanners for inline command passwords. Prefer environment-based secrets over inline commands. Upgrade to Claude Code 2.1.323 or later, which changes 'don't ask again' handling (see changelog item). Validate by seeding a test secret and confirming detection.","delivery":"Delivery would run a one-time sweep plus ongoing controls: inventory repos, search for the file across public and internal Git, rotate secrets, add pre-commit hooks and update developer onboarding. DevSecOps owns it with application teams. Proposed acceptance: zero committed settings files in scanned repos and rotated credentials confirmed. Risks: secrets persisting in forks or history and incomplete scanner coverage."},"roleDetails":{"sales":{"customerProblem":"Developers using Claude Code may have committed settings files that store secrets from approved commands, and standard scanners can miss them.","stakeholders":["Application development manager","CISO","DevSecOps lead","Repository administrators"],"discoveryQuestions":["Which teams use Claude Code and where are their repos?","Have any .claude/settings.local.json files been committed?","Which secret scanners run today, and do they catch inline command passwords?","What Claude Code versions are deployed?"],"valueHypothesis":"A focused repository sweep and configuration baseline could find and rotate exposed credentials, bounded by scanner limits and fork persistence.","potentialEngagement":"A Claude Code repository and configuration audit with secret rotation.","unsupportedClaims":["That any specific agency leaked secrets","That the vendor fix removes already-committed secrets","Complete detection by any scanner"]},"engineering":{"fit":"Applies to all organizations using Claude Code with Git.","architectureIntegration":"Git hosting (public and internal), pre-commit hooks, CI secret scanning, Claude Code version management.","prerequisites":["Repository inventory","Secret scanning tools","Credential rotation process"],"constraints":["Secrets persist in forks and history","Scanners missed 215 files in the study","Global .gitignore does not apply on new clones"],"security":"Exposed tokens and passwords; prefer environment secrets and vaults; scan for inline command credentials.","proofOfValue":["Seed a test secret via a \"don't ask again\" approval and confirm detection","Search all repos for the settings file","Confirm upgraded clients no longer persist secret-bearing rules"]},"delivery":{"work":"Sweep repos, rotate exposed secrets and set preventive controls for Claude Code.","dependencies":["Git admin access","Secrets manager","Developer onboarding materials"],"ownership":"DevSecOps with application team leads.","skillsAdoption":"Developers learn to avoid inline secrets and to review settings files.","governanceCheckpoints":["Sweep completed before wider Claude Code rollout","Rotation confirmed for any found secrets","Baseline added to onboarding"],"acceptanceCriteria":["Proposed: zero committed settings files in scanned repos","Proposed: all found secrets rotated","Proposed: pre-commit hook deployed on active repos"],"risks":["Secrets lingering in forks","False sense of security from scanners","Older client versions in use"]}},"retrievedAt":"2026-11-14T04:24:54Z","enrichedAt":"2026-11-14T04:32:16Z","enrichmentBasis":"retrieved source","accessibilityWorkforceImplications":"Limited direct relevance.","procurementImplications":"Interpretation: when buying Claude Enterprise or Claude Code seats, include secure-configuration baselines in onboarding.","operatingModelImplications":"Interpretation: secret rotation and repository hygiene become part of AI coding tool operations.","sourceVerification":{"openedUrl":"https://arstechnica.com/ai/2026/11/claude-code-settings-files-expose-thousands-of-secrets-on-github/","referenceExcerpt":"Apiiro’s researchers found over 100,000 cases where Claude Code’s local settings file had been uploaded to a public GitHub repository.","promptVersion":"sled-research-v4.0","model":null,"basis":"agent-reported inspection"}}}]}