tailwind-animationpack@2.3.7
Malicious code in tailwind-animationpack (npm)
Analysis
Combosquat package impersonating tailwindcss-animationpack (missing "css" in name). The src/index.js file contains a benign Tailwind plugin facade followed by eval(atob(...)) that decodes a multi-stage crypto drainer. Stage 1 queries Ethereum RPC endpoints (1rpc[.]io, eth[.]drpc[.]org, eth-mainnet[.]public[.]blastapi[.]io, ethereum-rpc[.]publicnode[.]com) to scan blockchain transactions for a hardcoded wallet address. Stage 2 extracts IP addresses from transaction data to derive C2 infrastructure. Stage 3 spawns a detached node child process that beacons to the C2 over HTTP with XOR-encrypted communication. The package has no lifecycle hooks but the payload executes on require() via the eval(atob) in the module body.
- analyzed by
- Leitwacht
- first seen
- Aug 2, 2026, 03:12 PM
- analyzed
- Aug 2, 2026, 03:13 PM
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.