Malicious Code Detected in node-calculator-91aa Package - Security Alert
Summary
MAL-2025-190534: Malicious code in node-calculator-91aa (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-91aa package is a JavaScript library available through npm, designed to perform basic arithmetic calculations. It is widely used in various applications for its simplicity and ease of integration. However, this package has been identified to contain malicious code, posing significant security risks to applications that utilize it.
Vulnerability Detail
The vulnerability originates from the inclusion of malicious code within the node-calculator-91aa package. This code can potentially compromise the security of applications by allowing unauthorized access, data theft, or other malicious activities. The specific technical details of the malicious code have not been disclosed, but its presence indicates a severe risk to any application 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-91aa
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, you can replace the node-calculator-91aa package with an alternative library that provides similar functionality without the associated risks. Consider using a well-reviewed and actively maintained calculator library from npm.
Conclusion
The discovery of malicious code in the node-calculator-91aa package highlights the importance of maintaining secure dependencies in software development. By promptly addressing this vulnerability and utilizing tools like Vulert for ongoing monitoring, developers can protect their applications from potential threats.
See every vulnerability recorded for node-calculator-91aa →
FAQ
node-calculator-91aa is a JavaScript library for performing basic arithmetic calculations, commonly used in web applications.
The specific details of the malicious code have not been disclosed, but it poses a significant security risk to applications using the package.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Check your application using the Vulert playground at Vulert Scanner.
Immediately remove the node-calculator-91aa package from your project and replace it with a secure alternative. Update to the latest version if available.
Regularly monitor your dependencies using tools like Vulert, which can alert you to vulnerabilities in your package-lock.json without requiring code access.