Critical Malicious Code Vulnerability in @commute/market-data Package
Summary
MAL-2025-191208: Malicious code in @commute/market-data (npm). Affects @commute/market-data versions 1.0.2. 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 @commute/market-data package is an npm library designed for handling market data in applications. It provides functionalities that allow developers to easily integrate and manipulate market-related information. However, this package has been compromised, leading to severe security implications for users who have it installed.
Vulnerability Detail
The vulnerability stems from a malicious payload introduced by the Sha1-Hulud: The Second Coming NPM worm. This worm is designed to steal tokens and credentials from affected systems, publishing them to GitHub. It can also propagate itself to other npm packages owned by the user and establish persistence through GitHub actions. Furthermore, there is a risk that it may destroy the user's home directory, leading to significant data loss.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall @commute/market-data
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 measure, users should consider isolating the affected system from the network to prevent further data exfiltration until the package is removed and the system is secured.
Conclusion
The @commute/market-data package has been compromised, leading to a critical vulnerability that can severely impact users. Immediate action is required to remove the package and secure any exposed credentials. Regular monitoring of open-source packages is essential to maintain security.
See every vulnerability recorded for @commute/market-data →
FAQ
You should remove the package immediately and rotate any sensitive credentials stored on the affected system.
The malicious code can steal your tokens and credentials, potentially allowing unauthorized access to your accounts and data.
If a patched version is released, you can update to that version. However, ensure that your system is secure before reinstalling.
Signs may include unusual network activity, unauthorized access to accounts, or unexpected changes to files and directories.
You can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities using just your package-lock.json file. You can also check your application for vulnerabilities using the Vulert playground without any signup.