TrendPulse Logo

Anthropic took down thousands of GitHub repos trying to yank its leaked source code — a move the company says was an accident

Source: TechCrunchView Original
technologyApril 2, 2026

In Brief

Posted:

3:12 PM PDT · April 1, 2026

Image Credits:Samyukta Lakshmi/Bloomberg / Getty Images

-

- Tim Fernholz

Anthropic took down thousands of GitHub repos trying to yank its leaked source code — a move the company says was an accident

Anthropic accidentally caused thousands of code repositories on GitHub to be taken down while trying to pull copies of its most popular product’s source code off the internet.

On Tuesday, a software engineer discovered that Anthropic had, seemingly by accident, included access to the source code for the category-leading Claude Code command line application in a recent release. AI enthusiasts pored over the leaked code for clues about how Anthropic harnesses the LLM that underlies the application, sharing it on GitHub.

Anthropic issued a takedown notice under U.S. digital copyright law asking GitHub to take down repositories containing the offending code. According to GitHub’s records, the notice was executed against some 8,100 repositories — including legitimate forks of Anthropic’s own publicly released Claude Code repository, according to irate social media users whose code got blocked.

Anthropic’s head of Claude Code, Boris Cherny, said the move was accidental and retracted the bulk of the takedown notices, limiting it to one repository and 96 forks with the accidentally released source code.

“The repo named in the notice was part of a fork network connected to our own public Claude Code repo, so the takedown reached more repositories than intended,” an Anthropic spokesperson told TechCrunch. “We retracted the notice for everything except the one repo we named, and GitHub has restored access to the affected forks.”

The botched clean-up here is another black eye for the company as it reportedly plans an IPO, a task which typically demands attention to execution and compliance. Leaking your source code as a public company? You better believe there’s a shareholder lawsuit coming.

Topics

AI, Anthropic, GitHub, In Brief

April 30

San Francisco, CA

StrictlyVC kicks off the year in SF. Get in the room for unfiltered fireside chats with industry leaders, insider VC insights, and high-value connections that actually move the needle. Tickets are limited.

REGISTER NOW

Newsletters

See More

Subscribe for the industry’s biggest tech news

TechCrunch Daily News

Every weekday and Sunday, you can get the best of TechCrunch’s coverage.

TechCrunch Mobility

TechCrunch Mobility is your destination for transportation news and insight.

Startups Weekly

Startups are the core of TechCrunch, so get our best coverage delivered weekly.

StrictlyVC

Provides movers and shakers with the info they need to start their day.

No newsletters selected.

Subscribe

By submitting your email, you agree to our Terms and Privacy Notice.

Related

-

AI

Cognichip wants AI to design the chips that power AI, and just raised $60M to try

- Tim Fernholz

11 hours ago

-

AI

Anthropic is having a month

- Connie Loizos

1 day ago

-

Startups

Yupp shuts down after raising $33M from a16z crypto’s Chris Dixon

- Julie Bort

1 day ago

Latest in AI

-

In Brief

Anthropic took down thousands of GitHub repos trying to yank its leaked source code — a move the company says was an accident

- Tim Fernholz

5 hours ago

-

Climate

Meta’s natural gas binge could power South Dakota

- Tim De Chant

8 hours ago

-

AI

Cognichip wants AI to design the chips that power AI, and just raised $60M to try

- Tim Fernholz

11 hours ago