MAL-2026-21130: Malicious code in demo-pkg-e2e (npm)
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 <user>.<host>.<dir>.<timestamp>.oob[.]sl4x0[.]xyz under a demopkg prefix). This confirms to the operator that code ran on that machine and identifies the host. The publisher's email domain sl4x0[.]xyz was used by earlier dependency-confusion packages such as ftapi-core (MAL-2026-2414), oc-navbar-module-client (MAL-2026-2417) and tombac-chronos (MAL-2026-2418).
Affected Software
Event History
Frequently Asked Questions
What systems are exposed to this package's behavior?
Any machine that runs npm install for demo-pkg-e2e 1.0.0 is exposed, because installation fetches the externally hosted demo-pkg-core tarball and runs its postinstall script. The reported behavior sends DNS data identifying the installing user, host, working-directory name, and timestamp.
What must an attacker do to exploit this package?
No separate interaction is described beyond causing or waiting for a target to install demo-pkg-e2e 1.0.0. The publisher controls the dependency tarball host, so the dependency code is not fixed to an npm-hosted registry artifact and can be changed at any time.
How can I determine whether an installation executed the reported code?
Look for DNS queries to demopkg-prefixed subdomains of oob.sl4x0.xyz. The queried subdomain encodes the local user name, host name, working-directory name, and a timestamp.
What should I do if I cannot immediately remove the package?
Avoid running npm install where this dependency can be resolved, because installation triggers the postinstall script. Review DNS telemetry for queries to oob.sl4x0.xyz and treat affected install hosts as having disclosed the reported host-identifying data.