{"id":"MAL-2026-15687","revision":"02a8f6d701bb4fb4b7a935f7ed753482","records":[{"revision":"02a8f6d701bb4fb4b7a935f7ed753482","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-15687","aliases":[],"title":"Malicious code in @yuva2210/okx-poc-rce-impact (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (1917fdda46d566300463afdd1087755e9cf50203f4997455f9ee888e01782124)\n@yuva2210/okx-poc-rce-impact@2.0.0 is a dependency-confusion proof-of-concept targeting OKX's internal namespace. The package's `package.json` declares a `preinstall` script that runs on `npm install` and executes `child_process.execSync` calls for `whoami`, `hostname`, `pwd`, and `id`, collecting installer host and user identifiers and writing them to `/tmp/okx-poc-rce-proof.json`. The package has no other functional content — `index.js` is empty — so the tarball's only effect on installation is to execute the reconnaissance payload on the installer's machine. Any developer or build system that inadvertently resolves an OKX-internal name to this public package runs arbitrary code at install time. The self-labeled 'harmless PoC' framing does not change the mechanism: unsolicited command execution and host-identifier collection fire automatically on `npm install`.\n","state":0,"publishedAt":"2026-08-24T16:34:29+00:00","modifiedAt":"2026-09-04T01:00:06.2959016+00:00","affected":[{"ecosystem":"npm","name":"@yuva2210/okx-poc-rce-impact","ranges":[],"versions":["2.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/@yuva2210/okx-poc-rce-impact/v/2.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-15687","license":"OSV · upstream source license applies","key":"osv:MAL-2026-15687","identifiers":["MAL-2026-15687"]},"retained":false,"historicalAffected":[]}],"coverage":[]}