Malicious Code Detected in botbuilder-js Package - Security Alert
Summary
MAL-2025-16005: Malicious code in botbuilder-js (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 botbuilder-js package is a popular library used for building conversational applications and chatbots on the Microsoft Bot Framework. It provides developers with tools to create interactive and engaging user experiences. However, recent findings have revealed that this package contains malicious code, posing a significant security risk to applications utilizing it.
Vulnerability Detail
The vulnerability in the botbuilder-js package stems from the inclusion of malicious code that can compromise the integrity and security of applications using this library. This code can potentially lead to unauthorized access, data breaches, or other malicious activities. The issue was introduced in version 0 and affects all subsequent versions, making it critical 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 botbuilder-js
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 botbuilder-js package from your project until a secure version is available. You can do this by executing the command: 'npm uninstall botbuilder-js'. This will prevent any potential exploitation of the malicious code while you seek an updated version.
Conclusion
The discovery of malicious code in the botbuilder-js package poses a serious threat to applications utilizing this library. It is crucial for developers to update to a patched version or remove the package to safeguard their applications. Utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.
See every vulnerability recorded for botbuilder-js →
FAQ
botbuilder-js is a library for building conversational applications on the Microsoft Bot Framework, enabling developers to create chatbots and interactive user experiences.
The malicious code found in botbuilder-js can compromise application security, potentially leading to unauthorized access and data breaches.
You can use Vulert, a tool that monitors and alerts for open-source vulnerabilities in your software. By analyzing your package-lock.json file, Vulert can provide real-time alerts. You can also check your application using the Vulert playground without any signup.
If you cannot update the package right away, consider removing it from your project as a temporary measure to mitigate the risk of exploitation.
Detailed information about this vulnerability can be found on the GitHub repository of the malicious packages project, specifically for botbuilder-js.