Critical Malicious Code Vulnerability in @voiceflow/stitches-react Package
Summary
MAL-2025-191375: Malicious code in @voiceflow/stitches-react (npm). Affects @voiceflow/stitches-react versions 2.3.2 – 2.3.3. 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/stitches-react package is a component library designed for building user interfaces in React applications. It provides a set of tools and utilities that streamline the development process, enabling developers to create responsive and visually appealing components. However, this package has been compromised, exposing users to significant security risks.
Vulnerability Detail
The vulnerability originates from a malicious NPM worm known as Sha1-Hulud: The Second Coming. This worm infiltrates the @voiceflow/stitches-react package, allowing it to steal sensitive tokens and credentials from users. The stolen information is then published to GitHub, potentially leading to unauthorized access to user accounts and data breaches. Additionally, the worm can propagate itself to other NPM packages owned by the user and establish persistence through GitHub actions. There is also a risk that the worm may destroy the user's home directory, leading to data loss.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall @voiceflow/stitches-react
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 compromised package from their project until a secure version is available. This can be done by executing the following command: npm uninstall @voiceflow/stitches-react. Additionally, review and rotate any tokens or credentials that may have been exposed during the compromise.
Conclusion
The @voiceflow/stitches-react package has been compromised by a malicious worm that poses serious security risks to users. Immediate action is required to update the package and mitigate potential damage. Utilizing tools like Vulert can help monitor for vulnerabilities and protect your projects in the future.
See every vulnerability recorded for @voiceflow/stitches-react →
FAQ
The Sha1-Hulud worm is a malicious NPM package that compromises other packages to steal sensitive information and propagate itself across user-owned packages.
You can check if your project is affected by using Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to analyze your package-lock.json without requiring any signup.
If you suspect that you have been compromised, immediately rotate your tokens and credentials, remove the affected package, and update to a secure version.
Yes, if the worm has successfully propagated to other packages or established persistence, it could lead to ongoing security risks and unauthorized access to your projects.
Regularly update your dependencies, monitor for vulnerabilities using tools like Vulert, and review your package-lock.json for any suspicious changes.