From the Anthropic edition of November 13, 2026
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
Ars Technica · Technology press · Global
- Publisher
- Ars Technica
- Original publication
- November 9, 2026
- Source retrieved
- 2026-11-14
- Event date
- 2026-11-06
What happened
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.
Why it matters
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 and measured results
Independent reporting of vendor-conducted research with counts and methods; corroborated by The Hacker News; Anthropic comment quoted from a public forum.
Limitations and uncertainty
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.
Put this evidence to work
Lighthouse Advisory interpretation, grounded in this source. Enriched 2026-11-14; this does not change the original publication date. Each role follows the same checklist so takeaways compare across sources.
Sales
Role takeaway
- Customer problem
- 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
- Discovery questions
- 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?
- Value hypothesis
- A focused repository sweep and configuration baseline could find and rotate exposed credentials, bounded by scanner limits and fork persistence.
- Potential engagement
- A Claude Code repository and configuration audit with secret rotation.
- Unsupported claims
- That any specific agency leaked secrets
- That the vendor fix removes already-committed secrets
- Complete detection by any scanner
Pre-sales engineering
Role takeaway
- Fit
- Applies to all organizations using Claude Code with Git.
- Architecture and integration
- 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.
- Proof of value
- 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
Role takeaway
- 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.
- Skills and adoption
- Developers learn to avoid inline secrets and to review settings files.
- Governance checkpoints
- Sweep completed before wider Claude Code rollout
- Rotation confirmed for any found secrets
- Baseline added to onboarding
- Acceptance criteria
- 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
Implementation considerations
Lighthouse Advisory interpretation across the operating dimensions a public-sector buyer must settle before this evidence becomes a design. Each note answers the question under its heading for this specific source.
Architecture and integration
What must connect, and where does the AI sit in the workflow?
Add repo-level .gitignore entries for .claude/settings.local.json and pre-commit secret scanning tuned for inline command credentials.
Governance
Who approves, reviews and stays accountable for outcomes?
Agency developer policies for AI coding tools should cover where approvals are stored and forbid inline secrets in commands.
Security and privacy
What data, permissions and controls need testing?
Credential exposure via committed settings files; 215 cases missed by gitleaks and TruffleHog; secrets persist in forks after removal.
Accessibility and workforce
Who is affected, and what skills or accommodations follow?
Limited direct relevance.
Procurement
What should contracts, pricing and exit terms secure?
When buying Claude Enterprise or Claude Code seats, include secure-configuration baselines in onboarding.
Operating model
Which teams own the service once it runs?
Secret rotation and repository hygiene become part of AI coding tool operations.
Publication history
- 2026-11-13Anthropic · Issue 158 resources
Stable resource ID: ars-technica-apiiro-claude-code-settings-files-leak-secrets-github-20261109