Malicious Code Detected in node-calculator-603e - Security Vulnerability Alert
Summary
MAL-2025-192831: Malicious code in node-calculator-603e (npm). Affects node-calculator-603e versions 2.2.0 – 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
node-calculator-603e is an npm package designed for performing basic arithmetic calculations in Node.js applications. It provides a simple interface for users to execute mathematical operations. 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-603e stems from the inclusion of malicious code that can compromise the security of applications using this package. This code may allow unauthorized access to sensitive data, execute arbitrary commands, or lead to further exploitation of the system. The malicious nature of this package was confirmed by ReversingLabs, which has documented its findings and provided details on the affected versions.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall node-calculator-603e
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, consider removing the node-calculator-603e package from your project until a secure version is confirmed. You can do this by executing the command: npm uninstall node-calculator-603e. Alternatively, you may look for other trusted packages that provide similar functionality without the associated risks.
Conclusion
The discovery of malicious code in the node-calculator-603e package poses a serious threat to applications utilizing it. Users are urged to take immediate action by updating or removing the package to safeguard their systems. Regular monitoring for vulnerabilities using tools like Vulert can help maintain application security.
See every vulnerability recorded for node-calculator-603e →
FAQ
node-calculator-603e is an npm package used for performing arithmetic calculations in Node.js applications.
The vulnerability involves malicious code within the package that can compromise application security and lead to unauthorized access.
You can use Vulert, which monitors open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without needing to sign up.
If you are using an affected version of node-calculator-603e, you should update to the latest version or remove the package until a secure version is available.
The vulnerability was reported by ReversingLabs, a cybersecurity firm specializing in threat intelligence.