{"id":"MAL-2026-10526","revision":null,"records":[{"revision":"be9dedfd3b954138a2607ec421441fd2","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-10526","aliases":["GHSA-phpx-wpr2-26pv"],"title":"Malicious code in @vite-pro/vite-ui (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (9aaf307faea8efb93af6f3c8ee4811304a7d9afa25f1c9525aed108efea439e7)\nPackage `@vite-pro/vite-ui` impersonates the official `vite` package: `package.json` declares author `Evan You`, points `repository` at `github.com/vitejs/vite`, sets `homepage` to `vitejs.dev`, ships the upstream Vite README, and exposes a `bin` named `vite`. Appended to the end of `bin/vite.js`, after the legitimate CLI bootstrap and a large block of trailing whitespace, is an obfuscated IIFE that constructs a string table via a seeded Fisher-Yates shuffle (seed 4606094) to hide endpoints, method names, and constants. The loader then fetches a remote payload over HTTP, XOR-decrypts it with an embedded key, and `eval`s the result. It subsequently fetches a second payload and passes it to `child_process.spawn` with `detached:true`, `stdio:'ignore'`, and `windowsHide:true`, establishing a hidden, long-running process independent of the parent `vite` invocation. The loader runs every time a developer executes `vite`, `npx vite`, or `npm run dev|build`, giving the attacker arbitrary code execution and a persistent background process on the developer machine on each CLI use. The obfuscation technique (seeded string-array shuffle + XOR + eval + detached spawn) matches reported blockchain-C2 loader families.\n\n## Source: ghsa-malware (86e8afdc046433be596684c9c50254fafe49af5b72ce9782db5f5e22d6b8293e)\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-14T03:33:15+00:00","modifiedAt":"2026-09-21T23:30:04.5382154+00:00","affected":[{"ecosystem":"npm","name":"@vite-pro/vite-ui","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"}]}],"versions":["2.5.10"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/@vite-pro/vite-ui/v/2.5.10","https://github.com/advisories/GHSA-phpx-wpr2-26pv"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-10526","license":"OSV · upstream source license applies","key":"osv:MAL-2026-10526","identifiers":["MAL-2026-10526","GHSA-phpx-wpr2-26pv"]},"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-12T23:19:15.9590640+00:00","complete":true,"records":1779,"lastAttemptAt":"2026-11-12T23:19:15.959064+00:00","lastSuccessAt":"2026-11-12T23:19:16.1249039+00:00","error":null,"lastVerifiedAt":"2026-11-12T23:19:16.1249085+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-64752486c567b55b31fb0d7225f5222bcd0019564ac0ac5f0649e242c7b19299-444fbca434d6d78ca298b98e326f006793c8bfba8d8449559c252c7bd5d43b97","complete":true,"records":424892,"lastAttemptAt":"2026-11-12T23:16:32.1805379+00:00","lastSuccessAt":"2026-11-12T23:16:31.3274301+00:00","error":null,"lastVerifiedAt":"2026-11-12T23:16:32.1805379+00:00","snapshotPublishedAt":"2026-11-12T22:20:38+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-18b6e2de72f046b9ae68d900992927cf","complete":true,"records":13786,"lastAttemptAt":"2026-11-12T23:20:07.0132813+00:00","lastSuccessAt":"2026-11-12T23:20:07.008+00:00","error":null,"lastVerifiedAt":"2026-11-12T23:20:07.008+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13839,"expectedIdentifiers":13839,"failedIdentifiers":0},{"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-12T23:19:15.9590640+00:00","complete":true,"records":1123,"lastAttemptAt":"2026-11-12T23:19:15.959064+00:00","lastSuccessAt":"2026-11-12T23:19:16.1261415+00:00","error":null,"lastVerifiedAt":"2026-11-12T23:19:16.1261418+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-c602031ad3784e46b459ac5b8ed0c456","complete":false,"records":13781,"lastAttemptAt":"2026-11-12T23:19:52.2497266+00:00","lastSuccessAt":"2026-11-12T23:19:52.247+00:00","error":null,"lastVerifiedAt":"2026-11-12T23:19:52.247+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13830,"expectedIdentifiers":13839,"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-93e76d404e1aeb6a7e8902f5ffa06211fc86dea3b1958e297abb2668aa5e6e8c","complete":true,"records":9952,"lastAttemptAt":"2026-11-12T23:19:15.8042075+00:00","lastSuccessAt":"2026-11-12T23:19:15.5239119+00:00","error":null,"lastVerifiedAt":"2026-11-12T23:19:15.8042075+00:00","snapshotPublishedAt":"2026-11-12T23:03:02+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-4d60731753a2f72e455d1086e7203d0ef10843936dcc1cf2b45135e2caa204b0","complete":true,"records":2012,"lastAttemptAt":"2026-11-12T23:16:32.3274083+00:00","lastSuccessAt":"2026-11-12T18:16:50.7862525+00:00","error":null,"lastVerifiedAt":"2026-11-12T23:16:32.3274083+00:00","snapshotPublishedAt":"2026-11-12T17:48:11+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-20d1a8ab073a1c13ab2143dbcadb34ebb8edf1e18e16482b448513662c3d1e12","complete":true,"records":3127,"lastAttemptAt":"2026-11-12T23:19:15.9196655+00:00","lastSuccessAt":"2026-11-12T22:18:31.0338213+00:00","error":null,"lastVerifiedAt":"2026-11-12T23:19:15.9196655+00:00","snapshotPublishedAt":"2026-11-12T22:18:06+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-9968eeb70b2f77fc15916697fe5c77d3aa6cdbb4b21de3dc236dafb289854aa5","complete":true,"records":231735,"lastAttemptAt":"2026-11-12T23:19:03.9300655+00:00","lastSuccessAt":"2026-11-12T23:19:02.2755063+00:00","error":null,"lastVerifiedAt":"2026-11-12T23:19:03.9300655+00:00","snapshotPublishedAt":"2026-11-12T22:47:57+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}