Malicious code in ezfnfix (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-13344
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (3a5bd6bf9cde5f28e20365db24b77ca15226b5248a3be482e30c45d98259b301) On Windows, `npm install ezfnfix` automatically executes a bundled Windows PE binary via a postinstall hook. package.json declares `scripts.postinstall = "node postinstall.js"`, and postinstall.js enumerates bin/*.exe and runs the first entry with execFileSync. The shipped bin/ezfn.exe is a ~114 KB VB.NET executable whose metadata contains identifiers consistent with a remote-access trojan and infostealer: Telegram bot exfiltration primitives (SendBot, ChatID), socket C2 (ClientSocket, ConnectServer, ActivatePong), a spreading routine (Spread), AV/Defender-exclusion logic (Exclusion), webcam access (avicap32.dll), WMI-based host enumeration (ManagementObjectSearcher, get_UserName, get_MachineName, get_OSFullName, get_TotalPhysicalMemory), registry persistence handles (RegistryKey, CurrentUser), symmetric cryptography primitives, and WebClient/DownloadString network fetch. The binary ships with no source, no build step, no hash or signature verification, and no purpose consistent with the package name. Installing on Windows results in immediate execution of the RAT against the installer's host, exfiltrating identity and system information via Telegram/socket channels and providing persistent remote access.
- Source published
- 5 Aug 2026 15:54:07 UTC
- Source modified
- 5 Aug 2026 16:51:02 UTC
- Saved here
- 24 Oct 2026 13:17:17 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.