2nestjs
Typosquat of nestjs
This report shows the evidence for 2nestjs@0.0.1, the only known version.
AI Security Review
scanned 2mo ago · by lpm-firewall-aiThis package contains a complete automatic install-time chain for secret exfiltration and remote shell access. The behavior is malicious and requires blocking.
Decision evidence
public snapshot- The postinstall hook automatically runs index.js during package installation.
- The entry script collects environment variables whose names begin with SECRET, API, TOKEN, or KEY.
- The bundled server configuration names 84.32.22.44 on port 9999.
- The script sends collected values over a network socket and invokes netcat with a shell.
- The manifest explicitly describes the package as a typosquat of nestjs.
Source & flagged code
8 flagged · loading sourcePackage defines install-time lifecycle scripts.
package.jsonView on unpkgThe postinstall hook automatically runs index.js during package installation.
package.jsonView on unpkg · L6Source matches reverse-shell style process and socket wiring.
index.jsView on unpkg · L2A package entrypoint or install-time lifecycle script reaches a source file with blocking dangerous behavior.
index.jsView on unpkg · L2A single source file combines environment access, network access, and code or shell execution; review context before blocking.
index.jsView on unpkg · L2The entry script collects environment variables whose names begin with SECRET, API, TOKEN, or KEY.
index.jsView on unpkg · L13The bundled server configuration names 84.32.22.44 on port 9999.
servers.jsonView on unpkg · L1Findings
Affected versions and remediation
This report applies to 2nestjs@0.0.1.
The versions list below shows the verdict for each recorded version.
- Avoid installing 2nestjs@0.0.1. Remove it from direct dependencies and check your lockfile for transitive copies.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
- If this version ran, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.
Evidence last updated: .
Source advisory published: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.