tailwind-animenpm
Advisory published Updated
tailwind-anime is a confirmed malicious npm package (MAL-2026-12027) that opens a backdoor for remote access (malicious versions 0.0.1, 1.0.0, 1.1.0…). Do not install it — remove it immediately and rotate any exposed credentials.
Malicious code in tailwind-anime (npm)
What this malware does
[email protected] is a typosquat of tailwindcss-animate. Its index.js appends an eval(atob('...')) blob that runs whenever the plugin is required (e.g., when Tailwind loads the plugin during a build). The decoded payload queries multiple Ethereum RPC endpoints (eth.blockscout.com, 1rpc.io/eth, eth.drpc.org, ethereum-rpc.publicnode.com, eth-mainnet.public.blastapi.io) for transactions of address 0xa322E5f3D311D3080e6f0121063e9aDC2490Ef1a, reconstructs an IPv4 C2 address from bytes of a transaction's to field, fetches a follow-on payload over HTTP whose body is XOR-decoded from an x-payload-b64 response header, evals it, and then spawns a detached hidden node -e child process ({detached:true, stdio:'ignore', windowsHide:true}). All sensitive strings (require names 'http'/'https'/'child_process', the ETH address, RPC hosts, JSON-RPC method names 'eth_getBlockByNumber'/'eth_getTransactionCount', and C2 paths '/0x/cls' and '/0x/ls') are hidden as \uXXXX escapes inside the base64 blob. The declared purpose is CSS animation utilities; none of this behavior is consistent with that purpose. Installing this package and referencing it in a Tailwind config results in arbitrary remote code execution on the build machine, with the C2 endpoint rotatable by the attacker via new on-chain transactions.
Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
Malicious versions
Indicators of compromise (SHA-256)
Detection & response playbook
Backdoor / remote accessFind it
Search your lockfiles and build artifacts for tailwind-anime (4 malicious versions).
If you installed it — respond
tailwind-anime establishes remote access, so treat any host that installed it as fully compromised. Isolate the machine, remove the package, rotate all credentials it could reach, and rebuild from a trusted image rather than cleaning in place — a backdoor may have planted additional persistence.
Did it already run?
If tailwind-anime was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.
Frequently asked questions
Campaign
References
Credits
- Amazon Inspector · finder
Detect & block this
O3 blocks tailwind-anime-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the C2 callback and severs the channel.