Critical Malicious Code Vulnerability in bigmathlib Package
Summary
MAL-2025-192598: Malicious code in bigmathlib (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
bigmathlib is an npm package designed for advanced mathematical computations, providing a range of functions for users needing high-performance calculations. However, it has been identified as containing malicious code that compromises the security of any system where it is installed, making it a significant risk for developers and organizations relying on its functionality.
Vulnerability Detail
The vulnerability originates from the inclusion of malicious code within the bigmathlib package, which has been confirmed to fully compromise any computer that has this package installed. The malicious code can potentially expose sensitive information, including secrets and keys, leading to unauthorized access and control over the affected systems. Users are advised to treat any system with this package as compromised and take immediate action to secure their data.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall bigmathlib
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 associated with the bigmathlib package. The only recommendation is to uninstall the package and secure your system.
Conclusion
The discovery of malicious code within the bigmathlib package poses a serious threat to users and their systems. Immediate action is required to uninstall the package and secure sensitive information. Utilizing tools like Vulert can help in monitoring and preventing future vulnerabilities.
See every vulnerability recorded for bigmathlib →
FAQ
Immediately uninstall the bigmathlib package using 'npm uninstall bigmathlib' and rotate any sensitive information stored on the affected system.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.
Keeping bigmathlib installed poses significant risks, including unauthorized access to sensitive data and potential control over your system by malicious actors.
No, there is currently no patched version available for bigmathlib. The only solution is to uninstall the package.
Regularly monitor your dependencies using tools like Vulert, which can alert you to open-source vulnerabilities in real-time.