{"id":"MAL-2026-11487","summary":"Malicious code in tailwindcss-anim (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (e01f26860cd01782ea3614f8dd2d144ced75af610edac79984c24d67dee41d8a)\nindex.js hides a base64-encoded payload after a long run of tab characters and executes it via eval(atob(...)) at module load, so any require()/import of the package triggers the dropper. The decoded payload queries Ethereum JSON-RPC endpoints (eth.blockscout.com/api, eth.drpc.org, ethereum-rpc.publicnode.com, eth-mainnet.public.blastapi.io) for the latest transaction from the hardcoded address 0xa322E5f3D311D3080e6f0121063e9aDC2490Ef1a, extracts two IPv4 addresses from the transaction's `to` field bytes, HTTP-fetches an XOR-obfuscated stage-2 from those IPs, and runs it via eval and spawn(\"node\", [\"-e\", payload], {detached:true, stdio:\"ignore\", windowsHide:true}).unref(). Sensitive identifiers (http, https, child_process, spawn, x-payload-b64) are written as \\u-escaped sequences to evade text search. The blockchain-derived indirection lets the operator rotate stage-2 hosts by broadcasting a new transaction from the watched address, giving a resilient, mutable control channel for arbitrary code execution on the installer host. The package is presented as a Tailwind CSS animation plugin, which is unrelated to any of this behavior.\n\n## Source: ghsa-malware (ab2952f4dabc751cf85689160b2079f073f999b801ce9d59f08d417af7775232)\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","aliases":["GHSA-m326-xg22-g2fx"],"modified":"2026-08-05T07:21:33.150986761Z","published":"2026-08-02T17:11:57Z","database_specific":{"malicious-packages-origins":[{"id":"GHSA-m326-xg22-g2fx","import_time":"2026-08-02T22:41:05.031314Z","modified_time":"2026-08-02T17:11:58Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"ab2952f4dabc751cf85689160b2079f073f999b801ce9d59f08d417af7775232","source":"ghsa-malware"},{"source":"amazon-inspector","versions":["1.3.3"],"id":"IN-MAL-2026-011020","import_time":"2026-08-04T21:33:13.914044218Z","modified_time":"2026-08-04T21:20:45Z","sha256":"79f804cc6f7d43a42f9fadaa59c054cf08ed5a9248a36d67645ce1e950484d34"},{"source":"amazon-inspector","versions":["1.3.5"],"id":"IN-MAL-2026-011021","import_time":"2026-08-04T21:33:13.958166816Z","modified_time":"2026-08-04T21:20:52Z","sha256":"e01f26860cd01782ea3614f8dd2d144ced75af610edac79984c24d67dee41d8a"},{"source":"amazon-inspector","versions":["1.1.1"],"id":"IN-MAL-2026-013192","import_time":"2026-08-05T06:00:52.315689662Z","modified_time":"2026-08-05T05:47:03Z","sha256":"f78acb2b0abb2059768fec10bdee759ed6960b8931d4082efbcd765aefa364dc"},{"sha256":"6b7c86dc0738e0cd06db82a6fba3e53757c9ad34aeb17edd00eaa8f9a009a6c3","source":"amazon-inspector","versions":["1.1.0"],"id":"IN-MAL-2026-013337","import_time":"2026-08-05T07:06:42.066909347Z","modified_time":"2026-08-05T06:08:45Z"},{"modified_time":"2026-08-05T06:13:13Z","sha256":"6faab74a833b263b886030a653a70766070e1a5b2471e532e99d2c310953b335","source":"amazon-inspector","versions":["1.0.0"],"id":"IN-MAL-2026-013368","import_time":"2026-08-05T07:06:43.778154658Z"},{"source":"amazon-inspector","versions":["1.2.2"],"id":"IN-MAL-2026-013338","import_time":"2026-08-05T07:06:42.119358476Z","modified_time":"2026-08-05T06:08:53Z","sha256":"edd6f17e83205fdba2d3034f2e54dcf8ef1b2b407ff1d0c84755337e3d2f0c20"},{"modified_time":"2026-08-05T06:08:37Z","sha256":"42fb367785d55a9d9775c78b25e8983bfa5a0e976b8687763890e9d0fa6080b5","source":"amazon-inspector","versions":["1.2.1"],"id":"IN-MAL-2026-013336","import_time":"2026-08-05T07:06:42.012576503Z"},{"import_time":"2026-08-05T07:06:42.348360728Z","modified_time":"2026-08-05T06:09:38Z","sha256":"44282f9228150d73c14317ef075d144119d750bcea7173be0ff47a84f7867d40","source":"amazon-inspector","versions":["0.0.1"],"id":"IN-MAL-2026-013343"}]},"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-m326-xg22-g2fx"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/tailwindcss-anim/v/1.3.3"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/tailwindcss-anim/v/1.3.5"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/tailwindcss-anim/v/1.1.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/tailwindcss-anim/v/1.1.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/tailwindcss-anim/v/1.0.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/tailwindcss-anim/v/1.2.2"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/tailwindcss-anim/v/1.2.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/tailwindcss-anim/v/0.0.1"}],"affected":[{"package":{"name":"tailwindcss-anim","ecosystem":"npm","purl":"pkg:npm/tailwindcss-anim"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.3.3","1.3.5","1.1.1","1.1.0","1.0.0","1.2.2","1.2.1","0.0.1"],"database_specific":{"indicators":{"evidence_files":[{"path":"index.js","sha256":"044349fde1f9e226ff2361ec0259acfe177304a89ef1f9241c7f8d4c697b0e35","tlsh":"50726fe6b69a364bcf074523fe7b878e1b39847162ad1b787013887523c5c98269d30f"}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/tailwindcss-anim/MAL-2026-11487.json","cwes":[{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"name":"Embedded Malicious Code","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."},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"name":"Embedded Malicious Code","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","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."},{"description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code","cweId":"CWE-506"}]}}],"schema_version":"1.8.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}