Critical Malicious Code Vulnerability in @productdevbook/animejs-vue Package
Summary
MAL-2025-191301: Malicious code in @productdevbook/animejs-vue (npm). Affects @productdevbook/animejs-vue versions 0.2.1. 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 @productdevbook/animejs-vue package is a JavaScript library designed to integrate Anime.js animations into Vue.js applications. It provides developers with an easy way to create engaging animations within their Vue components. However, this package has been compromised, exposing users to severe security risks.
Vulnerability Detail
The vulnerability originates from a malicious code injection by the Sha1-Hulud: The Second Coming NPM worm. This worm is designed to steal sensitive tokens and credentials from users and publish them to GitHub. It can also propagate itself to other NPM packages owned by the user and establish persistence through GitHub actions. Additionally, the worm has the potential to destroy the user's home directory, leading to significant data loss.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall @productdevbook/animejs-vue
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 remove the compromised package from your project until a secure version is released. Use the following command to uninstall the package: npm uninstall @productdevbook/animejs-vue. Consider using alternative animation libraries that are not affected by this vulnerability.
Conclusion
The @productdevbook/animejs-vue package has been compromised by a malicious worm, posing significant risks to users. It is essential to take immediate action by updating or removing the package and monitoring for any unauthorized access to sensitive information.
See every vulnerability recorded for @productdevbook/animejs-vue →
FAQ
The malicious code is part of the Sha1-Hulud NPM worm, which steals sensitive information and can propagate to other packages.
You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without needing to sign up.
Immediately uninstall the package and check for any unauthorized access to your tokens or credentials.
Yes, the vulnerability can lead to credential theft, unauthorized access to your GitHub repositories, and potential data loss.
Check the official repository for @productdevbook/animejs-vue to see if a patched version has been released.