{"id":"MAL-2026-6988","revision":null,"records":[{"revision":"52467288cad04a72ab94d8fdaf38b650","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-6988","aliases":["GHSA-74pv-97c8-9hfp"],"title":"Malicious code in @vite-tab/tab (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (95af865d1cf7d45f2b4c2a73eebcfcd1a1a6aba9a36f33bf8256ef4d7235903c)\n`@vite-tab/tab` republishes Vite's codebase under a different name while impersonating the upstream project: `package.json` declares `bin: { vite: 'bin/vite.js' }` (hijacking the `vite` command on $PATH), `author: 'Evan You'`, `repository: git+https://github.com/vitejs/vite.git`, and `homepage: https://vitejs.dev`. Appended to `bin/vite.js` after the legitimate Vite bootstrap is a self-decoding string table (`var _$_4445=(function(k,p){...})(\"...\",4606094)`) built via a Fisher-Yates-style scramble with `\\x25`/`\\x23` substitution markers; all sensitive identifiers (`https`, `get`, `request`, `JSON.parse`, `child_process`, `spawn`, `eval`, host fragments) are referenced as indices into this table to defeat static review. At runtime the decoded routines perform an HTTPS GET followed by a JSON-RPC POST (`{jsonrpc, method, params, id:1}`) to a dynamically resolved hostname, base64-decode and XOR-decrypt the response, and pass it to `eval(r)`; a second fetched payload is launched via `child_process.spawn(..., {detached:true, windowsHide:true})`, with a 30-second throttle. The fetch loop runs every time a developer invokes the hijacked `vite` command, giving the publisher arbitrary remote code execution on the developer machine with persistence via detached child processes. The remote-hostname JSON-RPC lookup makes the C2 endpoint resistant to static domain blocking.\n\n## Source: ghsa-malware (bf6a6038d2af1aebf13d12ca10ca2abf14aaf6faaf9b99895f6e68e9f6d2af6b)\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-08T16:58:42+00:00","modifiedAt":"2026-09-21T23:30:04.5303534+00:00","affected":[{"ecosystem":"npm","name":"@vite-tab/tab","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"}]}],"versions":["5.7.0","3.15.10"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/@vite-tab/tab/v/5.7.0","https://www.npmjs.com/package/@vite-tab/tab/v/3.15.10","https://github.com/advisories/GHSA-74pv-97c8-9hfp"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-6988","license":"OSV · upstream source license applies","key":"osv:MAL-2026-6988","identifiers":["MAL-2026-6988","GHSA-74pv-97c8-9hfp"]},"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}]}