Malicious Code Vulnerability in tailwindcss-motionanimate: Exploitation via Private Dependency
Summary
MAL-2026-18089: Malicious code in tailwindcss-motionanimate (npm). Affects tailwindcss-motionanimate versions 1.0.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
tailwindcss-motionanimate is a Tailwind CSS plugin designed to enhance animations within web applications. It integrates with Tailwind CSS to provide additional animation capabilities. However, this package has been compromised, leading to potential security risks due to its reliance on a private scoped dependency that is not publicly accessible.
Vulnerability Detail
The vulnerability originates from the tailwindcss-motionanimate package version 1.0.1, which is linked to a malicious campaign. It requires a private scoped package, @jasperquinn/postcss-motion-helpers, that is not readable on the public registry. This dependency is only accessible with a specific npm token, which is stored in the lure repository's .npmrc file. When the plugin is loaded in tailwind.config.js, it executes malicious code, posing a significant risk to applications using this package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall tailwindcss-motionanimate
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 tailwindcss-motionanimate package from your project until a secure version is released. You can do this by executing the following command: npm uninstall tailwindcss-motionanimate.
Conclusion
The tailwindcss-motionanimate package has been identified as containing a malicious code vulnerability due to its reliance on a private dependency. It is crucial to take immediate action by updating or removing the package to safeguard your application from potential threats.
See every vulnerability recorded for tailwindcss-motionanimate →
FAQ
tailwindcss-motionanimate is a plugin for Tailwind CSS that adds animation capabilities to web applications.
The vulnerability allows malicious code to execute when the plugin is loaded, potentially compromising your application's security.
Check the official repository for any updates or patched versions of the tailwindcss-motionanimate package.
As a workaround, consider uninstalling the tailwindcss-motionanimate package until a secure version is available.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json file. You can also check your application against this vulnerability using the Vulert playground without any signup.