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 @vite-pro/vite-ui (npm)

0
Critical
Published: 07/14/2026 (07/14/2026, 03:33:15 UTC)
Source: GCVE Database
Product: @vite-pro/vite-ui

Description

The npm package @vite-pro/vite-ui impersonates the official vite package by mimicking author and repository metadata. It contains obfuscated malicious code that executes every time the vite CLI is run, fetching and executing remote payloads. This results in arbitrary code execution and a persistent hidden background process on the developer's machine.

Affected software

npmghsa
@vite-pro/vite-ui
Affected versions
=2.5.10

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:35:15 UTC

Technical Analysis

The @vite-pro/vite-ui package is a malicious npm package designed to impersonate the legitimate vite package by copying author information, repository links, and documentation. It appends an obfuscated Immediately Invoked Function Expression (IIFE) to its CLI binary that uses a seeded Fisher-Yates shuffle and XOR decryption to hide remote endpoints and constants. Upon execution, it fetches a remote payload over HTTP, decrypts and evaluates it, then fetches a second payload which it runs as a detached, hidden child process. This behavior enables attackers to gain arbitrary code execution and maintain persistent background processes on developer machines each time the vite CLI is invoked via commands like vite, npx vite, or npm run dev/build. The obfuscation and execution techniques align with known blockchain command-and-control loader families.

Potential Impact

This malicious package allows attackers to execute arbitrary code on developer machines and maintain persistent, hidden background processes. This compromises the security and integrity of the development environment, potentially leading to further system compromise or data exfiltration. The infection occurs whenever the vite CLI is run, making it highly persistent and stealthy.

Mitigation Recommendations

No official patch or fix is available as this is a malicious package impersonating a legitimate one. The recommended mitigation is to avoid using the @vite-pro/vite-ui package entirely. Developers should verify package authenticity before installation, prefer official package sources, and remove any instances of this malicious package from their environments. Monitoring for unexpected child processes spawned by vite CLI executions may help detect infections.

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-10526
Osv Schema Version
1.7.4
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a55ff6868715ace432f1d00

Added to database: 07/14/2026, 09:20:40 UTC

Last enriched: 07/14/2026, 09:35:15 UTC

Last updated: 07/25/2026, 13:58:38 UTC

Views: 12

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