MAL-2026-14226
Dashboard / Malicious Package / MAL-2026-14226
MAL-2026-14226
Summary: Malicious code in animate-css-vite (npm)
Details: 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.
Affected packages
Package
Name: animate-css-vite
Purl: pkg:npm/animate-css-vite
Affected ranges
Type: N/A
Events:
