Malicious code in tailwind-animationgroup (npm)
MAL-2026-12219 · GHSA-69pm-q85v-q89g
Published · Modified
Dependency scanning
Check whether tailwind-animationgroup is in your codebase
Corgea flags malicious and compromised dependencies with reachability analysis, so you fix the packages that actually run in your application instead of working through the whole lockfile.
Description
__
Source: amazon-inspector (aa7ac62a4a5dbe9acfdc813215213c698a79588f96614191505e41bf116c9c66)
src/index.js appends an eval(atob(...)) blob after the tailwind plugin export. On any require()/import of the package, the decoded loader queries Ethereum RPC and blockscout endpoints for the latest transaction from a hardcoded address (0xa322E5f3D311D3080e6f0121063e9aDC2490Ef1a), derives two IPv4 C2 endpoints from bytes of that transaction, and issues HTTP requests to http://], {detached: true, stdio: 'ignore', windowsHide: true}).unref(). Strings such as 'child_process', 'http', 'https', 'GET', 'HEAD', 'spawn', and the endpoint paths are hidden with \uXXXX unicode escapes and layered base64 wrapping. The Tailwind animation plugin surface is a decoy; the C2 address rotates via on-chain lookups, so the delivered second-stage is arbitrary and mutable.
Source: ghsa-malware (7d30a5e36c738eadd8ee27547b302517bbc51edae03203546bbc789296947cdc)
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.
References
Ready to move
Start Securing
Free, no credit card | First findings in minutes