Critical Malicious Code Vulnerability in m25-transaction-utils Package
Summary
MAL-2025-191127: Malicious code in m25-transaction-utils (npm). Affects m25-transaction-utils versions 1.1.16. 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 m25-transaction-utils package is an npm library designed to facilitate transaction management in various applications. It provides utility functions that developers can use to streamline transaction processes. However, this package has been compromised, embedding malicious code that poses significant security risks to any system utilizing it.
Vulnerability Detail
The vulnerability stems from the presence of embedded malicious code within the m25-transaction-utils package. This code can fully compromise any computer that has the package installed, allowing unauthorized access to sensitive information such as secrets and keys. The malicious nature of this code has been confirmed by security researchers, and it is classified under CWE-506, indicating that the product contains code that appears to be malicious in nature. The ramifications of this vulnerability are severe, as it can lead to data breaches and unauthorized control over affected systems.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall m25-transaction-utils
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
Currently, there are no effective workarounds to mitigate the risks posed by this vulnerability other than removing the package and securing your system.
Conclusion
The m25-transaction-utils package has been identified as containing malicious code that poses a serious security threat. Immediate action is required to remove the package and secure any compromised systems. Utilizing tools like Vulert can help monitor for such vulnerabilities in the future.
See every vulnerability recorded for m25-transaction-utils →
FAQ
You should remove the package immediately and rotate any secrets or keys stored on the affected computer.
You can use the Vulert platform to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without any signup.
Failing to address this vulnerability can lead to unauthorized access to sensitive data and complete control of your system by malicious actors.
After removing the package, it is essential to rotate all secrets and keys from a secure device to prevent unauthorized access.
If a patched version is released, updating the package will fix the vulnerability. However, it is still crucial to ensure that your system is secure and free from any lingering malicious code.