Malicious Code Vulnerability in animate-tailwind-kit: A Threat to Tailwind CSS Users
Summary
MAL-2026-18065: Malicious code in animate-tailwind-kit (npm). Affects animate-tailwind-kit versions 3.0.1 – 3.0.4. 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-tailwind-kit is a Tailwind CSS plugin designed to enhance animations within web applications. It allows developers to easily integrate animations into their projects using Tailwind's utility-first approach. However, the package has been compromised, leading to significant security concerns due to the inclusion of a malicious dependency.
Vulnerability Detail
The vulnerability originates from the animate-tailwind-kit package versions 3.0.1 and 3.0.4, which are linked to a malicious campaign. The package requires a private scoped dependency, @jasperquinn/postcss-motion-helpers, which is not accessible on the public npm registry. This dependency contains malicious code that executes when the Tailwind configuration file (tailwind.config.js) is loaded, potentially compromising the development environment. The malicious code is hidden within a private dependency, making it difficult to detect, and poses a risk to any project that integrates this plugin.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall animate-tailwind-kit
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, you can remove the animate-tailwind-kit package from your project by executing: npm uninstall animate-tailwind-kit. This will prevent the execution of any malicious code until a secure version is released.
Conclusion
The animate-tailwind-kit package has been compromised, posing a significant security risk to developers using it in their projects. It is crucial to update or remove the package to protect against potential threats. Utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.
See every vulnerability recorded for animate-tailwind-kit →
FAQ
animate-tailwind-kit is a Tailwind CSS plugin that allows developers to easily add animations to their web applications.
The vulnerability can lead to the execution of malicious code in your development environment, potentially compromising your project and exposing 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 requiring any signup.
If you cannot update the package, consider removing it from your project as a temporary measure to mitigate the risk.
Detailed information can be found in the vulnerability report on the GitHub repository or through security advisories related to the animate-tailwind-kit package.