Critical Malicious Code Vulnerability in @voiceflow/google-dfes-types Package
Summary
MAL-2025-191351: Malicious code in @voiceflow/google-dfes-types (npm). Affects @voiceflow/google-dfes-types versions 2.17.12 – 2.17.13. 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/google-dfes-types package is an npm library designed to facilitate interactions with Google services through Voiceflow. It provides developers with tools to integrate voice applications seamlessly. However, this package has been compromised, making it susceptible to a serious security threat that could lead to unauthorized access to sensitive user information.
Vulnerability Detail
This vulnerability originates from the Sha1-Hulud: The Second Coming NPM worm, which has infected the @voiceflow/google-dfes-types package. The malicious code embedded within this package is designed to steal tokens and credentials from users and publish them to GitHub. Furthermore, the worm can propagate itself to other npm packages owned by the user and establish persistence through a GitHub action. In extreme cases, it may also lead to the destruction of the user's home directory, posing a significant risk to user data and security.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall @voiceflow/google-dfes-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 measure, you can avoid using the affected versions of the package (2.17.12 and 2.17.13) until a patched version is released. Consider using an alternative package or implementing your own solution for Google service interactions until the vulnerability is addressed.
Conclusion
The @voiceflow/google-dfes-types package has been compromised by a malicious worm that poses significant security risks. It is essential for users to update to a patched version and monitor their applications for vulnerabilities. Utilizing tools like Vulert can help in identifying and managing these risks effectively.
See every vulnerability recorded for @voiceflow/google-dfes-types →
FAQ
The malicious code is designed to steal user tokens and credentials, potentially leading to unauthorized access to sensitive information.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without any signup.
If you have installed versions 2.17.12 or 2.17.13, it is recommended to update to the latest version of the package immediately to mitigate the risk.
Yes, the worm can propagate itself to other npm packages owned by the user, increasing the risk of widespread infection.
The consequences include unauthorized access to user data, potential loss of sensitive information, and damage to the user's home directory.