{"slug": "fresh-start-the-record-of-the-claude-code-leak-mirror-the-dmca-and-the-x402-c", "title": "Fresh-start: the record of the Claude Code leak mirror, the DMCA, and the x402 C", "summary": "Developer nirholas has converted the widely forked Claude Code leak mirror at github.com/nirholas/claude-code into a new repository, nirholas/fresh-start, after Anthropic's unretracted DMCA notice removed the leaked source code. The repository's HISTORY.md documents the 31 March 2026 leak and corrects reports that Claude Code contained a cryptocurrency wallet or autonomous payment system, stating the x402 payment code circulating with copies of the leak was written by nirholas on top of the leaked tree and was never Anthropic's. The record warns that the leaked tree imports internal packages absent from the public npm registry, where squatters publish malicious packages under those names, and cites Zscaler ThreatLabz documentation of trojanized \"Claude Code leak\" repositories in April 2026 distributing Vidar and GhostSocks via a Windows executable.", "body_md": "This is the repository formerly known as `nirholas/claude-code`, the most widely forked mirror of the\nClaude Code source leak of 31 March 2026. It is the same repository object, so\n`github.com/nirholas/claude-code` still redirects here.\n\n**It contains no Anthropic source code, and it will not.** The contents were removed after Anthropic's\nDMCA notice. That notice has not been retracted.\n\n**[HISTORY.md](https://github.com/nirholas/fresh-start/blob/main/HISTORY.md)** is the full record: what leaked and how, what the DMCA did and did not\ncover, and the correction that still needs making.\n\nThe short version of the correction: **Claude Code has never contained a cryptocurrency wallet or an\nautonomous payment system.** The x402 payment code that circulated with copies of this leak was mine.\nI wrote it, on top of the leaked tree, while building a project of my own. It was not Anthropic's and\nit was not in the leak. Several popular writeups still report it as an undocumented Anthropic feature.\n[HISTORY.md](https://github.com/nirholas/fresh-start/blob/main/HISTORY.md) shows three independent ways to verify that it is not, and gives a complete\naccounting of every file I changed.\n\nIf you are auditing a copy of the leak you already hold, `grep -r x402 src/` is the test.\n\nThe leaked tree imports internal packages that do not exist on the public npm registry, and squatters publish malicious packages under exactly those names. Installing dependencies from any copy of this codebase can execute arbitrary code on your machine. There were also genuinely trojanized \"Claude Code leak\" repositories in circulation in April 2026, documented by Zscaler ThreatLabz, distributing Vidar and GhostSocks through a Windows executable. Use the official Claude Code CLI from Anthropic.\n\nAll rights reserved. See [LICENSE](https://github.com/nirholas/fresh-start/blob/main/LICENSE).\n\nIf fresh-start saves you time, **[star it on GitHub](https://github.com/nirholas/fresh-start)**. Stars are how other developers and AI agents find the repositories worth trusting, and they cost you one click.\n\nKnow someone who would use it? [Post on X](https://twitter.com/intent/tweet?text=fresh-start%3A%20the%20record%20of%20the%20Claude%20Code%20leak%20mirror%2C%20the%20DMCA%2C%20and%20the%20x402%20correction&url=https%3A%2F%2Fgithub.com%2Fnirholas%2Ffresh-start) · [Share on Bluesky](https://bsky.app/intent/compose?text=fresh-start%3A%20the%20record%20of%20the%20Claude%20Code%20leak%20mirror%2C%20the%20DMCA%2C%20and%20the%20x402%20correction%20https%3A%2F%2Fgithub.com%2Fnirholas%2Ffresh-start) · [Share on LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fgithub.com%2Fnirholas%2Ffresh-start) · [Submit to Hacker News](https://news.ycombinator.com/submitlink?u=https%3A%2F%2Fgithub.com%2Fnirholas%2Ffresh-start&t=fresh-start%3A%20the%20record%20of%20the%20Claude%20Code%20leak%20mirror%2C%20the%20DMCA%2C%20and%20the%20x402%20correction) · [Share on Reddit](https://www.reddit.com/submit?url=https%3A%2F%2Fgithub.com%2Fnirholas%2Ffresh-start&title=fresh-start%3A%20the%20record%20of%20the%20Claude%20Code%20leak%20mirror%2C%20the%20DMCA%2C%20and%20the%20x402%20correction)\n\nCoding agents and LLM tooling can read this repo directly: [AGENTS.md](https://github.com/nirholas/fresh-start/blob/main/AGENTS.md), [llms.txt](https://github.com/nirholas/fresh-start/blob/main/llms.txt), [llms-full.txt](https://github.com/nirholas/fresh-start/blob/main/llms-full.txt). Point an agent at `https://github.com/nirholas/fresh-start` and it has the context it needs.\n\n- [All repositories by nirholas](https://github.com/nirholas/nirholas#readme) : the full catalog, grouped by topic\n- Questions or ideas: [open an issue](https://github.com/nirholas/fresh-start/issues) or[start a discussion](https://github.com/nirholas/fresh-start/discussions)", "url": "https://wpnews.pro/news/fresh-start-the-record-of-the-claude-code-leak-mirror-the-dmca-and-the-x402-c", "canonical_source": "https://github.com/nirholas/fresh-start", "published_at": "2026-11-28 03:18:37+00:00", "updated_at": "2026-11-28 03:42:41.512550+00:00", "lang": "en", "topics": ["ai-tools", "ai-agents", "developer-tools"], "entities": ["Anthropic", "Claude Code", "nirholas", "GitHub", "Zscaler ThreatLabz", "Vidar", "GhostSocks", "x402"], "also_reported_by": [], "takeaway": "Copies of the leaked Claude Code tree import internal packages that don't exist on public npm, where squatters publish malicious packages under those names, so installing their dependencies can execute arbitrary code; grep -r x402 src/ confirms whether a copy carries the author's added payment code.", "recommendation": {"advice": "Never install dependencies from leaked or mirrored Claude Code trees; use Anthropic's official CLI, and run grep -r x402 src/ to check whether a copy contains the author's added payment code.", "playbook": "agent-security", "playbook_url": "https://wpnews.pro/playbooks/agent-security"}, "alternates": {"html": "https://wpnews.pro/news/fresh-start-the-record-of-the-claude-code-leak-mirror-the-dmca-and-the-x402-c", "markdown": "https://wpnews.pro/news/fresh-start-the-record-of-the-claude-code-leak-mirror-the-dmca-and-the-x402-c.md", "text": "https://wpnews.pro/news/fresh-start-the-record-of-the-claude-code-leak-mirror-the-dmca-and-the-x402-c.txt", "jsonld": "https://wpnews.pro/news/fresh-start-the-record-of-the-claude-code-leak-mirror-the-dmca-and-the-x402-c.jsonld"}}