Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Malicious code in @uw010010/vite-tree (npm)

0
Critical
Published: 07/13/2026 (07/13/2026, 18:50:08 UTC)
Source: GCVE Database
Product: @uw010010/vite-tree

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

npmghsa
@uw010010/vite-tree
Affected versions
=3.4.3=3.6.1=3.4.2

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

AILast updated: 07/14/2026, 09:54:29 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses