Skip to content
Submit incident
AII-1000-65523
ConfirmedA court, a regulator or the organization itself has stated the core facts, or the record cites a court or regulator source.

Anthropic's Claude Code source code accidentally leaked on GitHub

Anthropic accidentally leaked the source code for its Claude Code AI agent on GitHub on March 31, 2026. The code spread rapidly and generated millions of views before Anthropic issued copyright takedown notices to remove it. Security experts noted the exposed framework could help competitors understand Anthropic's engineering approach, though critical core elements were not compromised.

31 March 2026 · Anthropic · Intellectual property and appropriation
31 March 2026
AII-1000-65523View source ↗
Quick facts
Category
Intellectual property and appropriation
Country
United States
Source
businessinsider.jp
Date
31 March 2026
Drafted by
Raidu Incident Detection

What happened

Anthropic accidentally exposed the source code for its AI agent Claude Code on GitHub on March 31, 2026. The code spread rapidly, accumulated millions of views, and spawned multiple derivative versions on GitHub before Anthropic took action.

Anthropic issued Digital Millennium Copyright Act (DMCA) takedown notices based on copyright to remove the leaked code and its forks from GitHub repositories.

Reported impact

A cybersecurity expert noted that while no critical core elements were exposed, the leaked code revealed the 'harness'—the software framework connecting Claude Code's language model to practical applications—which competitors could use to understand Anthropic's approach to difficult engineering challenges.

Index analysis

The incident exposed a paradox in the AI industry: the same tools enabling rapid product development also make information leakage and replication instantaneous and effortless, regardless of confidentiality status.

The leak created an ironic situation where Anthropic relied on copyright law to protect its own work while facing multiple lawsuits from creators alleging the company trained its models on their copyrighted content without permission.

Classification

Category
Intellectual property and appropriation
Industry
IT infrastructure and hosting
Country
United States
Harm status
Potential harm
Intent
Unintentional
Timing
Post-deployment
Harm types
Economic or property
Harmed
Business
Failure modes
Data leak
Consequences
Content removal
AI systems
Claude Code

Sources and evidence

This record was researched and written by the Index, based on the following original reporting.

businessinsider.jp
Anthropic's Claude Code source code accidentally leaked on GitHub
Oct 2026Sony and Warner Sue Anthropic Over Unauthorized Training on Copyrighted MusicAllegedIntellectual property and appropriationУКРІНФОРМSep 2026Biologist alleges Claude AI used unpublished research in enzyme discoveryAllegedIntellectual property and appropriationAnadolu AjansıCumhuriyetHaberler+1Sep 2026US government accuses six Chinese AI firms of stealing US AI modelsConfirmedIntellectual property and appropriationダイヤモンド・オンライン毎日新聞東京新聞 TOKYO Web+1Sep 2026Authors dispute publishers' claims on Anthropic copyright settlement paymentsWell documentedIntellectual property and appropriationThe New York TimesTechCrunchYahoo! FinanceAug 2026AI Companies Accused of Destroying Books for Model TrainingAllegedIntellectual property and appropriationAxiosCBS NewsCommon Dreams+1