npm package imgdecode found hiding a shellcode loader, still installable after 979 downloads

Security research firm SafeDep discovered a new malicious package, imgdecode, in the MALFEX supply chain attack campaign. Uploaded by user malfexteste8 on September 30, it has been downloaded 979 times, and the latest version 1.0.3 is still online. The package contains nine lines of JS that load a native Windows DLL, pulls encrypted shellcode from GitHub, decrypts it, and injects it into dllhost.exe. Since August 2023, MALFEX has deployed eight malicious packages, including Overlord RAT and a Node.js stealer. Source: The Hacker News