Malicious code in @vite-mcp/vite-type (npm)
The npm package @vite-mcp/vite-type version 6.44.1 is a malicious package impersonating the legitimate vite package. It includes obfuscated code that executes a remote payload via HTTPS requests and runs it as a hidden detached process when the 'vite' CLI is invoked. This supply-chain attack targets developers who mistakenly install this package, allowing arbitrary remote code execution on developer or build hosts.
AI Analysis
Technical Summary
The package @vite-mcp/[email protected] impersonates the legitimate vite package by mimicking its name, author, repository, and CLI entry point. It ships a copy of the vite source tree with appended obfuscated code that decodes and executes a remote payload at runtime. This payload is fetched via HTTPS GET and JSON-RPC POST requests, XOR-decoded, then executed using eval() and child_process.spawn() in a hidden detached process. The malicious loader activates whenever the 'vite' binary is run, enabling the attacker to execute arbitrary code remotely on any system running this CLI, constituting a deliberate supply-chain attack against developers.
Potential Impact
This vulnerability allows an attacker to achieve arbitrary remote code execution on developer or build hosts that run the compromised CLI from the malicious package. The attacker can execute hidden processes and potentially control the affected environment, leading to compromise of development infrastructure and downstream software supply chains.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid installing or running the @vite-mcp/vite-type package, especially version 6.44.1. Verify package authenticity by using official vite packages from trusted sources. Monitor for and remove any instances of this malicious package from development environments. Patch status is not yet confirmed — check the vendor or npm advisories for current remediation guidance.
Malicious code in @vite-mcp/vite-type (npm)
Description
The npm package @vite-mcp/vite-type version 6.44.1 is a malicious package impersonating the legitimate vite package. It includes obfuscated code that executes a remote payload via HTTPS requests and runs it as a hidden detached process when the 'vite' CLI is invoked. This supply-chain attack targets developers who mistakenly install this package, allowing arbitrary remote code execution on developer or build hosts.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The package @vite-mcp/[email protected] impersonates the legitimate vite package by mimicking its name, author, repository, and CLI entry point. It ships a copy of the vite source tree with appended obfuscated code that decodes and executes a remote payload at runtime. This payload is fetched via HTTPS GET and JSON-RPC POST requests, XOR-decoded, then executed using eval() and child_process.spawn() in a hidden detached process. The malicious loader activates whenever the 'vite' binary is run, enabling the attacker to execute arbitrary code remotely on any system running this CLI, constituting a deliberate supply-chain attack against developers.
Potential Impact
This vulnerability allows an attacker to achieve arbitrary remote code execution on developer or build hosts that run the compromised CLI from the malicious package. The attacker can execute hidden processes and potentially control the affected environment, leading to compromise of development infrastructure and downstream software supply chains.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid installing or running the @vite-mcp/vite-type package, especially version 6.44.1. Verify package authenticity by using official vite packages from trusted sources. Monitor for and remove any instances of this malicious package from development environments. Patch status is not yet confirmed — check the vendor or npm advisories for current remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-10525
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a55ff6868715ace432f1cf7
Added to database: 07/14/2026, 09:20:40 UTC
Last enriched: 07/14/2026, 09:34:45 UTC
Last updated: 07/29/2026, 12:52:37 UTC
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.