Malicious code in @uw010010/vite-tree (npm)
The npm package @uw010010/vite-tree is a malicious typosquatting package impersonating the legitimate vite package. It copies vite's metadata and README to appear authentic. The package contains obfuscated code that executes on every invocation of its vite binary, sending requests to an attacker-controlled server, decoding and executing arbitrary code, and spawning a hidden detached child process for persistence. This results in arbitrary code execution on the developer's machine and stealthy persistence mechanisms.
AI Analysis
Technical Summary
The @uw010010/vite-tree package is a malicious npm typosquat of the vite package. It replicates vite's author, description, repository, and README to deceive users. Its binary includes obfuscated code that performs HTTP GET and JSON-RPC 2.0 POST requests to an attacker-controlled endpoint, XOR-decodes the response, evaluates the decoded payload, and spawns a detached background process running the same payload. This code executes whenever the vite binary from this package is run, enabling arbitrary attacker code execution and persistence on the victim's system.
Potential Impact
Any developer who installs and runs the @uw010010/vite-tree package will have arbitrary attacker-controlled code executed on their machine. The malicious code runs on every invocation of the package's vite binary, allowing attackers to execute commands and maintain persistence via a hidden detached child process. This compromises the developer's environment and potentially any systems accessible from it.
Mitigation Recommendations
No official patch or fix is available for this malicious package. The primary mitigation is to avoid installing or running the @uw010010/vite-tree package. Developers should verify package names carefully to avoid typosquatting attacks and use trusted sources such as the official vite package. If this package is found installed, it should be removed immediately and the environment inspected for signs of compromise.
Malicious code in @uw010010/vite-tree (npm)
Description
The npm package @uw010010/vite-tree is a malicious typosquatting package impersonating the legitimate vite package. It copies vite's metadata and README to appear authentic. The package contains obfuscated code that executes on every invocation of its vite binary, sending requests to an attacker-controlled server, decoding and executing arbitrary code, and spawning a hidden detached child process for persistence. This results in arbitrary code execution on the developer's machine and stealthy persistence mechanisms.
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 @uw010010/vite-tree package is a malicious npm typosquat of the vite package. It replicates vite's author, description, repository, and README to deceive users. Its binary includes obfuscated code that performs HTTP GET and JSON-RPC 2.0 POST requests to an attacker-controlled endpoint, XOR-decodes the response, evaluates the decoded payload, and spawns a detached background process running the same payload. This code executes whenever the vite binary from this package is run, enabling arbitrary attacker code execution and persistence on the victim's system.
Potential Impact
Any developer who installs and runs the @uw010010/vite-tree package will have arbitrary attacker-controlled code executed on their machine. The malicious code runs on every invocation of the package's vite binary, allowing attackers to execute commands and maintain persistence via a hidden detached child process. This compromises the developer's environment and potentially any systems accessible from it.
Mitigation Recommendations
No official patch or fix is available for this malicious package. The primary mitigation is to avoid installing or running the @uw010010/vite-tree package. Developers should verify package names carefully to avoid typosquatting attacks and use trusted sources such as the official vite package. If this package is found installed, it should be removed immediately and the environment inspected for signs of compromise.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-10470
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a55ffa768715ace432f96ed
Added to database: 07/14/2026, 09:21:43 UTC
Last enriched: 07/14/2026, 09:54:29 UTC
Last updated: 07/29/2026, 03:53:52 UTC
Views: 37
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.