Critical Security Breach in @voiceflow/general-types: Malicious Code Exploitation
Summary
MAL-2025-191349: Malicious code in @voiceflow/general-types (npm). Affects @voiceflow/general-types versions 3.2.22 – 3.2.23. 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/general-types package is a widely used library in the Node.js ecosystem, providing general types for voice applications. It is designed to facilitate the development of voice-related functionalities, enhancing the efficiency and effectiveness of voice application development. However, this package has recently been compromised, exposing users to significant security risks.
Vulnerability Detail
The vulnerability stems from a malicious code injection attributed to the Sha1-Hulud: The Second Coming NPM worm. This worm is capable of stealing sensitive tokens and credentials, which are then published to GitHub. Furthermore, it can propagate itself to other NPM packages owned by the user and establish persistence through GitHub actions. The malicious payload poses a severe threat, as it may also lead to the destruction of the user's home directory, resulting in data loss and system compromise.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall @voiceflow/general-types
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 affected package from their project until a secure version is confirmed. This can be done by executing the following command: npm uninstall @voiceflow/general-types. Additionally, ensure that your GitHub actions are reviewed and secured to prevent unauthorized access.
Conclusion
The @voiceflow/general-types package has been compromised by a malicious worm, leading to severe security vulnerabilities. Users are urged to update their packages immediately and monitor their applications for any signs of compromise. Utilizing tools like Vulert can enhance security by providing real-time alerts for vulnerabilities.
See every vulnerability recorded for @voiceflow/general-types →
FAQ
If you have installed versions 3.2.22 or 3.2.23, you should immediately update to the latest version using npm install @voiceflow/general-types@latest.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check if your application is affected without any signup.
The consequences include the theft of sensitive tokens and credentials, potential data loss, and the risk of unauthorized access to your GitHub repositories.
Regularly updating your dependencies and using tools like Vulert to monitor vulnerabilities can help prevent such issues in the future.
The Sha1-Hulud worm is a malicious NPM worm that exploits vulnerabilities in packages to steal credentials and propagate itself, posing a significant security threat.