Critical Malicious Code Vulnerability in @emerald-react/chat-bot Package

@emerald-react/chat-bot Updated 19 Mar 2026

Summary

18/03/2026
CRITICAL
No i
Critical
Not published

MAL-2026-1602: Malicious code in @emerald-react/chat-bot (npm). Affects @emerald-react/chat-bot versions 999.999.999 – 9999.9999.9999. 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 @emerald-react/chat-bot package is a JavaScript library designed for integrating chat functionalities into React applications. It provides developers with tools to create interactive chatbots, enhancing user engagement and support. However, this package has been identified with a serious vulnerability that allows for the execution of malicious code, potentially compromising applications that utilize it.

Vulnerability Detail

The vulnerability in the @emerald-react/chat-bot package stems from the inclusion of malicious code that can execute unauthorized actions within the application. This issue originates from specific versions of the package, which have been flagged as containing harmful scripts. The ramifications of this vulnerability can be severe, including data breaches, unauthorized access to user information, and the potential for further exploitation of the application. Developers using affected versions are at risk of having their applications compromised, leading to significant security concerns.

How To Fix

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

npm uninstall @emerald-react/chat-bot

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, consider removing the @emerald-react/chat-bot package from your project until a secure version is confirmed. You can do this by running: npm uninstall @emerald-react/chat-bot. This will help mitigate the risk of exploitation while you seek a secure alternative or wait for an official patch.

Conclusion

The @emerald-react/chat-bot package has been identified with a critical vulnerability due to malicious code. It is crucial for developers to update to the latest version or remove the package to protect their applications from potential exploitation. Utilizing tools like Vulert can help monitor for such vulnerabilities in real-time.

See every vulnerability recorded for @emerald-react/chat-bot →

Share this vulnerability

FAQ

The vulnerability involves malicious code that can execute unauthorized actions within applications using the package.

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

Failing to address this vulnerability can lead to data breaches, unauthorized access, and further exploitation of your application.

Yes, updating to the latest version of the @emerald-react/chat-bot package will address the vulnerability.

As a temporary measure, consider removing the package from your project 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 @emerald-react/chat-bot

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