MAL-2026-14226 Malicious code in animate-css-vite (npm)
Malicious package
Published
MAL-2026-14226 is a malicious package: animate-css-vite (npm). Every version was published to cause harm.
Task:
1. Search this repository's dependency manifests and lockfiles for the package, including transitive dependencies.
2. If it is present, remove it, regenerate the lockfile with the project's package manager, and replace whatever it was used for.
3. List any CI runners, developer machines or containers that installed it, so their secrets can be rotated.
4. If the package is not used anywhere, say so and change nothing.
Reference: https://insights.sbomify.com/MAL-2026-14226/ (Markdown: https://insights.sbomify.com/MAL-2026-14226/index.md)
- Package
- animate-css-vite
- Registry
- npm
What is MAL-2026-14226?
MAL-2026-14226 is a malicious package in animate-css-vite, published on 19 Aug 2026.
Official description
plugin.js contains an RC4/base64 string-array obfuscated function invoked from the exported createPlugin factory. When a consumer's build instantiates the plugin, it constructs a URL at runtime, calls fetch() against it, base64-decodes the response body, and executes the result via new Function(param, decoded)(require) inside a retry loop (up to 10 attempts, 60s timeout each). The obfuscation (130-entry RC4 string array with two indirection decoders and a self-defending console-hook stub) hides the network destination and the fetch/exec wiring; a legitimate PostCSS plugin for vendor prefixes and CSS variables has no reason to fetch and evaluate remote code. The eval runs with require in scope, giving the remote operator arbitrary code execution inside the consumer's build process.
What should I do about MAL-2026-14226?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.