Critical Malicious Code Vulnerability in npm-xmt Package
Summary
MAL-2025-192987: Malicious code in npm-xmt (npm). Affected versions are not published. 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-xmt package is a Node.js module designed for various functionalities within the npm ecosystem. It is commonly used for managing and executing tasks in JavaScript applications. However, this package has been identified as containing malicious code, posing significant security risks to any system that has it installed.
Vulnerability Detail
The vulnerability stems from the presence of embedded malicious code within the npm-xmt package. This code can compromise the entire system, allowing unauthorized access to sensitive information such as secrets and keys. The malicious nature of the code means that any computer running this package should be considered fully compromised. The origin of this vulnerability is linked to the package's distribution through the npm registry, where it was inadvertently made available to users.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall npm-xmt
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
There are no effective workarounds for this vulnerability other than removing the package entirely. Ensure that you monitor your system for any signs of compromise after removal.
Conclusion
The npm-xmt package has been identified as containing malicious code that poses significant security risks. Immediate action is required to uninstall the package and secure any sensitive information. Utilizing tools like Vulert can help monitor for such vulnerabilities in the future.
See every vulnerability recorded for npm-xmt →
FAQ
You should uninstall the npm-xmt package immediately and rotate any sensitive information stored on the affected system.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without requiring any signup.
Leaving npm-xmt installed can lead to unauthorized access to your system, data breaches, and potential loss of sensitive information.
No patched version is available for npm-xmt as the package is considered malicious and should be completely removed.
Vulert uses the package-lock.json file to monitor and alert for vulnerabilities in your software, providing real-time insights without needing access to the code.