Skip to content

Accident reports · March to April 2026

Claude Code leak: a fake "unlocked" GitHub repository installs password stealers

According to Trend Micro and Zscaler, the archive promised the agent with no limits and installed Vidar and GhostSocks; at least 533 confirmed downloads.

  • Company Anthropic
  • Agent Claude Code
  • Model not published
The agent as a weapon
A red fishing hook hanging from a line against a grey wall
Photo: Kasia Derenda on Unsplash
WhenFrom 31 March 2026; Zscaler's alert covered on 3 April, Trend Micro's analysis on 7 April
WhoUnidentified attackers, with a fake GitHub repository presented as Claude Code's "leaked" source
What went wrongThe name of Anthropic's coding agent was used as bait: an "unlocked Claude Code" archive installed stealers
ConsequenceAccording to Trend Micro, at least 533 confirmed downloads by 7 April, probably more; passwords, cookies and crypto wallets targeted

What happened

On 31 March 2026, a packaging mistake in a Claude Code release published on npm let through a file that made the source code readable. According to Bitdefender, more than 500,000 lines of readable code. Copies spread on GitHub straight away.

Attackers used it. According to Zscaler researchers, cited by TechRadar and Bitdefender, GitHub repositories promised Claude Code's source with "unlocked enterprise features" and no usage limits. They ranked well in Google for searches about the leak. The archive to download held one program, ClaudeCode_x64.exe. Once launched, it installed Vidar, which steals browser passwords, cookies and crypto wallets, and GhostSocks, which turns the computer into a relay for other criminals' traffic.

According to TechRadar, the account was removed. According to Trend Micro, a new account with an almost identical name put the repository back online, still live on 7 April. It then showed 838 stars, 1,060 forks and 533 confirmed downloads; Trend Micro thinks the real number is higher. The archive's content changed several times, with a third stealer, PureLog. According to Trend Micro, this is a campaign active since February 2026 that has already posed as more than 25 programs: AI tools, crypto bots, creative software.

Why it happened

A coding agent everybody talks about, a leak, the promise of a free version with no limits: the bait was ready-made. Stars and forks make a repository look serious, and nothing stops anyone from inflating them.

The target is well chosen. A developer's machine holds their access to GitHub, the cloud and API keys. A stealer there opens far more than a browser.

The failure family

In our catalogue, this is the "The agent as a weapon" family, in the broad sense: here the agent does nothing, its name is the bait.

The safeguard in code

  • Install a coding agent only from the vendor's official channel, never from an archive found on GitHub.
  • Block downloaded, unsigned programs on developer machines.
  • If someone ran the archive: change their GitHub tokens, cloud access and API keys at once.

What we test

Our crash tests test the company's agent, not the attacker's. Here no agent gets it wrong: a person downloads. A coding agent asked to install a tool from an archive in an unofficial repository is not yet tested as such; we are adding it to our list of tests. What a company can lock down today: a list of the sources allowed for installing agents and tools.

And your agent, what would it do?

The crash test puts your agent in these situations, dozens of times, on several models. You get the figures, the conversations where it gave in, and the fix plan.

Crash-test my agent See the live demo

Further reading