Malicious Code Vulnerability in node-calculator-2eb4: A Critical Threat
Summary
MAL-2025-192828: Malicious code in node-calculator-2eb4 (npm). Affects node-calculator-2eb4 versions 2.5.5. 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
node-calculator-2eb4 is an npm package designed for performing basic arithmetic calculations. It provides a simple interface for users to execute mathematical operations programmatically. However, this package has been identified as containing malicious code, which poses significant risks to applications that utilize it.
Vulnerability Detail
The vulnerability in node-calculator-2eb4 stems from the inclusion of malicious code that can execute unauthorized actions within the user's environment. This issue was reported by ReversingLabs and affects version 2.5.5 of the package. The malicious code can lead to data breaches, unauthorized access, and potential system compromise, making it imperative for users to address this vulnerability promptly.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall node-calculator-2eb4
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-2eb4 package from their project until a secure version is released. This can be done using the command: npm uninstall node-calculator-2eb4.
Conclusion
The node-calculator-2eb4 package has been identified as containing malicious code, posing a significant risk to users. It is crucial to update or remove the package to safeguard applications from potential threats. Utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.
See every vulnerability recorded for node-calculator-2eb4 →
FAQ
The malicious code is designed to execute unauthorized actions, potentially compromising user data and system security.
You can use Vulert, which monitors open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without needing to sign up.
If immediate updates are not possible, consider removing the package from your project as a temporary measure.
Currently, version 2.5.5 is known to contain the vulnerability. Always check for the latest patched version before using the package.
The vulnerability was reported by ReversingLabs, a cybersecurity firm specializing in threat detection.