
Security researchers have detailed MALFEX, an npm supply-chain campaign that uses eight malicious packages to deliver remote access malware and credential stealers to Windows systems.
The activity appears linked to one operator who has published packages since August 2023. Twelve packages are tied to the operator eight contain malicious code, while four serve as benign cover.
The malicious packages recorded 40,767 downloads by October 1, 2026, including 3,017 during the previous week. These numbers reflect registry downloads, not confirmed infections.
The eight malicious packages are function-flag, function-color, cdn-img-fetch, img-to-native, native-runner, tlxbnhd, tldriver, and mxdriver. Three remained installable in the reported October 1 snapshot: function-flag, function-color, and cdn-img-fetch.
Advisory coverage was incomplete. Neither function-flag nor function-color had an advisory, while the cdn-img-fetch advisory covered versions 1.0.0 and 1.0.1 but omitted malicious versions 1.0.2 and 1.0.3.
MALFEX npm Packages Spread Malware
The campaign uses three independent delivery paths. The first involves tlxbnhd, tldriver, and mxdriver, which execute obfuscated scripts during npm installation. These scripts download a Windows executable disguised as a PNG image.
The downloaded file is a Microsoft IExpress archive containing a signed AutoIt interpreter and an encrypted script. Several decoding layers reveal Overlord RAT, an open-source trojan written in Go.
Code analysis indicated that the loader injects Overlord into TapiUnattend.exe through process hollowing, with explorer.exe presented as its parent. Researchers established this behavior from code rather than observing it during execution.
The second path connects native-runner, img-to-native, and cdn-img-fetch. Unlike the installation-based loaders, this chain runs when a package is loaded.
It retrieves an image containing appended encrypted data, decrypts a Go downloader, and writes node_runtime_helper.exe into the Windows application data directory. The downloader then retrieves movinlike, a Node.js credential stealer packaged as a Windows executable.
Movinlike targets Discord tokens, browser cookies and saved logins, Telegram session files, and cryptocurrency wallets. It compresses stolen information, divides it into 25 MB chunks, and sends it to a Discord webhook.
The third path uses function-flag, sometimes installed through function-color. Its postinstall script invokes an ASCII art function with the “Bloody” font, triggering a concealed downloader.
Version 1.7.3 attempts to retrieve node.exe and execute it with a hidden window. Researchers could not recover that payload because its host was unavailable.
Overlord’s loader establishes persistence through a scheduled task named Maiden, which runs every five minutes. Associated files sit under a fake ScopeSmart Technologies Inc directory, checkmarx said.
Indicators of Compromise
| Indicator | Associated component | Purpose |
|---|---|---|
hxxps://api[.]imghippo[.]com/files/hOG8244hc.png | Overlord RAT loaders | Windows executable served as a PNG |
hxxps://raw[.]githubusercontent[.]com/cavecrew/proj/main/banner.png | cdn-img-fetch 1.0.0–1.0.2 | Image containing appended encrypted downloader |
Note: IP addresses and domains are intentionally defanged (e.g., [.]) to prevent accidental resolution or hyperlinking. Re-fang only within controlled threat intelligence platforms such as MISP, VirusTotal, or your SIEM.
Join 16,000+ SOC teams using ANY.RUN to streamline threat investigations and reduce manual effort. Explore for your team
The post MALFEX npm Campaign Uses 8 Malicious Packages to Deploy RATs and Credential Stealers appeared first on Cyber Security News.
Discover more from RSS Feeds Cloud
Subscribe to get the latest posts sent to your email.
