{"id":"MAL-2026-20416","summary":"Malicious code in ep_nxs50049 (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (5a921d18ca2f4866be3de54ee8e99334c6ae02bec495523da8f1d1f8649abf54)\nThe package registers itself as an Etherpad plugin and, via the expressPreSession hook, adds an unauthenticated GET route /Nx_50049/ to the host Etherpad server. Any remote caller who can reach the Etherpad instance receives a JSON response containing os.hostname(), os.userInfo().username, process.platform, Node.js version, process.cwd(), and process.pid, along with a 'Nxploited | Nx-zD' banner. The endpoint is not documented, provides no legitimate Etherpad functionality, and exposes host-identity information to arbitrary unauthenticated remote callers as a direct consequence of loading the plugin.\n","modified":"2026-11-24T04:30:38.007205449Z","published":"2026-11-24T04:12:17Z","database_specific":{"malicious-packages-origins":[{"import_time":"2026-11-24T04:14:03.846605534Z","modified_time":"2026-11-24T04:12:17Z","sha256":"5a921d18ca2f4866be3de54ee8e99334c6ae02bec495523da8f1d1f8649abf54","source":"amazon-inspector","versions":["1.0.0"],"id":"IN-MAL-2026-023064"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/ep_nxs50049/v/1.0.0"}],"affected":[{"package":{"name":"ep_nxs50049","ecosystem":"npm","purl":"pkg:npm/ep_nxs50049"},"versions":["1.0.0"],"database_specific":{"indicators":{"evidence_files":[{"path":"index.js","sha256":"a730d744160a39e4153f0227b99af8118306a53ecd04c354e9e8d7a83d3c3977","tlsh":"06f005f44a9cc96854750494e44a044b46e1046855025d5486fc796e7f521d53913f6d"}],"package_integrity":[{"filename":"ep_nxs50049-1.0.0.tgz","hashes":{"sha1":"f0d38cf376b7bbb037820d0d5142b9c41bac84a3","sha512_sri":"sha512-ZRDBWY+hRV5gLDuBucv49Ai0ULLm1iEuy2u794AMtZv3LzvNh8RoV8n/oJTI8MS7Dqfv2Gm7uAzTqp3QXgOijA=="}}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/ep_nxs50049/MAL-2026-20416.json","cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}]}}],"schema_version":"1.9.2","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}