Critical Malicious Code Vulnerability in baileys-xeonbot Package
Summary
MAL-2026-1073: Malicious code in baileys-xeonbot (npm). Affected versions are not published. 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 baileys-xeonbot package is a Node.js library designed for building bots that interact with the WhatsApp messaging platform. It provides developers with tools to automate tasks and enhance user engagement through messaging. However, this package has been identified as containing malicious code, posing significant security risks to any system where it is installed.
Vulnerability Detail
The vulnerability stems from the presence of embedded malicious code within the baileys-xeonbot package. This code can compromise any computer that has the package installed, potentially allowing unauthorized access to sensitive information such as secrets and keys. The origin of this vulnerability is linked to the package being flagged as malicious by security researchers, indicating that it may have been intentionally designed to exploit users. The ramifications of this vulnerability are severe, as it can lead to full control of the affected system by an outside entity, making it imperative for users to take immediate action.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall baileys-xeonbot
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
There are no effective workarounds for this vulnerability other than removing the package entirely. Ensure that you monitor your system for any signs of compromise after removal.
Conclusion
The baileys-xeonbot package has been identified as containing malicious code, posing a significant security risk to any system where it is installed. Immediate action is required to remove the package and secure sensitive information. Users are encouraged to utilize tools like Vulert to monitor their applications for vulnerabilities.
See every vulnerability recorded for baileys-xeonbot →
FAQ
The baileys-xeonbot package is a Node.js library used for creating bots that interact with WhatsApp, allowing developers to automate messaging tasks.
The malicious code can compromise your system, potentially giving unauthorized access to sensitive information and allowing external entities to control your computer.
You should immediately uninstall the baileys-xeonbot package and rotate any sensitive information stored on your system.
Currently, there is no patched version of the baileys-xeonbot package available, making removal the only option.
You can use Vulert, a tool that monitors and alerts for open-source vulnerabilities in your software. You can check your application for vulnerabilities using the Vulert playground without any signup.