In a significant misstep, Anthropic inadvertently triggered the removal of thousands of code repositories on GitHub while attempting to manage access to its popular Claude Code command line application. The incident began when a software engineer discovered that the source code for Claude Code had been mistakenly included in a recent release, sparking interest among AI enthusiasts who quickly began to analyze and share the leaked code on GitHub.
In response to the leak, Anthropic issued a takedown notice, citing U.S. digital copyright law, which requested GitHub to remove repositories containing the inadvertently exposed source code. The takedown notification affected around 8,100 repositories—many of which were legitimate forks of Anthropic’s own publicly available Claude Code repository. This move sparked considerable backlash on social media as users expressed frustration over the unintended blockage of their legitimate projects.
Boris Cherny, the head of Claude Code, acknowledged the mistake, emphasizing that the takedown was unintentional. The company subsequently retracted the majority of its takedown notices, limiting them to a single repository and 96 forks that contained the released source code. An Anthropic spokesperson clarified the situation, stating, “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. We retracted the notice for everything except the one repo we named, and GitHub has restored access to the affected forks.”
This incident has raised questions regarding Anthropic’s operational oversight, especially as the company reportedly prepares for an initial public offering (IPO). The management of such a public offering typically requires meticulous attention to operational execution and compliance. The accidental leak, along with the subsequent mishandling of takedown requests, could have serious implications, including the possibility of shareholder lawsuits.
As the situation develops, the impact on Anthropic’s reputation and its forthcoming IPO remains uncertain, with industry observers keenly watching for further repercussions from this noteworthy blunder.


