{"id":"MAL-2026-20414","summary":"Malicious code in ep_nxs31521 (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (902667539b73c8560743b0096ebceef827bca34032654378bf852726b7069302)\nThe package registers an Etherpad `expressPreSession` hook that mounts an undocumented route `GET /Nx_31521/` on the host Etherpad server. The handler responds to any unauthenticated remote caller with an HTML page branded 'Nxploited | Nx-zD' disclosing host identity information read via Node's `os`/`process` APIs: `os.hostname()`, `os.userInfo().username`, `os.platform()`, `process.version`, `process.cwd()`, and `process.pid`. The route is not described in any plugin documentation, has no authentication or access control, and the branding is consistent with an unauthorized marker/defacement rather than a legitimate diagnostic feature. Installing this plugin into an Etherpad instance exposes server reconnaissance data to arbitrary internet callers.\n","modified":"2026-11-24T04:30:38.013713588Z","published":"2026-11-24T04:12:46Z","database_specific":{"malicious-packages-origins":[{"sha256":"902667539b73c8560743b0096ebceef827bca34032654378bf852726b7069302","source":"amazon-inspector","versions":["1.0.0"],"id":"IN-MAL-2026-023068","import_time":"2026-11-24T04:14:04.17349649Z","modified_time":"2026-11-24T04:12:46Z"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/ep_nxs31521/v/1.0.0"}],"affected":[{"package":{"name":"ep_nxs31521","ecosystem":"npm","purl":"pkg:npm/ep_nxs31521"},"versions":["1.0.0"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"sha256":"898bcf47288867795a6660c81588ac92b42ca16a4e4fb28dd2f5de59eb365bd8","tlsh":"73f075b406ecc86c40750494e45a084b02a4045449024e4083bc797e3f121987923f6c","path":"index.js"}],"package_integrity":[{"filename":"ep_nxs31521-1.0.0.tgz","hashes":{"sha512_sri":"sha512-fJiPzCj6tS4qwc6sj8ha0JhguC3EZkIjTxz2BknBcedZcOFoD4PEz4cPk9/qp4Z6kvSe8sz9Nnd4RL1Jw0nnag==","sha1":"de4996881cf619345d43d48bab57a86de0fc8811"}}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/ep_nxs31521/MAL-2026-20414.json"}}],"schema_version":"1.9.2","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}