# demo-pkg-e2e (npm) malicious package — MAL-2026-21130 | O3 Security

Malicious package

# demo-pkg-e2enpm

Advisory published Dec 3, 2026·Updated Dec 4, 2026

demo-pkg-e2e is a confirmed malicious npm package (MAL-2026-21130) that executes malicious code on install (malicious version 1.0.0). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in demo-pkg-e2e (npm)

MAL-2026-21130

Immediate action

Remove the package, then rotate any secrets the build/runtime could reach.

npm uninstall demo-pkg-e2e

## What this malware does

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).

## Malicious versions

1 flagged

1.0.0

## Detection & response playbook

Malicious package

1.  ### Find it
    
    Search your lockfiles and build artifacts for demo-pkg-e2e (version 1.0.0).
    
2.  ### If you installed it — respond
    
    Remove demo-pkg-e2e from your project and lockfile, then assume any secrets accessible to the build or runtime were exposed: rotate API keys, tokens, and credentials, and audit for unexpected outbound activity or persistence.
    
3.  ### Did it already run?
    
    If demo-pkg-e2e was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.
    

## Frequently asked questions

No. demo-pkg-e2e on npm has been identified as a malicious package (version 1.0.0 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

## References

-   [protet.io](https://protet.io/intel/npm/demo-pkg-e2e)

## Credits

-   Robin Frehner, Protet · finder

## Detect & block this

O3 blocks demo-pkg-e2e\-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the malicious outbound activity and severs the channel.

[Malware detection](/malware-detection) [Runtime egress monitoring](/egress-monitor)

## Explore

[All malware advisories](/malware) [How O3 detects malware](/malware-database) [Vulnerability database](/vulnerability)