Malicious Code Detected in node-calculator-9e41: A Security Alert

node-calculator-9e41 Updated 19 Nov 2025

Summary

17/11/2025
CRITICAL
No i
Critical
Not published

MAL-2025-190518: Malicious code in node-calculator-9e41 (npm). Affects node-calculator-9e41 versions 4.0.0. No fix is published. How to fix ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The node-calculator-9e41 package is a JavaScript library available through npm, designed to perform various mathematical calculations. It is often used in web applications to provide users with a simple interface for performing arithmetic operations. However, this package has been flagged for containing malicious code that poses significant security risks to applications that utilize it.

Vulnerability Detail

The vulnerability in node-calculator-9e41 arises from the presence of malicious code that communicates with a domain associated with harmful activities. This can lead to unauthorized data access, potential data breaches, and exploitation of the affected systems. The malicious nature of the code was identified by both Amazon Inspector and the OpenSSF Package Analysis project, 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-9e41

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 avoid using the node-calculator-9e41 package altogether and implement your own basic calculator functionality using native JavaScript. Here’s a simple example:

function add(a, b) {
  return a + b;
}

function subtract(a, b) {
  return a - b;
}

function multiply(a, b) {
  return a * b;
}

function divide(a, b) {
  if (b === 0) return 'Error: Division by zero';
  return a / b;
}

This code provides basic arithmetic operations without relying on external packages.

Conclusion

The node-calculator-9e41 package has been identified as containing malicious code that poses serious security risks. It is crucial for developers to remove this package and consider alternatives or implement their own solutions. Staying informed about vulnerabilities and using tools like Vulert can help maintain the security of your applications.

See every vulnerability recorded for node-calculator-9e41 →

Share this vulnerability

FAQ

node-calculator-9e41 is a JavaScript library available on npm that allows users to perform various mathematical calculations.

The package communicates with a domain linked to malicious activities, which can lead to unauthorized access and data breaches.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check if your application is affected without needing to sign up.

It is advised to remove the package and replace it with a secure alternative or implement your own calculator functionality.

Regularly check for updates in your package manager and consider using tools like Vulert to monitor your dependencies for vulnerabilities.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall node-calculator-9e41

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback