Malicious Code Detected in vl-ui-code-preview Package - Version 10.1.1

vl-ui-code-preview Updated 23 Feb 2026

Summary

22/02/2026
CRITICAL
No i
Critical
Not published

MAL-2026-994: Malicious code in vl-ui-code-preview (npm). Affects vl-ui-code-preview versions 10.1.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 Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The vl-ui-code-preview package is an npm library designed to facilitate the previewing of code snippets in user interfaces. It is commonly used in web development projects to enhance the user experience by allowing developers to showcase code in a visually appealing manner. However, version 10.1.1 of this package has been flagged for containing malicious code, which poses significant security risks to applications that utilize it.

Vulnerability Detail

The vulnerability in the vl-ui-code-preview package arises from the execution of commands that are associated with malicious behavior. This can lead to unauthorized access, data breaches, or the execution of harmful scripts within the user's environment. The malicious code was identified by the OpenSSF Package Analysis project, which monitors npm packages for security threats. The specific commands executed by the package can compromise the integrity of the application and potentially affect end-users.

How To Fix

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

npm uninstall vl-ui-code-preview

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 remove the vl-ui-code-preview package from your project until a safe version is confirmed. You can do this by running the following command:

npm uninstall vl-ui-code-preview

This will prevent any potential malicious activity associated with the package while you seek alternatives or wait for a patch.

Conclusion

The vl-ui-code-preview package version 10.1.1 has been identified as malicious, posing significant security risks to applications that utilize it. Users are advised to update to a patched version or remove the package until a safe version is confirmed. Monitoring tools like Vulert can assist in identifying vulnerabilities in your projects.

See every vulnerability recorded for vl-ui-code-preview →

Share this vulnerability

FAQ

The vl-ui-code-preview package is an npm library used for displaying code snippets in web applications, enhancing the user interface.

The malicious code was identified by the OpenSSF Package Analysis project, which analyzes npm packages for security vulnerabilities.

Using the affected version (10.1.1) can lead to unauthorized access, data breaches, and execution of harmful scripts, compromising application security.

You can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities using just the package-lock.json file. You can check if your application is affected by visiting the Vulert playground.

Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without requiring any signup.

How To Fix

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

npm uninstall vl-ui-code-preview

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