Malicious Code Detected in node-calculator-ac24: A Critical Security Alert
Summary
MAL-2025-190522: Malicious code in node-calculator-ac24 (npm). Affects node-calculator-ac24 versions 2.1.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 package node-calculator-ac24 is an npm library designed for performing basic arithmetic calculations. It is intended for developers looking to integrate simple calculator functionalities into their applications. However, this package has been flagged for containing malicious code that compromises user security.
Vulnerability Detail
The vulnerability in node-calculator-ac24 arises from the presence of malicious code that communicates with a domain associated with harmful activities. This could lead to data breaches, unauthorized access, or other malicious actions against users and their systems. The issue was identified by both Amazon Inspector and the OpenSSF Package Analysis project, indicating a serious threat to users relying on this package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall node-calculator-ac24
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, avoid using the node-calculator-ac24 package until a secure version is released. Consider using alternative packages that provide similar functionality without the associated risks.
Conclusion
The discovery of malicious code in the node-calculator-ac24 package poses a significant threat to users. It is crucial to take immediate action by removing the affected package and monitoring for updates or alternatives. Staying informed about vulnerabilities is essential for maintaining application security.
See every vulnerability recorded for node-calculator-ac24 →
FAQ
node-calculator-ac24 is an npm package designed for basic arithmetic calculations in JavaScript applications.
The package contains code that communicates with a domain linked to malicious activities, posing a security risk to users.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.
Remove the node-calculator-ac24 package from your project and look for secure alternatives until a patched version is released.
Utilize tools like Vulert, which monitors and alerts you in real-time for open-source vulnerabilities using just your package-lock.json file.