{"id":"MAL-2026-6984","revision":null,"records":[{"revision":"229c6844f4904986baf8b30f7bc716fd","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-6984","aliases":["GHSA-p85w-qq28-35h6"],"title":"Malicious code in @vite-ln/build-ts (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (8972bbfdd55ad200dd49b08501d7391beca99841f0c36479806f2b1e329950a2)\nPackage @vite-ln/build-ts copies the legitimate vite package's manifest verbatim (description 'Native-ESM powered web dev build tool', author 'Evan You', repository vitejs/vite, bin name 'vite') but is published under the unofficial scope @vite-ln rather than @vitejs. The tarball appends an obfuscated payload to the CLI entry bin/vite.js after the legitimate Vite bootstrap. The payload uses a shuffled, character-substituted string array decoded at runtime to recover endpoint hostnames, HTTP methods, and Node API names, then performs an HTTP(S) GET followed by a JSON-RPC 2.0 POST (an 'EtherHiding'-style retrieval where the payload is pulled from a blockchain RPC so the operator can rotate it without republishing), XOR-decodes the response with an embedded key, and executes the decoded bytes both via eval(r) and via a detached, hidden child_process.spawn('node', [..., r], {detached:true, stdio:'ignore', windowsHide:true}). Any developer who runs the vite CLI from this package (e.g., npx vite, npm run dev/build) executes attacker-controlled, dynamically rotated code on their machine with full developer privileges and a persisted detached process. Additional base64-decode-then-toString patterns appear in dist/node/chunks/dep-SDtFYyy1.js and dist/node/runtime.js, consistent with the same obfuscation family.\n\n## Source: ghsa-malware (0b380eb60df5dc8d12ad64fe26e5c1ca08c4fa39505400ba90ea1a2d305121ff)\nAny computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.\n","state":0,"publishedAt":"2026-07-08T15:04:55+00:00","modifiedAt":"2026-07-09T23:02:05.4261172+00:00","affected":[{"ecosystem":"npm","name":"@vite-ln/build-ts","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"}]}],"versions":["5.15.10","5.17.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://github.com/advisories/GHSA-p85w-qq28-35h6","https://www.npmjs.com/package/@vite-ln/build-ts/v/5.15.10","https://www.npmjs.com/package/@vite-ln/build-ts/v/5.17.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-6984","license":"OSV · upstream source license applies","key":"osv:MAL-2026-6984","identifiers":["MAL-2026-6984","GHSA-p85w-qq28-35h6"]},"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-25T03:08:02.0742794+00:00","complete":true,"records":1795,"lastAttemptAt":"2026-11-25T03:08:02.0742794+00:00","lastSuccessAt":"2026-11-25T03:08:02.257549+00:00","error":null,"lastVerifiedAt":"2026-11-25T03:08:02.2575494+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-8d356adab43082cb10bb7c033ed58312cf2ad2f0fb10e0afdf27fc89fa361f3b-b78c7559dbc662f608b39ab7475ab50905b9226d99954741ce088099255205a0","complete":true,"records":431857,"lastAttemptAt":"2026-11-25T03:08:01.369266+00:00","lastSuccessAt":"2026-11-25T03:08:01.3412107+00:00","error":null,"lastVerifiedAt":"2026-11-25T03:08:01.369266+00:00","snapshotPublishedAt":"2026-11-25T02:32:09+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-8f8127b78937483a9fc06d2bc597e8b0","complete":false,"records":13938,"lastAttemptAt":"2026-11-25T03:08:29.7478275+00:00","lastSuccessAt":"2026-11-25T03:08:29.742+00:00","error":"65 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-25T03:08:29.742+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13910,"expectedIdentifiers":13986,"failedIdentifiers":65},{"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-25T03:08:02.0742794+00:00","complete":true,"records":1131,"lastAttemptAt":"2026-11-25T03:08:02.0742794+00:00","lastSuccessAt":"2026-11-25T03:08:02.2584803+00:00","error":null,"lastVerifiedAt":"2026-11-25T03:08:02.2584805+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-6dac7d7a6ec147049c46b40d3f81d7cd","complete":false,"records":13950,"lastAttemptAt":"2026-11-25T03:08:27.6582426+00:00","lastSuccessAt":"2026-11-25T03:08:27.654+00:00","error":"25 identifier lookups failed; latest failures include request timeout. Other identifiers were checked independently.","lastVerifiedAt":"2026-11-25T03:08:27.654+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13961,"expectedIdentifiers":13986,"failedIdentifiers":25},{"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-e743412268199d418c20ac5ea5d5eefbef4a1c78fcbacada525fcf2201b41d4a","complete":true,"records":10077,"lastAttemptAt":"2026-11-25T03:08:02.0125982+00:00","lastSuccessAt":"2026-11-24T23:11:09.9983084+00:00","error":null,"lastVerifiedAt":"2026-11-25T03:08:02.0125982+00:00","snapshotPublishedAt":"2026-11-24T22:48:13+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-6ba2352decd0c95d34a1b50f642582aa34659ce946f552488f0a5cea4e0cc09a","complete":true,"records":2020,"lastAttemptAt":"2026-11-25T03:08:01.4321585+00:00","lastSuccessAt":"2026-11-20T15:46:15.4249619+00:00","error":null,"lastVerifiedAt":"2026-11-25T03:08:01.4321585+00:00","snapshotPublishedAt":"2026-11-20T14:48:20+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-40938cbac3e2265a24e0d129a60138a855ec8a44cbd619ad6c0de0b22c0e253f","complete":true,"records":3221,"lastAttemptAt":"2026-11-25T03:08:02.026612+00:00","lastSuccessAt":"2026-11-24T22:27:06.1844325+00:00","error":null,"lastVerifiedAt":"2026-11-25T03:08:02.026612+00:00","snapshotPublishedAt":"2026-11-24T22:03:27+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-9c9951438d6c717a698ba55ff3f940cbec4dcd9513985b5620a301383384f82e","complete":true,"records":233046,"lastAttemptAt":"2026-11-25T03:08:01.9041105+00:00","lastSuccessAt":"2026-11-25T01:18:28.6314102+00:00","error":null,"lastVerifiedAt":"2026-11-25T03:08:01.9041105+00:00","snapshotPublishedAt":"2026-11-25T00:48:33+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}