Malicious Code Detected in node-calculator-78c0: A Critical Vulnerability
Summary
MAL-2025-192833: Malicious code in node-calculator-78c0 (npm). Affects node-calculator-78c0 versions 9.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
node-calculator-78c0 is an npm package designed for performing basic arithmetic calculations in Node.js applications. It offers functionalities such as addition, subtraction, multiplication, and division. However, this package has been identified to contain malicious code, posing significant risks to users who integrate it into their applications.
Vulnerability Detail
The vulnerability stems from the presence of malicious code within the node-calculator-78c0 package. This code can potentially execute harmful actions on the user's system, such as data exfiltration or unauthorized access to sensitive information. The issue was reported by ReversingLabs, highlighting the need for immediate attention to prevent exploitation.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall node-calculator-78c0
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 measure, users can remove the node-calculator-78c0 package from their project and replace it with a trusted alternative for performing arithmetic calculations. This can be done by executing the command: npm uninstall node-calculator-78c0.
Conclusion
The discovery of malicious code in the node-calculator-78c0 package poses a serious threat to users. It is crucial to take immediate action by updating or removing the package to safeguard your applications. Utilizing tools like Vulert can help monitor and manage vulnerabilities effectively.
See every vulnerability recorded for node-calculator-78c0 →
FAQ
node-calculator-78c0 is an npm package used for basic arithmetic operations in Node.js applications.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. By checking your package-lock.json file, you can identify if your application is affected.
If an immediate update is not possible, consider removing the package and using a trusted alternative until a fix is applied.
The vulnerability was reported by ReversingLabs, a cybersecurity firm specializing in threat detection.
More information can be found on the GitHub repository of the malicious packages, specifically at the link provided in the vulnerability details.