{"id":"MAL-2026-13604","summary":"Malicious code in tailwindcss-motion-advanced (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (6b8426c39ffcba11d95e8ede8085ce260dbcf8527544ce9ca3a1d7a59618f0eb)\nOn require of the package's main entry, lib/utils.min.js queries Ethereum RPC endpoints (eth.blockscout.com/api, 1rpc.io/eth, eth.drpc.org, ethereum-rpc.publicnode.com, eth-mainnet.public.blastapi.io) for the latest outbound transaction from the hardcoded address 0xa322E5f3D311D3080e6f0121063e9aDC2490Ef1a, parses two IPv4 C2 hosts from the transaction's `to` field, fetches an XOR-encoded JavaScript payload over plain HTTP at `http://\u003cip\u003e:443/0x/cls`, decodes it, and executes it via both `eval` and a detached `spawn('node', ['-e', payload])`. Sensitive identifiers (`http`, `https`, `child_process`, `zlib`, `url`, URLs, HTTP methods, header names, the attacker address) are hidden behind \\uXXXX unicode escapes, and the response body and `x-payload-b64` header are XOR-decoded with a per-URL key before execution. The package is presented as a Tailwind CSS plugin and has no legitimate need for Ethereum RPC access, IP derivation from on-chain data, or execution of remotely fetched code.\n","modified":"2026-08-07T13:21:01.030354980Z","published":"2026-08-07T12:29:45Z","database_specific":{"malicious-packages-origins":[{"sha256":"6b8426c39ffcba11d95e8ede8085ce260dbcf8527544ce9ca3a1d7a59618f0eb","source":"amazon-inspector","versions":["1.0.1"],"id":"IN-MAL-2026-017004","import_time":"2026-08-07T12:51:21.825236508Z","modified_time":"2026-08-07T12:29:45Z"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/tailwindcss-motion-advanced/v/1.0.1"}],"affected":[{"package":{"name":"tailwindcss-motion-advanced","ecosystem":"npm","purl":"pkg:npm/tailwindcss-motion-advanced"},"versions":["1.0.1"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"lib/utils.min.js","sha256":"bb2f325edfc3e4383d88b985aa203f13d238612dd0487405e808dc9cf64720e3","tlsh":"d4021ea05379adba82315a44cc34be0de1b4dcb56d4bd02af82b3c89dd7a1d08b9176c"}],"package_integrity":[{"filename":"tailwindcss-motion-advanced-1.0.1.tgz","hashes":{"sha1":"1ce4726fe123faf79f41407b1583c4e7b4926a81","sha512_sri":"sha512-M1xGRmzww82urGhMmdnomkXC6i9fFGjwDAgjV2jbA0cPcoSOQf34qTxLkfbwUptGeW8nN/IFXaXdbeYXI5cQtg=="}}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/tailwindcss-motion-advanced/MAL-2026-13604.json"}}],"schema_version":"1.8.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}