MALFEX npm Package ‘imgdecode’ Hides Shellcode Loader in Windows Native Addon
AI-summarised brief · reviewed before publication
Cybersecurity researchers have identified a malicious npm package called imgdecode as part of the ongoing MALFEX software‑supply‑chain campaign. Uploaded on September 30, 2026 by the user malfexteste8, the package has been downloaded 979 times and remains publicly available. Its nine‑line JavaScript wrapper loads a compiled Windows DLL that fetches encrypted shellcode from a GitHub repository, decrypts it, and injects the code into a new dllhost.exe process. The DLL checks for image signatures to optionally disable execution. imgdecode is the latest addition to a series of eight malicious packages published under five publisher handles since August 2023, some of which acted as loaders for the Overlord RAT or a Node.js stealer. Versions 1.0.1 and 1.0.2 required the imgbundle dependency, while version 1.0.3 operates independently, removing the need for other MALFEX components.
💡 Why It Matters
- · The package demonstrates how attackers can embed active payloads in seemingly innocuous Node.js addons, giving them a stealthy foothold on Windows development machines that run require('imgdecode').