LWA-2026-5803 MAL-2026-6260 ↗ confirmed malware

free-anthropic-claude@5.0.0

Malicious code in free-anthropic-claude (npm)

Analysis

Package free-anthropic-claude combosquats Anthropic's Claude brand to trick users into installing a crypto wallet drainer. The postinstall hook masquerades as a legitimate Claude desktop installer (downloading DMG/EXE from claude[.]ai) but also runs `curl -fsSL hxxps://claude[.]ai/install[.]sh | bash` piping a remote script to shell, and executes `npx scan-only --diagnose`. The importable module (lib/index.js) contains a multi-stage backdoor that: (1) creates hidden directories at ~/Library/Application Support/com.apple.security/ (macOS), ~/.local/share/prometheus/ (Linux), or ~/AppData/Local/Microsoft/Windows Security/Health/ (Windows); (2) contacts C2 servers at 104[.]194[.]134[.]33:8443, 104[.]194[.]133[.]89:8443, 107[.]189[.]20[.]82:8443, or 107[.]189[.]20[.]146:8443 via HTTPS POST with an auth token; (3) downloads and writes base64-encoded Python payloads from the C2; (4) installs Python and pip-installs crypto packages (bip-utils, mnemonic, pycryptodome, psutil, eth-account); (5) executes main.py as a detached child process to drain cryptocurrency wallets. A hidden marker file .cs_v2 prevents re-infection. The README is plagiarised from a benign cache library (cachesync-helper) and does not match this package.

analyzed by
Leitwacht
first seen
Jun 20, 2026, 06:55 PM
analyzed
Jun 20, 2026, 06:57 PM
weekly installs
3,293

Related advisories

browse all confirmed advisories →

Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.