Attackers Use Claude Code Leak Lure to Deliver Vidar and GhostSocks Malware

· Original article ↗

Summary

Zscaler says attackers are using trojanized Claude Code repositories on GitHub to distribute Vidar and GhostSocks. The article also describes source code exposed in the public npm package and provides related malware indicators.

Key points

  • A 59.8 MB source map bundled with Claude Code version 2.1.88 exposed about 513,000 lines of TypeScript, according to the article.
  • The leaked code was mirrored across public GitHub repositories; Anthropic issued DMCA notices against some mirrors.
  • Zscaler says attackers are using the leak as a social-engineering lure, with GitHub repositories serving as a delivery channel.
  • The malicious payloads identified include Vidar and GhostSocks, as well as downloader and dropper files.
  • The article provides file hashes, command-and-control indicators, and links to repositories it identifies as trojanized.
  • Zscaler says its Advanced Threat Protection covers the identified threats.

Article Details

Event Type
Exposure of Claude Code source code through a public npm package, followed by social-engineering lures distributing malware via trojanized repositories.
Impact
The leak exposed approximately 513,000 lines of source code. The article reports widespread copying and redistribution, and warns of opportunistic compromise through trojanized repositories and possible vulnerability-exploit attempts against legitimate Claude agents.

Indicators of compromise

TypeIndicatorContext
MD53388b415610f4ae018d124ea4dc99189Hash identified as GhostSocks.
MD577c73bd5e7625b7f691bc00a1b561a0fHash of a dropper EXE file for the payload.
MD581fb210ba148fd39e999ee9cdc085dfcHash of a dropper EXE file for the payload.
MD58660646bbc6bb7dc8f59a764e25fe1fdHash of the initial archive file.
MD59a6ea91491ccb1068b0592402029527fHash identified as Vidar v18.7.
MD5d8256fbc62e85dae85eb8d4b49613774Hash of the initial archive file.
URLhxxps[:]//147[.]45[.]197[.]92GhostSocks command-and-control URL.
URLhxxps[:]//94[.]228[.]161[.]88GhostSocks command-and-control URL.
URLhxxps[:]//github[.]com/idbzoomh1GitHub profile identified as a publisher of a trojanized repository.
URLhxxps[:]//github[.]com/leaked-claude-code/leaked-claude-codeURL identified as a trojanized Claude Code source leak repository.
URLhxxps[:]//github[.]com/my3jie/leaked-claude-codeURL identified as a trojanized Claude Code source leak repository.
URLhxxps[:]//rti[.]cargomanbd[.]comVidar command-and-control URL.
URLhxxps[:]//steamcommunity[.]com/profiles/76561198721263282Vidar Dead Drop Resolver (DDR) URL.
URLhxxps[:]//telegram[.]me/g1n3sssVidar Dead Drop Resolver (DDR) URL.

People

Malware

Vendors

Products

Related Articles