Critical Malicious Code Vulnerability in npm-ot-test Package
Summary
MAL-2025-6643: Malicious code in npm-ot-test (npm). Affects npm-ot-test versions 2.0.0. No fix is published. How to fix ↓
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.
No signup required · Results in about 60 seconds
Background
The npm-ot-test package is a Node.js library designed for testing purposes within npm environments. It provides developers with tools to create and manage test cases efficiently. However, this package has been identified to contain malicious code that can compromise the security of applications utilizing it, making it essential for developers to be aware of this vulnerability.
Vulnerability Detail
The vulnerability identified as MAL-2025-6643 originates from malicious code embedded in version 2.0.0 of the npm-ot-test package. This code can lead to unauthorized access to sensitive data, potential data breaches, and exploitation of the affected systems. The malicious nature of this vulnerability poses significant risks to applications that rely on this package, making it crucial for developers to take immediate action.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall npm-ot-test
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, consider removing the npm-ot-test package from your project until a secure version is released. You can do this by running the command: npm uninstall npm-ot-test.
Conclusion
The npm-ot-test package has been identified with a critical vulnerability that poses significant risks to applications. Developers are urged to take immediate action by updating or removing the package to safeguard their projects. Utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.
See every vulnerability recorded for npm-ot-test →
FAQ
The npm-ot-test package is a Node.js library used for testing within npm environments, providing tools for developers to manage test cases.
MAL-2025-6643 refers to a malicious code vulnerability found in the npm-ot-test package that can lead to unauthorized access and data breaches.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check if your application is affected without requiring signup.
If you are using the affected npm-ot-test package, you should update it to the latest version or remove it from your project until a secure version is available.
The vulnerability was discovered by ReversingLabs, a cybersecurity firm specializing in threat detection and analysis.