Malicious Code Detected in bot-creator Package - Security Alert
Summary
MAL-2025-16002: Malicious code in bot-creator (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 bot-creator package is an npm library designed for creating automated bots. It offers various functionalities that allow users to easily build and deploy bots for different applications. However, this package has been found to contain malicious code, posing significant security risks to users who integrate it into their projects.
Vulnerability Detail
The vulnerability stems from the inclusion of malicious code within the bot-creator package. This code can potentially compromise user data, allow unauthorized access to systems, or facilitate other malicious activities. The issue was introduced in version 0 and affects all subsequent versions, making it critical for users to take immediate action to mitigate the risks associated with this vulnerability.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall bot-creator
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 bot-creator package from their project until a secure version is released. This can be done by running the following command: npm uninstall bot-creator.
Conclusion
The bot-creator package has been identified as containing malicious code, posing a serious security threat. Users are urged to update or uninstall the package to protect their applications. Utilizing tools like Vulert can help monitor for such vulnerabilities in real-time.
See every vulnerability recorded for bot-creator →
FAQ
The bot-creator package is an npm library used for creating automated bots for various applications.
The malicious code can compromise user data and allow unauthorized access to systems.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Check your application using the Vulert playground at Vulert Scanner.
Users should check the package repository for any patched versions and update accordingly.
As a temporary measure, consider uninstalling the bot-creator package until a secure version is available.