MAL-2026-14226
Malicious code in animate-css-vite (npm)
Details
--- _-= Per source details. Do not edit below this line.=-_
## Source: amazon-inspector (67d6c86a03c6106e799d0817676fcc92f022b64790aab209aa9fe663c085c4e6) 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.
Are you affected?
Enter the version of the package you're using.
Affected packages
No fixed version published yet for animate-css-vite (npm). Pin to a known-safe version or switch to an alternative.