{"id":"MAL-2026-15870","revision":null,"records":[{"revision":"912661d2e6e64aed913bc33a3854a0c2","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-15870","aliases":[],"title":"Malicious code in vitest-cli-dev (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (3ffecbd11a726d511cf3bc41e65ce2a83329b247239d230aeeff9ad70b0e5953)\nvitest-cli-dev@10.0.7 is a typosquat package: its name and homepage suggest a vitest tool, but the tarball contains a copy of nodemailer plus an install-time dropper. The declared postinstall runs lib/utils/index.js, which spawns a detached Node child process executing lib/utils/smtp-connection/index.js. That child fetches JSON from https://api.jsonbin.io/v3/b/6a62bc86da38895dfe879659 and https://api.jsonstorage.net/v1/json/5b343803-a7a8-4a86-ba58-2dd6116a18d4/1ba3d09f-292a-4cc2-a2bc-71e6c9ac98a5 and passes the returned 'cookie' field to new Function(\"require\", data.cookie)(require), executing attacker-controlled JavaScript on the installer's machine at npm install time. The child is detached and unref'd, allowing it to survive npm's parent process. The remote JSON payloads are mutable and can be swapped by the attacker at any time.\n","state":0,"publishedAt":"2026-09-04T02:57:36+00:00","modifiedAt":"2026-09-04T03:30:05.0132339+00:00","affected":[{"ecosystem":"npm","name":"vitest-cli-dev","ranges":[],"versions":["10.0.7"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/vitest-cli-dev/v/10.0.7"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-15870","license":"OSV · upstream source license applies","key":"osv:MAL-2026-15870","identifiers":["MAL-2026-15870"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-19T16:01:32.3378751+00:00","complete":true,"records":1786,"lastAttemptAt":"2026-11-19T16:01:32.3378751+00:00","lastSuccessAt":"2026-11-19T16:01:32.5150383+00:00","error":null,"lastVerifiedAt":"2026-11-19T16:01:32.5150392+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-e55c589538e0700b45c7d6d41fe1447a79199283262c371c864535c791a040b9-904a496cfc2893b6972fc00fe6b94b8c15ebc7e7734e22a279b080b306ca2c5a","complete":true,"records":428801,"lastAttemptAt":"2026-11-19T15:59:46.3350418+00:00","lastSuccessAt":"2026-11-19T15:59:46.1873259+00:00","error":null,"lastVerifiedAt":"2026-11-19T15:59:46.3350418+00:00","snapshotPublishedAt":"2026-11-19T15:24:49+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-e53296c82da446559c1ef13150a22992","complete":false,"records":13861,"lastAttemptAt":"2026-11-19T16:11:09.2714483+00:00","lastSuccessAt":"2026-11-19T16:11:09.268+00:00","error":"270 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-19T16:11:09.268+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13638,"expectedIdentifiers":13908,"failedIdentifiers":270},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-19T16:01:32.3378751+00:00","complete":true,"records":1125,"lastAttemptAt":"2026-11-19T16:01:32.3378751+00:00","lastSuccessAt":"2026-11-19T16:01:32.5160974+00:00","error":null,"lastVerifiedAt":"2026-11-19T16:01:32.5160976+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-3d346fd985e841b1aac7f0b69a8e04b9","complete":true,"records":13873,"lastAttemptAt":"2026-11-19T16:01:33.1329967+00:00","lastSuccessAt":"2026-11-19T15:01:35.314+00:00","error":null,"lastVerifiedAt":"2026-11-19T15:01:35.314+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13908,"expectedIdentifiers":13908,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-76574c95b6792d47ba90af64983ed5843633f14426346d676016e94a5f383202","complete":true,"records":9963,"lastAttemptAt":"2026-11-19T16:01:32.1967929+00:00","lastSuccessAt":"2026-11-19T01:24:31.4213722+00:00","error":null,"lastVerifiedAt":"2026-11-19T16:01:32.1967929+00:00","snapshotPublishedAt":"2026-11-19T01:03:15+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-f4424d7d4861b1af1404bd15abcb83f295dcd003412a9340ca99dc8200aa148a","complete":true,"records":2014,"lastAttemptAt":"2026-11-19T15:59:46.4850134+00:00","lastSuccessAt":"2026-11-13T19:57:08.2864435+00:00","error":null,"lastVerifiedAt":"2026-11-19T15:59:46.4850134+00:00","snapshotPublishedAt":"2026-11-13T19:33:10+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-313d8afdba3867de110bc2f0cc252c7b787cb94e08a055d09b0542017e147ca8","complete":true,"records":3194,"lastAttemptAt":"2026-11-19T16:01:32.2995638+00:00","lastSuccessAt":"2026-11-19T09:40:31.5988269+00:00","error":null,"lastVerifiedAt":"2026-11-19T16:01:32.2995638+00:00","snapshotPublishedAt":"2026-11-19T09:03:08+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-c279061b33e5f41f15925204f8c9fb11104b657e25ab9e8bb013c39c52fe29cb","complete":true,"records":232765,"lastAttemptAt":"2026-11-19T16:01:32.0667728+00:00","lastSuccessAt":"2026-11-19T16:01:31.0253043+00:00","error":null,"lastVerifiedAt":"2026-11-19T16:01:32.0667728+00:00","snapshotPublishedAt":"2026-11-19T15:33:25+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}