Critical Security Breach in @voiceflow/react-chat: Malicious Code Detected
Summary
MAL-2025-191367: Malicious code in @voiceflow/react-chat (npm). Affects @voiceflow/react-chat versions 1.65.3 – 1.65.4. 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 @voiceflow/react-chat package is a popular library used for integrating chat functionalities into React applications. It provides developers with tools to create interactive and user-friendly chat interfaces. However, this package has recently been compromised, exposing users to significant security risks due to malicious code embedded within it.
Vulnerability Detail
The vulnerability originates from a compromise by the Sha1-Hulud: The Second Coming NPM worm, which has infected versions 1.65.3 and 1.65.4 of the @voiceflow/react-chat package. This malicious payload is designed to steal sensitive tokens and credentials, subsequently publishing them to GitHub. Additionally, the worm can propagate itself to other NPM packages owned by the user and establish persistence through a GitHub action. There is also a risk that the worm may destroy the user's home directory, leading to potential data loss.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall @voiceflow/react-chat
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 should consider removing the affected versions of the package from their projects. This can be done by executing the command: npm uninstall @voiceflow/react-chat. Additionally, avoid using any versions of the package that are known to be compromised until a secure version is confirmed.
Conclusion
The @voiceflow/react-chat package has been compromised by a malicious worm, posing serious security risks to users. It is essential to update to the latest version of the package to mitigate these risks. Regular monitoring of dependencies and prompt action against vulnerabilities are crucial for maintaining application security.
See every vulnerability recorded for @voiceflow/react-chat →
FAQ
If you have installed versions 1.65.3 or 1.65.4, immediately uninstall them and update to the latest version of the package.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without needing to sign up.
Failing to address this vulnerability may lead to unauthorized access to sensitive information, including tokens and credentials, and could result in data loss or further propagation of the malicious code.
Regularly monitor your dependencies for vulnerabilities using tools like Vulert, and ensure that you keep your packages updated to the latest secure versions.
Yes, you can report vulnerabilities to the maintainers of the @voiceflow/react-chat package on their GitHub repository, as well as to security-focused organizations.