Malicious Code Detected in node-calculator-d234 Package - Security Alert
Summary
MAL-2025-190541: Malicious code in node-calculator-d234 (npm). Affected versions are not published. 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-d234 package is a JavaScript library available on npm, designed for performing basic arithmetic calculations. It is commonly used in web applications to provide users with a simple calculator interface. However, this package has been identified to contain malicious code, posing significant security risks to applications that utilize it.
Vulnerability Detail
The vulnerability stems from the presence of malicious code within the node-calculator-d234 package. This code can potentially compromise the security of applications that depend on it, leading to unauthorized access, data breaches, or other malicious activities. The issue was reported by Amazon Inspector, which detected the malicious code during a routine security assessment.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall node-calculator-d234
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 using an alternative package that provides similar functionality without the associated risks. You can search for other calculator libraries on npm that have a good reputation and positive reviews.
Conclusion
The discovery of malicious code in the node-calculator-d234 package highlights the importance of regularly auditing dependencies in your projects. By promptly addressing this vulnerability, you can protect your applications from potential security threats.
See every vulnerability recorded for node-calculator-d234 →
FAQ
node-calculator-d234 is a JavaScript library used for performing basic arithmetic calculations in web applications.
The malicious code was detected by Amazon Inspector during a security assessment of the package.
Using the compromised package can lead to unauthorized access, data breaches, and other malicious activities within your application.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without requiring any signup.
If you have used this package, you should uninstall it immediately and look for a secure alternative to ensure your application's safety.