Malicious Code Vulnerability in @vitemirrorte/element-plus-vite-cli: Remote Control Exploit

Summary

23/09/2026
CRITICAL
No i
Critical
Not published

MAL-2026-16433: Malicious code in @vitemirrorte/element-plus-vite-cli (npm). Affects @vitemirrorte/element-plus-vite-cli versions 2.9.1. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The package @vitemirrorte/element-plus-vite-cli is a tool designed for integrating Element Plus with Vite, a modern frontend build tool. It simplifies the development process by providing a streamlined setup for using Element Plus components in Vite applications. However, this package has been found to contain malicious code that compromises the security of the host system.

Vulnerability Detail

The vulnerability originates from a malicious payload embedded in the package that executes upon installation. Specifically, during the npm install process, a post-install script activates a hidden agent that connects to a command-and-control (C2) server. This agent can execute arbitrary shell commands, read and write files, and communicate sensitive information back to the attacker. The C2 server is disguised as a legitimate domain, making detection difficult. The malicious code is designed to remain dormant unless specific conditions are met, allowing it to evade security scanners.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall @vitemirrorte/element-plus-vite-cli

If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, you can avoid using the affected package until a patch is confirmed. Additionally, consider using a different package that provides similar functionality without known vulnerabilities.

Conclusion

The discovery of malicious code in the @vitemirrorte/element-plus-vite-cli package highlights the importance of vigilance in managing open-source dependencies. Users are urged to update their packages and utilize tools like Vulert to monitor for vulnerabilities proactively.

See every vulnerability recorded for @vitemirrorte/element-plus-vite-cli →

Share this vulnerability

FAQ

The malicious code allows remote execution of commands and unauthorized access to the filesystem on the installer's host.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without needing to sign up.

Immediately uninstall the package and update to a safe version. Run 'npm uninstall @vitemirrorte/element-plus-vite-cli' followed by the update command.

The code remains dormant until specific project conditions are met, making it difficult for scanners to detect it during routine checks.

Regularly audit your dependencies, use tools like Vulert for monitoring, and stay informed about security advisories related to the packages you use.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall @vitemirrorte/element-plus-vite-cli

If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback