AI Governance Institute
← News

Claude Code Exposed Credentials From 63 Organizations via GitHub

What happened

Researchers at Apiiro published findings showing that Claude Code is accidentally exposing secrets all over GitHub. They found more than 100,000 cases of the tool's local settings file uploaded to public repositories. Roughly 1,100 of those files, from 63 organizations, contained secrets such as database passwords, API tokens, and private keys. Claude Code, Anthropic's AI coding assistant, saves commands a user approves with "Yes, and don't ask again" in a local file called .claude/settings.local.json. The command is often saved as written, so any credentials embedded in it are captured too. The tool relies on a user-level exclusion rule to prevent the file from being shared publicly. That rule does not apply automatically inside a code repository, making accidental exposure easy. The issue was flagged in a Claude Code bug report as early as August 2025, and related reports were closed without action after 60 days of inactivity. A Claude Code team member said on Hacker News that the team is looking into how to prevent it. This incident follows a pattern of AI coding tool credential exposure. Related findings include the AI Coding Agents Leaked Sensitive Screenshots From 343 Organizations to Public GitHub report. The broader governance gap is documented in AI Coding Tools Are Privileged Agents. Most Governance Programs Don't Treat Them That Way.

Why it matters

  • ·Enterprises that classify AI coding assistants as low-risk productivity tools rather than privileged systems with access to credentials face a direct gap in their third-party AI vendor controls. Secrets exposed from 63 organizations confirm the risk is real, not theoretical. Affected companies may face breach notification obligations under the GDPR or comparable state laws depending on what data the exposed credentials protected.
  • ·Anthropic closed related bug reports without action before public disclosure. This weakens any vendor risk program that relies on the vendor to surface or remediate security issues. Compliance teams that have not independently tested AI coding tool configurations cannot assume their vendor will flag problems first.
  • ·Developers routinely embed credentials in commands to streamline their workflows. AI coding tools that store those commands create a persistent record of sensitive material. That record sits outside normal secrets management programs. This exposure pattern will recur across any AI tool that logs approved commands, instructions, or context in local or repository-accessible files.

Stay ahead of stories like this

Get every Global AI governance development like this one, plus the rest of the week's developments. Every Thursday.

Free every Thursday. Unsubscribe anytime.

What to do now

  • ☐Search your organization's public and private repositories immediately for `.claude/settings.local.json` files or equivalent Claude Code configuration files, and audit any found for embedded credentials.
  • ☐Rotate all credentials found in exposed Claude Code settings files, including copies in forks and check access logs for those credentials to determine whether unauthorized use occurred.
  • ☐Update your secrets management policy to explicitly prohibit embedding credentials in commands approved for AI coding tools, and add a repository scanning rule that flags AI tool configuration files before any push to a shared repository.
  • ☐Review your vendor risk assessment for Anthropic and other AI coding tool providers to determine whether their incident response and bug disclosure practices meet your vendor notification requirements. Document whether your current contracts require vendors to notify you when security reports about their tools are closed without remediation.
  • ☐Extend your AI tool acceptable use policy to classify AI coding assistants as systems with privileged access to developer credentials, not general productivity software, and require a data boundary review before approving any such tool for use on production codebases.

Related guidance: How do we govern agentic coding assistants and AI developer tools? · How do we ensure third-party AI vendors meet our standards? · What AI agent security controls do we need as agent autonomy expands?

Related controls: AI Developer Tool Data Boundary Controls · Sensitive Data Handling in AI Pipelines · AI API Credential Management · AI Vendor Due Diligence · Vendor AI Incident Notification Requirements

What to watch next

Anthropic has said it is looking into the problem. It has not announced a remediation plan or a timeline for fixing how Claude Code handles its settings file. Compliance teams should monitor whether the vendor issues a formal security advisory, changes the tool's default behavior, or publishes guidance for affected organizations. Regulators focused on software supply chain security are paying attention to AI coding tool credential exposure. Future vendor risk assessments will likely need to account for how AI developer tools store and protect operational configuration data. Teams should also watch for enforcement signals from data protection authorities in jurisdictions where the exposed credentials protected personal data, particularly under the GDPR.

Related Coverage

Research2026-11-26

Attackers Stole AI Prompts and Tested Embedded Secrets Within Hours

Security company Dragos sent nearly 2 million test prompts to AI hosting and routing services between July and November 2026, embedding unique decoy credentials in each. Attackers stole prompts from at least three hosting providers and tested some of the embedded credentials within hours of their appearance. MiniMax acknowledged its security software logged and opened URLs from prompts forwarded through OpenRouter and other providers, and has since disabled the process and deleted the logged URLs.

Enforcement2026-11-24

CISA's 9.9-Severity Jet Admin Flaw Has No Patch, Only a Vendor Sandbox Mitigation

CISA published advisory VA-26-317-01 on November 13, 2026, identifying a prompt injection vulnerability (CVE-2026-123965) in the Jet Admin Cloud Platform. The flaw scored 9.9 on the CVSS v3.1 severity scale and could allow a remote attacker with a free account to access environment configuration files and extract credentials. CISA's advisory states no fix is available, noting only that a sandbox mitigation was deployed by the vendor around October 29, 2026.

Research2026-11-18

Fireworks AI Breach Exposes 149,000 Uber Drivers' License Data

Hackers used stolen credentials to access a dedicated cloud storage environment Uber had set up for AI inference vendor Fireworks AI, exposing personal data for approximately 149,346 Uber drivers. Stolen data included driver's license images, names, home addresses, dates of birth, and license numbers. This was the second security incident at Fireworks AI in October 2026. Uber did not begin notifying affected drivers until more than a month after learning of the breach.