Malicious Code Vulnerability in node-calculator-dfd9 Package
Summary
MAL-2025-192841: Malicious code in node-calculator-dfd9 (npm). Affects node-calculator-dfd9 versions 3.0.0 – 3.0.5. 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-dfd9 package is an npm library designed to perform basic arithmetic calculations. It offers functionalities such as addition, subtraction, multiplication, and division, making it a useful tool for developers needing quick calculations in their applications. However, this package has been identified to contain malicious code, posing significant security risks to users who integrate it into their projects.
Vulnerability Detail
The vulnerability stems from the presence of malicious code within the node-calculator-dfd9 package. This code can potentially compromise the security of applications that utilize this package, leading to unauthorized access, data breaches, or other malicious activities. The issue has been traced back to versions 3.0.0 through 3.0.5 of the package, which were flagged by security researchers from ReversingLabs.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall node-calculator-dfd9
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-dfd9 package from your project and replacing it with a trusted alternative for arithmetic calculations. You can also monitor your dependencies using tools like Vulert, which can alert you to vulnerabilities in real-time.
Conclusion
The node-calculator-dfd9 package has been found to contain malicious code, posing a serious risk to applications that utilize it. Users are advised to update to the latest version or consider alternative solutions to mitigate potential threats.
See every vulnerability recorded for node-calculator-dfd9 →
FAQ
It is an npm library that provides basic arithmetic functionalities for developers.
Versions 3.0.0 to 3.0.5 are known to contain malicious code.
You can use the Vulert playground at Vulert Scanner to check for vulnerabilities without needing to sign up.
Consider removing the package and using a trusted alternative or monitor your dependencies with Vulert.
The vulnerability was identified by security researchers at ReversingLabs.