Malicious Code Detected in node-calculator-fc9a: A Critical Vulnerability
Summary
MAL-2025-190519: Malicious code in node-calculator-fc9a (npm). Affects node-calculator-fc9a versions 3.0.10. 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-fc9a package is an npm library designed for performing basic arithmetic calculations. It is widely used in various JavaScript applications due to its simplicity and ease of integration. However, this package has been identified as containing malicious code that poses significant security risks to applications that utilize it.
Vulnerability Detail
The vulnerability in node-calculator-fc9a arises from the presence of malicious code that communicates with a domain linked to harmful activities. This can lead to data breaches, unauthorized access, and potential exploitation of the affected systems. The malicious behavior was identified by both Amazon Inspector and the OpenSSF Package Analysis project, which flagged version 3.0.10 as compromised.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall node-calculator-fc9a
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 remove the node-calculator-fc9a package from your project until a secure version is released. You can do this by running the command: 'npm uninstall node-calculator-fc9a'. Consider using alternative packages for arithmetic calculations that are known to be secure.
Conclusion
The node-calculator-fc9a package has been flagged for containing malicious code that poses serious security risks. It is crucial for developers to take immediate action by updating or removing the package to protect their applications. Utilizing tools like Vulert can help monitor for such vulnerabilities in real-time.
See every vulnerability recorded for node-calculator-fc9a →
FAQ
The malicious code in node-calculator-fc9a communicates with a domain associated with malicious activities, which can compromise the security of applications using this package.
You can use the Vulert platform to monitor and alert for open-source vulnerabilities. Simply upload your package-lock.json file to check for vulnerabilities in your application.
To prevent similar vulnerabilities, regularly audit your dependencies, use tools like Vulert for real-time monitoring, and stay updated on security advisories related to the packages you use.
If an immediate update is not possible, consider removing the package and using a secure alternative until a patched version is available.
Detailed information about the vulnerability can be found in the OpenSSF Package Analysis and Amazon Inspector reports, which provide insights into the malicious behavior of the package.