animate-css-vite (npm) · Malicious Code
Affects animate-css-viteSource GCVE Database
Malicious package : remove animate-css-vite and rotate any secrets on hosts that installed it.
Data as of 19 Aug 2026, 14:34 UTC
Malicious package
Published to npm · OSV MAL-2026-14226
What to do
Remove animate-css-vite from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmanimate-css-vite | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The animate-css-vite npm package version 1.0.1 contains malicious code that fetches and executes remote code during the build process. This behavior is hidden by obfuscation techniques including RC4 and base64 encoding. The remote code execution occurs via a dynamic function call with require in scope, allowing arbitrary code execution within the consumer's build environment.