Fresh-start: the record of the Claude Code leak mirror, the DMCA, and the x402 C 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. This is the repository formerly known as nirholas/claude-code , the most widely forked mirror of the Claude Code source leak of 31 March 2026. It is the same repository object, so github.com/nirholas/claude-code still redirects here. It contains no Anthropic source code, and it will not. The contents were removed after Anthropic's DMCA notice. That notice has not been retracted. 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 cover, and the correction that still needs making. The short version of the correction: Claude Code has never contained a cryptocurrency wallet or an autonomous payment system. The x402 payment code that circulated with copies of this leak was mine. I wrote it, on top of the leaked tree, while building a project of my own. It was not Anthropic's and it was not in the leak. Several popular writeups still report it as an undocumented Anthropic feature. 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 accounting of every file I changed. If you are auditing a copy of the leak you already hold, grep -r x402 src/ is the test. The 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. All rights reserved. See LICENSE https://github.com/nirholas/fresh-start/blob/main/LICENSE . If 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. Know 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 Coding 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. - All repositories by nirholas https://github.com/nirholas/nirholas readme : the full catalog, grouped by topic - Questions or ideas: open an issue https://github.com/nirholas/fresh-start/issues or start a discussion https://github.com/nirholas/fresh-start/discussions