{"id":"MAL-2026-13706","revision":"c84b1cb921dd4aae95423843c18819b9","records":[{"revision":"c84b1cb921dd4aae95423843c18819b9","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-13706","aliases":[],"title":"Malicious code in neverthrow-js (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (2b58633ada4ac777e5a404d3fa38bc1e664cb4696ccffcfd010a9552b1605cbd)\nPackage neverthrow-js@2.0.0 is a typosquat of the legitimate neverthrow library. package.json declares postinstall: node./dist/install.js, which runs automatically on npm install. The install script reconstructs the destination host and path from decoy arrays that mimic WordPress plugin metadata (filtered fragments yielding ecoferros.com and the path /wp-content/plugins/elementor/admin/dev-tools/index.php?req=verify) so the literal C2 URL never appears in source. It fetches a response, base64-decodes the body, and executes it via new Function(\"rq\", parsed); nfu(require)(), passing require into the evaluated code so the remote payload has full Node capability on the installer's host. Execution is gated by a Date check for 2026-08-11 02:00:00 GMT. index.cjs.js reproduces the real neverthrow library to provide cover for the malicious install hook.\n","state":0,"publishedAt":"2026-08-10T12:32:39+00:00","modifiedAt":"2026-08-10T13:05:01.6062277+00:00","affected":[{"ecosystem":"npm","name":"neverthrow-js","ranges":[],"versions":["2.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/neverthrow-js/v/2.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-13706","license":"OSV · upstream source license applies","key":"osv:MAL-2026-13706","identifiers":["MAL-2026-13706"]},"retained":false,"historicalAffected":[]}],"coverage":[]}