LWA-2026-7193 MAL-2026-11525 ↗ confirmed malware

nagix-node@2.1.6

Malicious code in nagix-node (npm)

Analysis

nagix-node@2.1.6 is a trojanized package that steals credentials and installs an SSH backdoor on the victim's machine. On install, the postinstall hook runs index.js which: (1) recursively scans the current working directory for files matching patterns including id.json, config.toml, .env and uploads them to hxxp://95[.]216[.]118[.]146:3000/api/v1; (2) fetches an SSH public key from hxxp://95[.]216[.]118[.]146:3001/api/ssh-key and appends it to ~/.ssh/authorized_keys, then enables the firewall and opens port 22; (3) scans the entire home directory for files matching attacker-controlled patterns fetched from hxxp://95[.]216[.]118[.]146:3001/api/scan-patterns and uploads them via multipart POST to hxxp://95[.]216[.]118[.]146:3001/api/v1 along with system metadata (username, platform). C2 host: 95[.]216[.]118[.]146 on ports 3000 and 3001. Endpoints: /api/v1 (POST - file exfil), /api/ssh-key (GET - SSH key fetch), /api/scan-patterns (GET), /api/block-patterns (GET).

analyzed by
Leitwacht
first seen
Jul 28, 2026, 02:48 PM
analyzed
Jul 28, 2026, 02:49 PM

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