← Hacker News

GitHub has DMCA'd nearly all forks of the official Claude-code repo

Hacker News · cg505 · March 31, 2026

Detailed Analysis

Anthropic filed a sweeping DMCA takedown notice against GitHub in late March 2026, targeting a network of over 8,100 repositories that had forked the official Claude Code repository after proprietary source code was leaked. The notice, documented in GitHub's public DMCA repository and dated March 31, 2026, invoked GitHub's network-wide takedown policy, under which a claimant may assert that all forks of a parent repository infringe to the same degree as the original, enabling GitHub to disable the entire repository network in a single action. The scope of the takedown was sweeping enough to capture repositories like cg505/claude-code — forks that had been untouched since as early as May 2025 — drawing immediate and vocal backlash from developers on platforms such as Hacker News, who reported reputational harm stemming from DMCA notices appearing against their otherwise dormant or innocuous accounts.

Anthropic acknowledged the overreach relatively quickly, admitting that some notices had struck unrelated or clearly non-infringing repositories, and the company began issuing retractions for the improper takedowns. This admission underscored a significant operational risk inherent in large-scale, automated or semi-automated intellectual property enforcement: when a net is cast wide enough to cover thousands of repositories at once, the probability of collateral damage to innocent developers increases substantially. GitHub's own DMCA policy technically permits such network-wide claims but also states that the platform errs on the side of developers in cases involving circumvention disputes and provides legal assistance through its Developer Defense Fund — resources that became relevant to several affected users who had no meaningful connection to the leaked code.

The episode also produced an instructive counter-response from the developer community. At least one engineer, faced with the removal of Claude Code's leaked system instructions, used AI-assisted tools to rewrite the instructions from scratch in Python, producing a functionally equivalent version that was no longer considered direct copying of Anthropic's proprietary materials. This rewritten version gained traction quickly, circulating freely on GitHub and evading further removal attempts — illustrating how the redistribution of functional knowledge can outpace legal enforcement mechanisms when the underlying information is sufficiently general or reconstructible.

The incident fits into a broader and accelerating tension between AI companies protecting their intellectual property and an open-source community that has historically treated AI system prompts, model weights, and inference-time instructions as subjects of legitimate public study. As frontier AI models like Claude are increasingly deployed via developer-facing tools, the system instructions and operational scaffolding underlying those tools become commercially sensitive in ways that traditional software licensing frameworks were not designed to address. Anthropic's DMCA action, however imperfectly executed, signals that AI labs are beginning to treat leaked agentic tooling configurations with the same seriousness as leaked model weights or training data.

More broadly, the botched rollout of the takedown highlights a structural challenge for AI companies operating at scale: enforcement mechanisms designed for individual or small-batch infringement may produce disproportionate and reputationally damaging outcomes when applied algorithmically to entire repository networks. GitHub's transparency in publishing DMCA notices publicly — a practice that served the developer community well here by enabling rapid identification of overbroad claims — stands in contrast to the opacity of the enforcement decision-making that led to the takedown in the first place. As AI companies grow and as the tools they build become more deeply embedded in developer workflows, the governance of intellectual property around those tools will require more precise, accountable, and publicly defensible enforcement strategies.

Read original article →