MAL-2026-12220Malicious code in tailwind-animationpack (npm)
| 版本 | 状态 | 大小 | SHA-256 | 获取方式 |
|---|---|---|---|---|
2.3.7 | unavailable | — | — | — |
| Ecosystem | Package | Version |
|---|---|---|
| npm | tailwind-animationpack | * |
| npm | tailwind-animationpack | 2.3.7 |
{"schema_version":"1.7.4","id":"MAL-2026-12220","published":"2026-08-05T09:05:16Z","modified":"2026-08-24T08:32:03.042525894Z","aliases":["GHSA-pqcx-38vc-5c6x"],"summary":"Malicious code in tailwind-animationpack (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (63abd5591507bb96b45cdf17209563ccfe52015a0bb8c5258bf3ea8cdc034fb3)\nsrc/index.js appends an obfuscated eval(atob(...)) block after a legitimate-looking Tailwind plugin export. The decoded loader hides module names and constants behind \\uXXXX escapes, queries Ethereum JSON-RPC endpoints (eth.blockscout.com/api, 1rpc.io/eth, eth.drpc.org, ethereum-rpc.publicnode.com, eth-mainnet.public.blastapi.io) for the latest transaction from hardcoded address 0xa322E5f3D311D3080e6f0121063e9aDC2490Ef1a, decodes the transaction's `to` field into two IPv4 addresses, fetches an XOR-encoded second-stage payload from those hosts, then runs it via eval() and a detached `spawn('node', ['-e', payload], {detached:true, stdio:'ignore', windowsHide:true}).unref()`. The loader executes whenever a consumer require()s the package, giving the operator of the referenced Ethereum address arbitrary code execution on the installer's machine with a detached child process that survives the parent.\n\n## Source: ghsa-malware (440918fa5e74d85d8508518ef802551b6708d1a721f38f7882dc7235b1d63d7c)\nAny 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.\n","affected":[{"package":{"name":"tailwind-animationpack","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["2.3.7"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"src/index.js","sha256":"8e4cfe4d8abd101827d6ccafe0e106caf31b5faeea46d4eb532a607b47436c59","tlsh":"36421be64a91ba4bdf1b5926fd87170e233104b2329d6f25704f9c76b388c86349da1f"}],"package_integrity":[{"filename":"tailwind-animationpack-2.3.7.tgz","hashes":{"sha1":"4bd31b6aa6478208248ee28f87088f8dccc8f251","sha512_sri":"sha512-9bOr9dPhJorDFovCRHic9wm5vAGVHFYa6LKAaIl5I+55MpkPRyF86cFOf+9nfdiTZ0BIRUjgOCl80y6pySN/nQ=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/tailwind-animationpack/v/2.3.7"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-pqcx-38vc-5c6x"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-014539","import_time":"2026-08-05T09:28:23.573767673Z","modified_time":"2026-08-05T09:05:16Z","sha256":"63abd5591507bb96b45cdf17209563ccfe52015a0bb8c5258bf3ea8cdc034fb3","source":"amazon-inspector","versions":["2.3.7"]},{"id":"GHSA-pqcx-38vc-5c6x","import_time":"2026-08-24T08:30:16.324472681Z","modified_time":"2026-08-24T07:50:27Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"440918fa5e74d85d8508518ef802551b6708d1a721f38f7882dc7235b1d63d7c","source":"ghsa-malware"}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}数据来源:OpenSSF Malicious Packages · Apache-2.0