Claude Code leak used to push infostealer malware on GitHub
Threat actors exploit Claude Code source leak via fake GitHub repos to distribute Vidar infostealer malware.
Following Anthropic's accidental exposure of Claude Code's 513,000-line TypeScript source code in an npm package on March 31, threat actors created fraudulent GitHub repositories impersonating the leak to distribute Vidar information-stealing malware. The fake repositories, optimized for search engines and featuring claims of "unlocked enterprise features," trick users into downloading a 7-Zip archive containing ClaudeCode_x64.exe, which deploys Vidar and GhostSocks proxying tool. Zscaler researchers identified at least two related repositories operated by the same threat actor, with the malware payload being regularly updated.
AI summary of the linked source. Not reviewed by an editor. How this works
Run Anthropic?
Get an email when a new story names Anthropic, usually within the hour.
Free. Your list stays private and never appears in a subject line. One click stops it. How Vendor Watch worksPrivacy
The lesson from this incident
Full lessonAnthropic accidentally exposed Claude Code's complete source code in an npm package, which threat actors quickly weaponized by creating fake GitHub repositories that impersonate the legitimate leak. These fraudulent repositories use SEO optimization and false claims about 'enterprise features' to lure victims into downloading malware disguised as the leaked code. The incident demonstrates how accidental data exposure creates immediate opportunities for cybercriminals to exploit public interest and trust in legitimate software releases. Organizations and individuals must exercise extreme caution when downloading code from unofficial sources, especially following high-profile leaks or security incidents.
What helps against this
How we list vendors- Endpoint detection and response (EDR and XDR)
Malware and hands-on-keyboard attackers on laptops and servers get spotted and stopped.
- Security awareness training and phishing simulation
People recognise and report attacks instead of falling for them.
- Software supply chain security
Malicious and vulnerable open-source packages are caught before they ship.
Indicators of Compromise
Addresses and file hashes are copied from the publisher's page by pattern matching. Names are picked by AI. On stories from before 17 November 2026, some addresses and hashes were picked by AI too. Not reviewed by an editor. How this works
- malware: Vidar
- malware: GhostSocks