Critical Malicious Code Vulnerability in tailwindcss-animation-css Package
Summary
MAL-2025-192293: Malicious code in tailwindcss-animation-css (npm). Affected versions are not published. 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 tailwindcss-animation-css package is an npm library designed to provide CSS animations for Tailwind CSS projects. It allows developers to easily integrate animations into their web applications, enhancing user experience and visual appeal. However, this package has been compromised, leading to significant security concerns.
Vulnerability Detail
The vulnerability originates from the presence of malicious code within the tailwindcss-animation-css package. This code can fully compromise any system that has the package installed, allowing unauthorized access to sensitive information such as secrets and keys. The malicious code is embedded within the package, making it difficult to detect and remove completely. Users are advised to treat any system with this package as fully compromised.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall tailwindcss-animation-css
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
Currently, there are no effective workarounds to mitigate the risks posed by this vulnerability other than removing the package entirely.
Conclusion
The tailwindcss-animation-css package has been identified as containing malicious code that compromises system security. Immediate action is required to remove the package and secure any sensitive information. Utilizing tools like Vulert can help monitor for such vulnerabilities in the future.
See every vulnerability recorded for tailwindcss-animation-css →
FAQ
You should uninstall the package immediately and rotate any sensitive information stored on your system.
You can use Vulert's playground at Vulert Scanner to check if your application is affected without requiring any signup.
Keeping this package installed can lead to unauthorized access to your system and potential data breaches.
Regularly monitor your dependencies using tools like Vulert, which can alert you to open-source vulnerabilities in real-time.
While most packages are safe, it's essential to vet dependencies and use monitoring tools to stay informed about vulnerabilities.