{"id":"MAL-2026-13405","revision":"c23b06194a54411d859806f7b4ec6735","records":[{"revision":"c23b06194a54411d859806f7b4ec6735","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-13405","aliases":[],"title":"Malicious code in vitest-preview-pro-all (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (ddcab31555f393ab1d7df6ea760094517d20acdf764a27983f19d853783e63a7)\npackage.json postinstall runs lib/utils/index.js, which spawns a detached Node child executing lib/utils/smtp-connection/index.js. That file is heavily obfuscated with obfuscator.io-style hex-identifier string arrays hiding an axios GET to https://api.jsonbin.io/v3/b/6a719632da38895dfeb7128d and a `new Function('require', data.record.message)(require)` sink — arbitrary remote code execution on the installer's machine at npm install time, with `require` passed in for full Node capability. The package name is `vitest-preview-pro-all` but the shipped main is a copy of the nodemailer library (author 'Andris Reinman'), an impersonation cover for the dropper. The jsonbin.io host is mutable, third-party, and attacker-controlled; the fetched payload is not pinned, hashed, or signed.\n","state":0,"publishedAt":"2026-08-06T12:30:54+00:00","modifiedAt":"2026-08-06T13:34:48.5775306+00:00","affected":[{"ecosystem":"npm","name":"vitest-preview-pro-all","ranges":[],"versions":["10.0.3"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/vitest-preview-pro-all/v/10.0.3"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-13405","license":"OSV · upstream source license applies","key":"osv:MAL-2026-13405","identifiers":["MAL-2026-13405"]},"retained":false,"historicalAffected":[]}],"coverage":[]}