Malicious Code Vulnerability in node-calculator-5b8f Package

node-calculator-5b8f Updated 24 Dec 2025

Summary

23/12/2025
CRITICAL
No i
Critical
Not published

MAL-2025-192830: Malicious code in node-calculator-5b8f (npm). Affects node-calculator-5b8f versions 3.0.0 – 3.2.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 Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The node-calculator-5b8f package is a JavaScript library available through npm that provides basic calculator functionalities. It is designed for developers looking to integrate simple arithmetic operations into their applications. However, this package has been identified as containing malicious code, which poses a significant security risk to users who incorporate it into their projects.

Vulnerability Detail

The vulnerability stems from the presence of malicious code within the node-calculator-5b8f package. This code can potentially execute harmful actions on the user's system, such as data theft or unauthorized access. The issue was reported by ReversingLabs, highlighting the risk associated with using versions 3.0.0 and 3.2.0 of this package. Users are advised to be cautious and avoid using these versions to prevent exploitation.

How To Fix

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

npm uninstall node-calculator-5b8f

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, users can remove the node-calculator-5b8f package from their project until a secure version is released. This can be done using the command: npm uninstall node-calculator-5b8f. Alternatively, consider using a different calculator package that does not have known vulnerabilities.

Conclusion

The node-calculator-5b8f package has been identified as containing malicious code, posing a significant risk to users. It is crucial to update to a secure version or remove the package entirely to protect your application. Utilizing tools like Vulert can help monitor for such vulnerabilities effectively.

See every vulnerability recorded for node-calculator-5b8f →

Share this vulnerability

FAQ

It is a JavaScript library that provides basic calculator functionalities for developers.

The malicious code can execute harmful actions, such as stealing data or allowing unauthorized access to your system.

Versions 3.0.0 and 3.2.0 of the node-calculator-5b8f package are known to contain malicious code.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without any signup.

Consider removing the package from your project or using an alternative package until a secure version is available.

How To Fix

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

npm uninstall node-calculator-5b8f

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