Critical Malicious Code Vulnerability in bignumber-tool.js Package
Summary
MAL-2026-1442: Malicious code in bignumber-tool.js (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
bignumber-tool.js is an npm package designed for arbitrary-precision arithmetic in JavaScript. It allows developers to handle large numbers accurately, which is essential for applications requiring high precision calculations. However, this package has been compromised, leading to severe security risks for any system utilizing it.
Vulnerability Detail
The vulnerability stems from the presence of malicious code embedded within the bignumber-tool.js package. This code can fully compromise any computer that has the package installed, potentially allowing unauthorized access to sensitive information such as secrets and keys. The origin of this issue is linked to a malicious actor who has injected harmful code into the package, making it a significant threat to users and their systems.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall bignumber-tool.js
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 to mitigate the risks posed by this vulnerability other than removing the package entirely. It is advisable to avoid using bignumber-tool.js until a secure version is released.
Conclusion
The bignumber-tool.js package has been compromised with malicious code, posing a significant security risk to any system using it. Immediate action is required to remove the package and secure sensitive information. Users are advised to monitor their projects for vulnerabilities using tools like Vulert.
See every vulnerability recorded for bignumber-tool.js →
FAQ
bignumber-tool.js is an npm package used for performing arbitrary-precision arithmetic in JavaScript applications.
If bignumber-tool.js is installed, your system may be fully compromised, allowing attackers to access sensitive information.
You should immediately uninstall the package and rotate any sensitive information stored on the affected system.
Currently, there is no patched version available for bignumber-tool.js. It is recommended to avoid using this package until further notice.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software by analyzing your package-lock.json file. You can also check if your application is affected by this vulnerability using the Vulert playground without any signup.