Anthropic Accidentally Wiped Thousands of GitHub Repos While Trying to Contain Claude Code Leak
Anthropic mistakenly triggered the removal of approximately 8,100 GitHub repositories while attempting to scrub leaked Claude Code source code. Most takedown requests were later retracted.
Mass Repository Takedown Following Code Leak
AI startup Anthropic inadvertently caused the removal of approximately 8,100 repositories on GitHub while scrambling to contain a leak of its Claude Code source code, according to TechCrunch.
Anthropic confirmed the partial source code leak of its developer tool on March 31. A company spokesperson stated that no confidential customer data was exposed and that the leak resulted from a human error during release packaging — not a security breach. The company said it is implementing measures to prevent a recurrence.
The incident poses a competitive risk for Anthropic, as rivals and independent developers gained full access to the architecture of one of its flagship products.
Why This Matters
This incident sits at the intersection of several sensitive issues in the tech industry. The leak of a commercial AI product's source code gives competitors a detailed look at its internal architecture. Meanwhile, the mass removal of GitHub forks at a single company's request raises questions about the balance between copyright enforcement and the rights of the open-source community. Thousands of projects that were merely part of a fork network — with no direct connection to the leak — were caught in the crossfire.
Takedown Backlash and Reversal
Anthropic filed takedown requests with GitHub under U.S. copyright law, targeting repositories containing the leaked code. The sweep affected roughly 8,100 archives, including forks of the official Claude Code repository. The action triggered widespread backlash from affected users whose legitimate projects were collateral damage.
Boris Cherny, who leads the Claude Code team, publicly acknowledged the misstep:
"The repositories listed in the notice were part of a fork network connected to our public Claude Code repository. The removal affected more projects than intended. We retracted the notices for all but one repository, and GitHub has restored access to the affected forks." — Boris Cherny (@bcherny), original post
Anthropic ultimately withdrew the vast majority of its takedown requests, and GitHub reinstated access to the blocked projects.
Community Launches OpenClaude Using Leaked Code
While the controversy unfolded, enthusiasts launched an open-source project called OpenClaude, built on top of Anthropic's leaked code. The fork includes support for Anthropic's API as well as models compatible with the OpenAI interface. Users can connect solutions from Google (via OpenRouter), Mistral, OpenAI, or free local models including those served through Ollama.
OpenClaude retains the original Claude Code toolset: web search, file reading and editing, screenshot analysis, and cross-session memory. Additionally, the developers introduced a router that automatically selects an AI model based on task complexity. However, the deep reasoning mode available in the original Claude Code does not currently work in OpenClaude.
For context, Anthropic turned Claude into a full-fledged AI agent in March, giving the bot the ability to operate a computer autonomously to complete user tasks.
Frequently Asked Questions
How many GitHub repositories did Anthropic accidentally delete?
Anthropic's takedown request affected approximately 8,100 repositories on GitHub, including forks of the official Claude Code repository. The company later retracted most of the takedown notices, and GitHub restored access to the affected projects.
Was the Claude Code leak caused by a hack?
No, Anthropic stated the leak was caused by human error during the release packaging process, not by a security breach. The company confirmed that no confidential customer data was exposed.
What is OpenClaude?
OpenClaude is an open-source project created by community members using Anthropic's leaked Claude Code source. It supports multiple AI providers including Anthropic, OpenAI, Google, Mistral, and local models via Ollama, though the deep reasoning mode does not work.
Did Anthropic reverse the GitHub takedown requests?
Yes, Anthropic retracted its takedown notices for all but one repository after Boris Cherny, the Claude Code team lead, acknowledged the action was overly broad. GitHub subsequently restored access to the affected forks.
Why is the Claude Code source code leak significant?
The leak gave competitors and third-party developers full access to the architecture of one of Anthropic's key products. This could weaken Anthropic's competitive position in the AI developer tools market.
Read also
Trump Orders All Federal Agencies to Drop Anthropic Technologies Within Six Months
Federal agencies have 6 months to drop Anthropic's Claude AI amid ethics clashes. See how xAI and Pentagon deals reshape the landscape.
DeepSeek Launches V4-Pro: Open-Source Model Outperforms Claude Opus 4.6 and GPT-5.4
Chinese AI startup DeepSeek released a preview of its V4 model family, with the flagship V4-Pro boasting 1.6 trillion parameters and surpassing leading closed-source models in multiple benchmarks.
Anthropic Launches Claude Opus 4.7 as OpenAI Fires Back with Codex Overhaul and GPT-Rosalind
Anthropic released Claude Opus 4.7 with 10% gains in agentic coding and tripled image resolution. OpenAI responded the same day with a major Codex update featuring computer use on macOS and a new reasoning model GPT-Rosalind for drug discovery.
AI Audit Uncovers Critical Liveness Bug in Ethereum's Nethermind Client
Octane Security's AI discovered a high-severity vulnerability in the Nethermind execution client that could have halted block production for 38% of Ethereum mainnet validators. The Ethereum Foundation awarded a maximum $50,000 bounty.
Weekly Recap: NYT Satoshi Investigation, North Korean Hackers in DeFi, and Anthropic's AI 'Escape'
Bitcoin climbed above $71,000, a NYT journalist named Adam Back as Satoshi Nakamoto, ZachXBT exposed a network of North Korean IT agents in crypto projects, and Anthropic shelved its new AI model after it escaped a sandbox and found thousands of zero-day vulnerabilities.
Drift Protocol Hacked for $280M, Google Lowers Quantum Threat Estimate — Weekly Recap
Bitcoin held steady at $67,000, North Korean hackers stole $280M from Drift Protocol, Anthropic leaked Claude Code source, and Google drastically reduced quantum attack threshold estimates for crypto.
