Malicious Code Vulnerability in node-calculator-5b8f Package
Summary
MAL-2025-192830: Malicious code in node-calculator-5b8f (npm). Affects node-calculator-5b8f versions 3.0.0 – 3.2.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 node-calculator-5b8f package is a JavaScript library available through npm that provides basic calculator functionalities. It is designed for developers looking to integrate simple arithmetic operations into their applications. However, this package has been identified as containing malicious code, which poses a significant security risk to users who incorporate it into their projects.
Vulnerability Detail
The vulnerability stems from the presence of malicious code within the node-calculator-5b8f package. This code can potentially execute harmful actions on the user's system, such as data theft or unauthorized access. The issue was reported by ReversingLabs, highlighting the risk associated with using versions 3.0.0 and 3.2.0 of this package. Users are advised to be cautious and avoid using these versions to prevent exploitation.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall node-calculator-5b8f
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, users can remove the node-calculator-5b8f package from their project until a secure version is released. This can be done using the command: npm uninstall node-calculator-5b8f. Alternatively, consider using a different calculator package that does not have known vulnerabilities.
Conclusion
The node-calculator-5b8f package has been identified as containing malicious code, posing a significant risk to users. It is crucial to update to a secure version or remove the package entirely to protect your application. Utilizing tools like Vulert can help monitor for such vulnerabilities effectively.
See every vulnerability recorded for node-calculator-5b8f →
FAQ
It is a JavaScript library that provides basic calculator functionalities for developers.
The malicious code can execute harmful actions, such as stealing data or allowing unauthorized access to your system.
Versions 3.0.0 and 3.2.0 of the node-calculator-5b8f package are known to contain malicious code.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without any signup.
Consider removing the package from your project or using an alternative package until a secure version is available.