Malicious code in @vite-ts/vite-ui (npm)
The npm package @vite-ts/vite-ui version 6.44.1 is a malicious package impersonating the legitimate vite package. It includes obfuscated code that fetches and executes attacker-controlled JavaScript code from an Ethereum smart contract at runtime. This allows arbitrary code execution on any system running the package's vite CLI. The malicious payload is dynamically retrieved and not verified, enabling the attacker to change the executed code at will.
AI Analysis
Technical Summary
The @vite-ts/vite-ui package version 6.44.1 mimics the legitimate vite package by cloning its README and metadata. It contains an obfuscated Immediately Invoked Function Expression (IIFE) that reconstructs strings and performs runtime HTTPS requests to an Ethereum block-explorer and JSON-RPC calls to an Ethereum node. The package retrieves hex-encoded JavaScript code from an attacker-controlled smart contract using an EtherHiding pattern, decodes it via XOR, and executes it both via eval and a detached child process running node. The fetched code is mutable and unsigned, allowing the attacker to execute arbitrary code on any system invoking the vite CLI from this package. Additional install-time scripts use curl and base64 decoding to further obfuscate malicious behavior.
Potential Impact
Any user installing and running the vite CLI from @vite-ts/[email protected] is at risk of arbitrary code execution controlled by the attacker. The attacker can dynamically change the payload by updating the smart contract, potentially leading to full system compromise or further malicious activities. The malicious code runs with the privileges of the user executing the CLI, posing a significant security risk.
Mitigation Recommendations
No official patch or remediation is currently available. Users should avoid installing or running @vite-ts/[email protected]. Verify the authenticity of npm packages before installation, preferring the legitimate vite package from trusted sources. Remove any installations of this malicious package immediately. Monitor for updates from the package maintainers or npm security advisories for any future remediation.
Malicious code in @vite-ts/vite-ui (npm)
Description
The npm package @vite-ts/vite-ui version 6.44.1 is a malicious package impersonating the legitimate vite package. It includes obfuscated code that fetches and executes attacker-controlled JavaScript code from an Ethereum smart contract at runtime. This allows arbitrary code execution on any system running the package's vite CLI. The malicious payload is dynamically retrieved and not verified, enabling the attacker to change the executed code at will.
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 @vite-ts/vite-ui package version 6.44.1 mimics the legitimate vite package by cloning its README and metadata. It contains an obfuscated Immediately Invoked Function Expression (IIFE) that reconstructs strings and performs runtime HTTPS requests to an Ethereum block-explorer and JSON-RPC calls to an Ethereum node. The package retrieves hex-encoded JavaScript code from an attacker-controlled smart contract using an EtherHiding pattern, decodes it via XOR, and executes it both via eval and a detached child process running node. The fetched code is mutable and unsigned, allowing the attacker to execute arbitrary code on any system invoking the vite CLI from this package. Additional install-time scripts use curl and base64 decoding to further obfuscate malicious behavior.
Potential Impact
Any user installing and running the vite CLI from @vite-ts/[email protected] is at risk of arbitrary code execution controlled by the attacker. The attacker can dynamically change the payload by updating the smart contract, potentially leading to full system compromise or further malicious activities. The malicious code runs with the privileges of the user executing the CLI, posing a significant security risk.
Mitigation Recommendations
No official patch or remediation is currently available. Users should avoid installing or running @vite-ts/[email protected]. Verify the authenticity of npm packages before installation, preferring the legitimate vite package from trusted sources. Remove any installations of this malicious package immediately. Monitor for updates from the package maintainers or npm security advisories for any future remediation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-10527
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a55ff6868715ace432f1cfd
Added to database: 07/14/2026, 09:20:40 UTC
Last enriched: 07/14/2026, 09:35:08 UTC
Last updated: 07/29/2026, 07:04:04 UTC
Views: 12
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.