cd /news/ai-tools/fresh-start-the-record-of-the-claude… · home › topics › ai-tools › article
[ARTICLE · art-177571] src=github.com ↗ pub= topic=ai-tools verified=true sentiment=↓ negative

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.

recommendation

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.

more in playbook: Securing agents and AI tools
read2 min views6 publishedNov 28, 2026
Fresh-start: the record of the Claude Code leak mirror, the DMCA, and the x402 C
Image: Michielbdejong (auto-discovered)

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 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 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 · Share on Bluesky · Share on LinkedIn · Submit to Hacker News · Share on Reddit

Coding agents and LLM tooling can read this repo directly: AGENTS.md, llms.txt, 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)
── more in #ai-tools 4 stories · sorted by recency
── more on @anthropic 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/fresh-start-the-reco…] indexed:0 read:2min 2026-11-28 · —