Critical Malicious Code Vulnerability in tailwind-mainanimation Package
Summary
MAL-2026-1418: Malicious code in tailwind-mainanimation (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 tailwind-mainanimation package is an npm library designed to enhance animations in Tailwind CSS projects. It provides developers with pre-built animations that can be easily integrated into their web applications. However, this package has been compromised, leading to significant security risks for users who have it installed.
Vulnerability Detail
The vulnerability stems from the presence of malicious code embedded within the tailwind-mainanimation package. This code can fully compromise any computer that has the package installed or running, potentially allowing unauthorized access to sensitive information, such as secrets and keys. The origin of this issue is linked to a malicious actor who has manipulated the package to execute harmful actions on affected systems. Users should be aware that simply removing the package may not eliminate all traces of the malicious software.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall tailwind-mainanimation
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 other than removing the package and securing the system. Users should ensure that their systems are scanned for any residual malicious software.
Conclusion
The tailwind-mainanimation package has been compromised with malicious code, posing a severe risk to users. 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 tailwind-mainanimation →
FAQ
You should immediately remove the package and rotate any sensitive information stored on your system.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without any signup.
No, it is not safe to reinstall the package until a patched version is released and verified as secure.
The consequences include unauthorized access to sensitive data and complete compromise of the affected system.
Regularly monitor your dependencies for vulnerabilities using tools like Vulert and keep your packages updated.