The issue was first noticed by security researcher Chaofan Shou, whose post quickly spread online. Anthropic confirmed the mistake and clarified that no customer data or credentials were exposed. The company described the incident as a human error in packaging, not a hack, and stated that steps were being taken to prevent it from happening again.
The exposed file included about 513,000 lines of readable TypeScript code across 1,906 files, effectively revealing the entire client-side system. Within hours, the code was downloaded, shared on GitHub, and widely accessed by developers, researchers, and threat actors.
Threat Actors React Quickly: Fake “Leak” on GitHub
Cybercriminals quickly took advantage of the situation. Researchers from Zscaler’s ThreatLabz found a GitHub repository called “Leaked Claude Code,” published under the account idbzoomh1. The repository claimed to offer a rebuilt version of the leaked code with premium features unlocked and no usage limits.
However, the download was actually malicious. It came as a .7z archive named “Claude Code – Leaked Source Code,” containing a Rust-based file (ClaudeCode_x64.exe). When executed, this file installed two types of malware: Vidar v18.7, which steals sensitive data such as passwords, credit card details, and browsing history; and GhostSocks, which turns the infected computer into a proxy that attackers can use to route their activities.
Researchers also found that the malicious file was frequently updated, suggesting the attacker was actively improving it, possibly to avoid detection or add new threats.
Before being taken down, the repository appeared near the top of Google search results for terms like “leaked Claude Code,” making it more likely that users would download it. The attackers likely used search optimization techniques to increase visibility.
A second similar repository was found under another account (my3jie), and researchers believe both were controlled by the same threat actor testing different ways to spread the malware.
A Broader Pattern of Abuse
This incident is part of a growing trend where attackers use popular developer tools as bait. In a similar case reported in March 2026, users searching for “OpenClaw Windows” were redirected to fake GitHub downloads that also delivered Vidar and GhostSocks malware.
Claude Code is widely known and highly successful, reportedly generating over $2.5 billion in revenue as of February 2026. Because of its popularity, fake versions of it can easily appear trustworthy and attract many victims.
How to Stay Safe
Zscaler researchers strongly advise users not to download or run any GitHub repository claiming to provide “leaked Claude Code.” Only use official sources from Anthropic when installing software. It’s also important to understand that leaked code is not the same as open-source software and can be dangerous to use.
Users who installed or updated Claude Code via npm on March 31, 2026 (between 00:21 and 03:29 UTC) should check their project files for suspicious versions of the Axios library (versions 1.14.1 or 0.30.4), which may contain hidden malware. If affected, they should immediately change passwords and take security precautions.
Zscaler’s full report includes detailed indicators that can help identify and respond to this threat.