Vulnerability MAL-2026-21130
Summary
Malicious code in demo-pkg-e2e (npm)
Details
demo-pkg-e2e 1.0.0 contains only a stub index.js, but declares its single dependency, demo-pkg-core, as a tarball URL on a host controlled by the publisher ( hxxps://pkg[.]sl4x0[.]xyz/t/ea414b39aa1b293bd85d9ca62823a501.tgz) instead of a registry version. The dependency's code is therefore not hosted on npm and can be changed at any time. During npm install, npm downloads that tarball (demo-pkg-core 1.0.0, last modified 2026-12-03 15:10 UTC) and runs its postinstall script (node i.js), which calls dns.resolve4 and sends a DNS query to a subdomain of oob[.]sl4x0[.]xyz encoding the installing machine's user name, host name, working directory name and a timestamp (for example ..