tailwindcss-animate-styles (npm) · Malicious Code
Affects tailwindcss-animate-stylesSource GCVE Database
Malicious package : remove tailwindcss-animate-styles and rotate any secrets on hosts that installed it.
Data as of 7 Sep 2026, 17:09 UTC
Malicious package
Published to npm · OSV MAL-2026-15906
What to do
Remove tailwindcss-animate-styles 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 |
|---|---|---|
| npmtailwindcss-animate-styles | 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 npm package tailwindcss-animate-styles version 1.0.9 contains malicious code that executes a hidden loader upon require(). This loader decodes a payload that queries public Ethereum RPC endpoints for transactions from a hardcoded wallet, extracts two IPv4 command-and-control (C2) hosts, and fetches XOR-encoded secondary payloads from these hosts. The secondary payloads are executed with full Node.js capabilities, allowing remote code execution with filesystem, network, and process control on the host. After execution, the loader self-erases from the package source to hide its presence.