Critical Malicious Code Vulnerability in tvi-cli Package

tvi-cli Updated 02 Oct 2025

Summary

16/09/2025
CRITICAL
No i
Critical
Not published

MAL-2025-47357: Malicious code in tvi-cli (npm). Affects tvi-cli versions 0.1.5. 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 tvi-cli package is a command-line interface tool designed for various tasks within the Node.js ecosystem. It is commonly used for automation and scripting purposes. However, this package has been compromised, leading to the introduction of malicious code that poses significant security risks to users and their systems.

Vulnerability Detail

The vulnerability stems from the compromise of the tvi-cli package, which has been infected by the Shai-Hulud NPM worm. This malicious code is designed to steal tokens and credentials from the user's system and publish them to GitHub. Furthermore, it propagates itself to other NPM packages owned by the user, potentially leading to widespread compromise of multiple projects. Users who have this package installed should consider their systems fully compromised, as the malicious payload can execute without user intervention.

How To Fix

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

npm uninstall tvi-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 workaround, users should rotate all secrets and keys stored on their systems, as the malicious code may have accessed sensitive information. Additionally, users should consider using alternative packages that provide similar functionality without the associated risks.

Conclusion

The tvi-cli package has been compromised, leading to the introduction of malicious code that can steal sensitive information and propagate itself to other packages. Users must take immediate action to uninstall the package and secure their systems. Utilizing tools like Vulert can help in monitoring and preventing future vulnerabilities.

See every vulnerability recorded for tvi-cli →

Share this vulnerability

FAQ

tvi-cli is a command-line interface tool used in the Node.js ecosystem for automation and scripting tasks.

The package was infected by the Shai-Hulud NPM worm, which introduced malicious code designed to steal sensitive information.

You should uninstall the tvi-cli package immediately and rotate any secrets or keys stored on your system.

Yes, you can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

Regularly monitor your dependencies using tools like Vulert, which can alert you in real-time for open-source vulnerabilities based on your package-lock.json.

How To Fix

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

npm uninstall tvi-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