Skip to Content
logologo
AI Incident Database
Donate
Discover
Submit
  • Welcome to the AIID
  • Table View
  • List view
  • Entities
  • Taxonomies
  • Spatial View
  • Blog
  • AI News Digest
  • Random Incident
  • Sign Up
Discover
Submit
  • Welcome to the AIID
  • Table View
  • List view
  • Entities
  • Taxonomies
  • Spatial View
  • Blog
  • AI News Digest
  • Random Incident
  • Sign Up

Incident 1846: Credentials Saved by Anthropic's Claude Code AI Coding Assistant Reportedly Appeared in Public Repositories

Description: Anthropic's Claude Code AI coding assistant reportedly stored credentials embedded in commands approved for reuse. When settings files containing those approvals were published, developers' and organizations' credentials reportedly became public. Researchers reportedly found 31,088 distinct secrets in local settings files in public GitHub repositories, including 5,343 that worked when detected. Credentials also reportedly appeared in public container images on Docker Hub.

Tools

New ReportNew ResponseDiscoverView History

Entities

View all entities
Alleged: Large language model developers , Chatbot developers , Anthropic and AI agent system developers developed an AI system deployed by Software developers , Claude Code users , Chatbot users , AI coding assistant users and AI agent system deployers, which harmed Claude Code users , AI coding assistant users , Organizations whose internal data was exposed by AI coding agents , Information security and AI agent system users.
Alleged implicated AI systems: LLM-powered coding assistants , Large language models , GitHub , Docker Hub , Claude Code , Chatbots , Anthropic large language models and AI agent systems

Incident Stats

Incident ID
1846
Report Count
3
Incident Date
2026-11-02
Editors
Daniel Atherton

Incident Reports

Reports Timeline

Incident OccurrenceCoding Agents Copy Your Secrets to a Hidden File. Thousands Are on GitHubClaude Code settings.local.json Secrets: 17 months of exposure on GitHub, & Docker HubClaude Code’s ‘don’t ask again’ button has a secrets-spilling problem
Loading...
Coding Agents Copy Your Secrets to a Hidden File. Thousands Are on GitHub

Coding Agents Copy Your Secrets to a Hidden File. Thousands Are on GitHub

apiiro.com

Loading...
Claude Code settings.local.json Secrets: 17 months of exposure on GitHub, & Docker Hub

Claude Code settings.local.json Secrets: 17 months of exposure on GitHub, & Docker Hub

blog.gitguardian.com

Loading...
Claude Code’s ‘don’t ask again’ button has a secrets-spilling problem

Claude Code’s ‘don’t ask again’ button has a secrets-spilling problem

csoonline.com

Loading...
Coding Agents Copy Your Secrets to a Hidden File. Thousands Are on GitHub
apiiro.com · 2026

Update, November 8: Anthropic's Head of Claude Code responds. Boris Cherny responded on Hacker News on November 7 and took part in the discussion through the weekend. He said the team is "looking into what we can do to prevent this," named…

Loading...
Claude Code settings.local.json Secrets: 17 months of exposure on GitHub, & Docker Hub
blog.gitguardian.com · 2026

TL;DR

  • 31,088 secrets, 5,343 valid: GitGuardian found 31,088 distinct secrets in Claude Code’s .claude/settings.local.json on public GitHub, across 23,276 repositories, and 5,343 of them worked when we detected them.
  • “Yes, and don’t ask aga…
Loading...
Claude Code’s ‘don’t ask again’ button has a secrets-spilling problem
csoonline.com · 2026

A configuration file meant to store local command permissions on Anthropic’s Claude Code is exposing thousands of API keys, database credentials and other secrets, according to findings by GitGuardian.

The code security firm identified 31,0…

Variants

A "variant" is an AI incident similar to a known case—it has the same causes, harms, and AI system. Instead of listing it separately, we group it under the first reported incident. Unlike other incidents, variants do not need to have been reported outside the AIID. Learn more from the research paper.
Seen something similar?

Similar Incidents

By textual similarity

Did our AI mess up? Flag the unrelated incidents

Loading...
GitHub Copilot, Copyright Infringement and Open Source Licensing

GitHub Copilot, Copyright Infringement and Open Source Licensing

Jun 2021 · 5 reports
Loading...
Inappropriate Gmail Smart Reply Suggestions

Inappropriate Gmail Smart Reply Suggestions

Nov 2015 · 22 reports
Loading...
The DAO Hack

The DAO Hack

Jun 2016 · 24 reports
Previous Incident

Similar Incidents

By textual similarity

Did our AI mess up? Flag the unrelated incidents

Loading...
GitHub Copilot, Copyright Infringement and Open Source Licensing

GitHub Copilot, Copyright Infringement and Open Source Licensing

Jun 2021 · 5 reports
Loading...
Inappropriate Gmail Smart Reply Suggestions

Inappropriate Gmail Smart Reply Suggestions

Nov 2015 · 22 reports
Loading...
The DAO Hack

The DAO Hack

Jun 2016 · 24 reports

Research

  • Defining an “AI Incident”
  • Defining an “AI Incident Response”
  • Database Roadmap
  • Related Work
  • Download Complete Database

Project and Community

  • About
  • Contact and Follow
  • Apps and Summaries
  • Editor’s Guide

Incidents

  • All Incidents in List Form
  • Flagged Incidents
  • Submission Queue
  • Classifications View
  • Taxonomies

2026 - AI Incident Database

  • Terms of use
  • Privacy Policy