Malicious Code Detected in node-calculator-8b5f Package - Security Alert
Summary
MAL-2025-190533: Malicious code in node-calculator-8b5f (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-8b5f package is an npm library designed for performing basic arithmetic calculations. It is commonly used in JavaScript 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 presence of malicious code within the node-calculator-8b5f 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 malicious code was identified by Amazon Inspector, highlighting the importance of scrutinizing third-party packages for security threats.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall node-calculator-8b5f
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-8b5f package from your project and replacing it with a trusted alternative for arithmetic calculations. This can be done by uninstalling the package with the command: 'npm uninstall node-calculator-8b5f'.
Conclusion
The discovery of malicious code in the node-calculator-8b5f package underscores the importance of vigilance when using third-party libraries. It is essential to regularly update dependencies and monitor for vulnerabilities to protect your applications from potential threats.
See every vulnerability recorded for node-calculator-8b5f →
FAQ
node-calculator-8b5f is an npm package used for basic arithmetic operations in JavaScript applications.
The specific nature of the malicious code has not been disclosed, but it poses risks such as unauthorized access and data breaches.
You can use Vulert, which monitors open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.
Consider removing the node-calculator-8b5f package and replacing it with a trusted alternative until you can update.
The vulnerability was reported by Amazon Inspector, a service that identifies security issues in software packages.