Malicious code in tailwind-anim (npm)
MAL-2026-11500 · GHSA-7xhc-fvmj-h5xj
Published · Modified
Dependency scanning
Check whether tailwind-anim 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 (21dc8202757ee9b584da35aaa3eedd5c8fb8c17d36a64c5ed306d10c8940d6d0)
index.js appends an eval(atob(...)) blob to an otherwise legitimate Tailwind plugin. On require(), the decoded loader queries Ethereum JSON-RPC block explorers for transactions from hardcoded address 0xa322e5f3d311d3080e6f01210463e9adc2490ef1a, decodes an IP address from the transaction's to field, fetches an XOR-encrypted JavaScript payload from http://spawn('node', ['-e',...], {detached: true, stdio: 'ignore', windowsHide: true}).unref() child process. Sensitive identifiers (http, https, child_process, spawn, URLs) are stored as \uXXXX-escaped strings inside a base64 wrapper. The on-chain lookup lets the operator rotate C2 endpoints by broadcasting new transactions from the attacker-controlled address, giving arbitrary remote code execution on any machine that installs or requires this package.
Source: ghsa-malware (204592221540d7404642fb39488b1b235cf9f21b372558c196b404b48f3d7c23)
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
- ADVISORY https://github.com/advisories/GHSA-7xhc-fvmj-h5xj
- PACKAGE https://www.npmjs.com/package/tailwind-anim/v/1.2.5
- PACKAGE https://www.npmjs.com/package/tailwind-anim/v/1.1.0
- PACKAGE https://www.npmjs.com/package/tailwind-anim/v/1.2.3
- PACKAGE https://www.npmjs.com/package/tailwind-anim/v/1.2.4
- PACKAGE https://www.npmjs.com/package/tailwind-anim/v/1.2.0
- PACKAGE https://www.npmjs.com/package/tailwind-anim/v/1.0.0
- PACKAGE https://www.npmjs.com/package/tailwind-anim/v/0.0.1
- PACKAGE https://www.npmjs.com/package/tailwind-anim/v/1.1.1
- PACKAGE https://www.npmjs.com/package/tailwind-anim/v/1.2.1
Ready to move
Start Securing
Free, no credit card | First findings in minutes