Critical Malicious Code Vulnerability in node-calculator-190a Package
Summary
MAL-2025-192826: Malicious code in node-calculator-190a (npm). Affects node-calculator-190a versions 4.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 node-calculator-190a package is an npm library designed for performing basic arithmetic calculations. It is widely used in various JavaScript applications for its simplicity and ease of integration. However, this package has been identified as containing malicious code, which poses a significant security risk to applications that utilize it.
Vulnerability Detail
The vulnerability in node-calculator-190a arises from the inclusion of malicious code that can execute harmful operations on the host system. This issue was reported by ReversingLabs and affects version 4.0.0 of the package. The malicious code can potentially lead to unauthorized access, data breaches, or system compromise, making it critical 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-190a
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
If immediate updating is not feasible, consider removing the node-calculator-190a package from your project and replacing it with an alternative library that provides similar functionality without the associated risks.
Conclusion
The node-calculator-190a package has been identified as containing malicious code, posing a significant risk to applications that utilize it. Users are advised to update to the latest version or remove the package altogether to mitigate potential threats. Utilizing tools like Vulert can help maintain ongoing security for your projects.
See every vulnerability recorded for node-calculator-190a →
FAQ
The vulnerability involves malicious code that can execute harmful actions on the host system, potentially leading to unauthorized access or data breaches.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check if your application is affected without needing to sign up.
Update the node-calculator-190a package to the latest version using npm install node-calculator-190a@latest, or remove it and replace it with a safer alternative.
The vulnerability was reported by ReversingLabs, a cybersecurity firm specializing in threat intelligence and malware analysis.
Yes, using tools like Vulert allows you to monitor your project's dependencies for vulnerabilities in real-time, ensuring you are alerted to any issues as they arise.