Critical Malicious Code Vulnerability in bignumberx Package
Summary
MAL-2025-192714: Malicious code in bignumberx (npm). Affects bignumberx versions 1.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 bignumberx package is a JavaScript library designed for arbitrary-precision arithmetic, allowing developers to handle large numbers accurately in their applications. It is commonly used in financial applications, scientific computations, and any scenario where precision is paramount. However, this package has been identified to contain malicious code, posing significant risks to users and their applications.
Vulnerability Detail
The vulnerability in the bignumberx package stems from the presence of malicious code that can compromise the security of applications utilizing this library. This code can lead to unauthorized access, data breaches, or even complete system takeover, depending on how the package is integrated into the application. The malicious code was introduced in version 1.0.0 and has been flagged by security researchers as a critical threat.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall bignumberx
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 bignumberx package from your project until a secure version is released. You can do this by running the command: npm uninstall bignumberx.
Conclusion
The bignumberx package has been identified with a critical vulnerability due to the presence of malicious code. It is crucial for developers using this package to take immediate action by updating to a secure version or removing the package altogether to protect their applications and users. Utilizing tools like Vulert can help monitor and manage vulnerabilities effectively.
See every vulnerability recorded for bignumberx →
FAQ
The bignumberx package is used for performing arbitrary-precision arithmetic in JavaScript applications, making it suitable for financial and scientific calculations.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. By checking your package-lock.json file, Vulert can identify if your application is affected by this vulnerability.
Using the compromised version of bignumberx can lead to unauthorized access, data breaches, and potential system takeovers, putting your application and user data at risk.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.
If you cannot update the package immediately, consider removing it from your project as a temporary measure until a secure version is available.