{"id":"MAL-2026-15906","summary":"Malicious code in tailwindcss-animate-styles (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (c51002139fd978b564f7449840b2aafe85ba738c2e392f497f44951070f3643c)\nOn require() of tailwindcss-animate-styles, index.js runs eval(atob(...)) on a payload appended to the Tailwind plugin. The decoded loader queries public Ethereum RPC endpoints (eth.blockscout.com, 1rpc.io, drpc.org, publicnode, blastapi.io) for transactions from hardcoded wallet 0xa322E5f3D311D3080e6f0121063e9aDC2490Ef1a, decodes the destination-address bytes of those transactions into two IPv4 C2 hosts, then fetches XOR-encoded stage-2 code from http://\u003cc2\u003e:443/0x/cls and http://\u003cc2\u003e:443/0x/ls and executes it via eval() and a detached spawn('node', ['-e',...]) with stdio ignored and windowsHide set. Before executing the fetched code the loader pins global.r=require and global.m=module and passes the XOR keys and C2 URLs in, granting the remotely-served stage-2 full Node capabilities (fs, net, child_process, env) on the installer's host. After the eval, the module reads its own source, locates the 'eval(atob(\"Z2x' region, and rewrites index.js with that region spliced out, erasing the loader from disk after first import.\n","modified":"2026-09-04T04:30:05.853632950Z","published":"2026-09-04T03:45:35Z","database_specific":{"malicious-packages-origins":[{"import_time":"2026-09-04T04:21:20.846294262Z","modified_time":"2026-09-04T03:45:35Z","sha256":"c51002139fd978b564f7449840b2aafe85ba738c2e392f497f44951070f3643c","source":"amazon-inspector","versions":["1.0.9"],"id":"IN-MAL-2026-019451"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/tailwindcss-animate-styles/v/1.0.9"}],"affected":[{"package":{"name":"tailwindcss-animate-styles","ecosystem":"npm","purl":"pkg:npm/tailwindcss-animate-styles"},"versions":["1.0.9"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/tailwindcss-animate-styles/MAL-2026-15906.json","indicators":{"package_integrity":[{"filename":"tailwindcss-animate-styles-1.0.9.tgz","hashes":{"sha512_sri":"sha512-N9OQu3cLdQm610WXEXWAjTuzGgkbgMlSuZBIenFZagfJwjvxwI+ENuli832Y7UREEfG/1HHo3OqpttQE+dkMrA==","sha1":"d7e21f29206e3290c21f1a54d96450c96ca578a2"}}],"evidence_files":[{"sha256":"b4796c4f00951e536c05447d0cf39da9147c8e39ff5da5947deba51cbfa82862","tlsh":"1a525bf462932f5e2f1f969317dd8a40947e1cd824b467ad2c920eef04c685627ae72c","path":"index.js"}]},"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}]}}],"schema_version":"1.9.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}