Malicious Code Detected in botframework-webchat-styles Package
Summary
MAL-2025-16008: Malicious code in botframework-webchat-styles (npm). Affects botframework-webchat-styles versions 9.9.9. 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 botframework-webchat-styles package is a component of the Bot Framework Web Chat, which provides styling options for web chat interfaces powered by Microsoft's Bot Framework. This package is widely used in applications that integrate chat functionalities, allowing developers to customize the appearance of chat interfaces. However, it has been found to contain malicious code, posing significant risks to applications that utilize it.
Vulnerability Detail
The vulnerability in the botframework-webchat-styles package stems from the inclusion of malicious code that can compromise the security of applications using this package. This code can lead to unauthorized access, data breaches, or other malicious activities that could severely impact users and the integrity of the application. The issue was introduced in version 0 and affects all subsequent versions.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall botframework-webchat-styles
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 measure, consider removing the botframework-webchat-styles package from your project until a secure version is released. You can do this by running the command: npm uninstall botframework-webchat-styles.
Conclusion
The botframework-webchat-styles package has been identified as containing malicious code, which poses significant risks to applications that utilize it. It is essential to update or remove the package to mitigate these risks and ensure the security of your application.
See every vulnerability recorded for botframework-webchat-styles →
FAQ
It is a package used for styling web chat interfaces in applications that utilize Microsoft's Bot Framework.
The malicious code can potentially lead to unauthorized access and data breaches in applications using this package.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without any signup.
Yes, you can temporarily uninstall the package using 'npm uninstall botframework-webchat-styles' until a secure version is available.
Regularly check the package repository and consider using tools like Vulert to monitor for vulnerabilities in real-time.