{"id":"MAL-2026-10525","revision":null,"records":[{"revision":"7e4e3ee706694d5c8f1e01f2ede156ef","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-10525","aliases":["GHSA-mqf9-3wx8-45cj"],"title":"Malicious code in @vite-mcp/vite-type (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (9828d7f04091054759c65d427b8f9d7b2853a8a062f9ca261a37e0a0bbc231d0)\nPackage @vite-mcp/vite-type@6.44.1 impersonates the legitimate vite package: package.json declares name '@vite-mcp/vite-type', author 'Evan You', repository 'github.com/vitejs/vite', and a bin entry 'vite' → 'bin/vite.js', while shipping a copy of the vite source tree to look authentic. Appended to bin/vite.js, after a long whitespace-padded line intended to push it past editor viewports, is an obfuscated IIFE that uses a Fisher-Yates-style string-permutation decoder keyed to the integer 4606094 to reconstruct identifiers ('require','https','get','child_process','spawn','eval','JSON.parse'). At runtime it performs an HTTPS GET and a JSON-RPC POST to a remote host, XOR-decodes the response, passes the result to eval(), and additionally invokes child_process.spawn(..., {detached:true, stdio:..., windowsHide:true}) to run the decoded payload as a hidden detached process. The loader fires whenever the shipped 'vite' bin is invoked (e.g. via 'npx vite' or a project's npm scripts), giving the publisher arbitrary remote code execution on any developer or build host that runs this CLI. Combined with the brand/author/repository impersonation of vitejs/vite, this is a deliberate supply-chain attack against developers who mistakenly install this scope.\n\n## Source: ghsa-malware (da355f47379edd22d66678f8031fb25c0655eee3ea057eefd577666021ab8c33)\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:51+00:00","modifiedAt":"2026-09-21T23:30:04.493972+00:00","affected":[{"ecosystem":"npm","name":"@vite-mcp/vite-type","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"}]}],"versions":["6.44.1"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/@vite-mcp/vite-type/v/6.44.1","https://github.com/advisories/GHSA-mqf9-3wx8-45cj"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-10525","license":"OSV · upstream source license applies","key":"osv:MAL-2026-10525","identifiers":["MAL-2026-10525","GHSA-mqf9-3wx8-45cj"]},"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-13T00:18:30.1652899+00:00","complete":true,"records":1779,"lastAttemptAt":"2026-11-13T00:18:30.1652899+00:00","lastSuccessAt":"2026-11-13T00:18:30.3250321+00:00","error":null,"lastVerifiedAt":"2026-11-13T00:18:30.3250387+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-7a7e1fdeef3ba1f1b51268732273968b5a0f06b62b186f8adb31c253bf3cf0c8","complete":true,"records":424917,"lastAttemptAt":"2026-11-13T01:16:40.652242+00:00","lastSuccessAt":"2026-11-13T00:16:35.1139447+00:00","error":null,"lastVerifiedAt":"2026-11-13T00:16:35.4099257+00:00","snapshotPublishedAt":"2026-11-12T23:21:27+00:00","importing":true,"stagedRecords":424926,"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-a1d8e578366a4297bb5f7cb00609ab1a","complete":false,"records":13793,"lastAttemptAt":"2026-11-13T00:26:16.9996132+00:00","lastSuccessAt":"2026-11-13T00:26:16.998+00:00","error":"60 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-13T00:26:16.998+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13786,"expectedIdentifiers":13846,"failedIdentifiers":60},{"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-13T00:18:30.1652899+00:00","complete":true,"records":1123,"lastAttemptAt":"2026-11-13T00:18:30.1652899+00:00","lastSuccessAt":"2026-11-13T00:18:30.3258208+00:00","error":null,"lastVerifiedAt":"2026-11-13T00:18:30.325821+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-8eb343e044d94bc7b589ef4b322b632f","complete":true,"records":13781,"lastAttemptAt":"2026-11-13T00:18:31.6408283+00:00","lastSuccessAt":"2026-11-13T00:18:31.638+00:00","error":null,"lastVerifiedAt":"2026-11-13T00:18:31.638+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13846,"expectedIdentifiers":13846,"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-13T00:18:30.1227543+00:00","lastSuccessAt":"2026-11-12T23:19:15.5239119+00:00","error":null,"lastVerifiedAt":"2026-11-13T00:18:30.1227543+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-13T00:16:35.5614029+00:00","lastSuccessAt":"2026-11-12T18:16:50.7862525+00:00","error":null,"lastVerifiedAt":"2026-11-13T00:16:35.5614029+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-13T00:18:30.1350719+00:00","lastSuccessAt":"2026-11-12T22:18:31.0338213+00:00","error":null,"lastVerifiedAt":"2026-11-13T00:18:30.1350719+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-5a96a544861f83515dc71f7117079dd153b5d85f9a6a43432707425b8e40156c","complete":true,"records":231742,"lastAttemptAt":"2026-11-13T00:18:29.998549+00:00","lastSuccessAt":"2026-11-13T00:18:28.4870072+00:00","error":null,"lastVerifiedAt":"2026-11-13T00:18:29.998549+00:00","snapshotPublishedAt":"2026-11-12T23:48:08+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}