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.Supporting sources are pending verification.

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-65523
Quick facts
Category
Intellectual property and appropriation
Country
United States
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

Sources not yet published

This record was researched and written by the Index from original reporting. Its sources are still being verified by an editor, and they are listed here once that check is complete. Until then the record carries no reviewer.

How sources are verifiedSuggest a source for this incident