Malicious Code Vulnerability in animate-twcss-pack: A Threat to Tailwind CSS Users
Summary
MAL-2026-18067: Malicious code in animate-twcss-pack (npm). Affects animate-twcss-pack versions 2.0.6. 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
animate-twcss-pack is a Tailwind CSS plugin designed to integrate animations into Tailwind projects. It allows developers to easily apply animations using utility classes. However, this package has been compromised, posing a significant risk to users who rely on it for their projects.
Vulnerability Detail
The vulnerability originates from the malicious code embedded in animate-twcss-pack version 2.0.6, which is linked to a series of deceptive campaigns. The package requires a private scoped dependency, @jasperquinn/postcss-motion-helpers, which is not accessible on the public npm registry. This dependency contains the malicious payload that executes when the Tailwind configuration file is loaded. The implications of this vulnerability include potential unauthorized access to sensitive data and the execution of harmful code within the user's development environment.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall animate-twcss-pack
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 avoid using the animate-twcss-pack package until a safe version is released. Alternatively, consider using other animation libraries that do not have known vulnerabilities.
Conclusion
The animate-twcss-pack vulnerability poses a significant risk to users of Tailwind CSS. It is essential to stay informed about such vulnerabilities and take necessary actions to protect your projects. Regularly updating packages and using tools like Vulert can help maintain the security of your applications.
See every vulnerability recorded for animate-twcss-pack →
FAQ
animate-twcss-pack is a Tailwind CSS plugin that allows developers to easily integrate animations into their projects.
The vulnerability can lead to the execution of malicious code, potentially compromising your development environment and data.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.
If you cannot update the package, consider using alternative animation libraries or temporarily removing the package from your project.
More information can be found in the vulnerability report on GitHub or by monitoring the package's repository for updates.