Anthropic Files DMCA Takedowns Against 8,000 Claude Code Repos
Following the March 31 sourcemap leak, Anthropic has filed DMCA copyright takedown notices targeting roughly 8,000 GitHub repositories hosting copies of the Claude Code source.
Anthropic has filed DMCA copyright takedown notices targeting approximately 8,000 GitHub repositories that hosted copies of the Claude Code source code following the accidental March 31 sourcemap leak. I’ve been watching the GitHub DMCA repository, where takedown notices are publicly logged, and the scale of the effort is notable.
The Scale of the Takedown
Eight thousand takedown notices is a large number. For context, it means the Claude Code source code spread to roughly 8,000 distinct repositories in under 24 hours after the leak was discovered. Some of those would have been automated mirrors, bots that fork and archive interesting repositories quickly. Others were developers preserving the code for analysis, either publicly or as a precaution before Anthropic’s response.
GitHub’s DMCA takedown process, when properly filed, results in the repository being disabled and the owner receiving a notification. Owners can file a counter-notice if they believe the takedown is improper, at which point GitHub waits ten days before restoring access unless Anthropic files a lawsuit. In practice, most affected repositories will be taken down without response.
What This Doesn’t Solve
The takedown effort is legally logical and probably required, Anthropic’s copyright claim on Claude Code’s source is clear, and leaving thousands of public copies online without response could complicate future enforcement. But I want to be direct about what 8,000 GitHub takedowns can and can’t do.
GitHub is only one of the places the code lives now. By the time the takedown campaign began, the code had already been:
- Downloaded to hundreds of thousands of developer machines through the npm package itself during its live window
- Posted to forums, discussion threads, and messaging platforms outside GitHub
- Archived on non-GitHub git hosting services
- Stored in private repositories that won’t appear in any takedown sweep
- Indexed by search engines that crawled public repos before they were removed
The code is effectively in the wild. DMCA takedowns can clean up the most visible copies on one platform, and there are legal and reputational reasons to do that, but they don’t put the information back in the bottle.
What Developers Were Finding
Before takedowns accelerated, I tracked a fair amount of public analysis happening in real time. Developers were reading the source and discussing what they found, particularly around architecture decisions that weren’t documented publicly.
The discussion centered on a few areas: the verification and entitlement system that governs feature access, the internal agent loop structure, and how the skill system is implemented. Several developers noted that Claude Code’s architecture is meaningfully more sophisticated than what the documentation describes, not in a suspicious way, but in the sense that there’s substantial engineering in the tool that isn’t visible from the outside.
Some of that analysis is now in the heads of developers who read it, even if the repositories hosting it have been removed. Knowledge doesn’t disappear with a DMCA notice the way a hosted file does.
The Legal Position
Anthropic’s copyright claim is on solid ground. The Claude Code source code is proprietary software. The fact that it was accidentally included in an npm package doesn’t change its copyright status, accidental disclosure doesn’t constitute a license to copy, distribute, or build derivative works.
The more interesting legal question involves the clean-room reimplementation attempts that some developers have already started. The argument there is that rewriting functionality from scratch, without copying actual code, is protected, you can’t copyright an idea, only a specific expression of it. That’s a real legal principle, but it’s also highly fact-specific and will depend on how closely any reimplementation tracks the original.
I’ll be watching how that particular thread plays out. The Claude Code leak and the DMCA response are both significant enough to have downstream effects on how the AI coding tools space develops over the next year.
What This Means for the Ecosystem
The immediate effect is a lot of removed GitHub repositories and a lot of frustrated developers who wanted to continue analyzing the code. The longer-term effect is harder to predict.
Anthropic’s architecture and design choices are now visible to a wide audience of developers, some of whom work at competing AI labs or on competing tools. Whether that changes the competitive landscape depends on what people do with that knowledge. Clean-room reimplementations, inspired-by-but-not-copied implementations, and independent convergence on similar patterns are all possible outcomes that DMCA takedowns can’t prevent.
The accidental leak is genuinely unfortunate for Anthropic, and the DMCA response is the right legal move. It just can’t undo what already happened during the window the code was public.
Sources
- [1]
- [2]
- [3]
-
[4]
GitHub DMCA takedown policy(docs.github.com)
Illustration: AI-generated (gpt-image-2)
Written by Bobby Smart
@mrbobbysmart