Malicious code in tailwindcss-3d-animate (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-14567
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (bc554005eb9004f33d22597b929261d865d4bfe991d0b99d148dc25fffb7e97c) index.js re-exports the legitimate tailwindcss-3d plugin and then appends `eval(atob("..."))` at module top level, so the payload runs on any `require('tailwindcss-3d-animate')`. The decoded blob is an obfuscator.io string-array/control-flow-flattened bundle (`_0x240a` rotation, `global['r']=require`, `global['m']=module`) that pulls in http/https/zlib/child_process and executes network-fetched code. Decoded strings reveal an Ethereum-address-as-dead-drop staging channel: Etherscan-style `?module=account&action=txlist&address=0xa322E5f3...D311D3080e...9aDC2490Ef` queries against public RPC/explorer hosts (drpc.org, eth-mainnet.publicnode, *.blockscout.com) are used to read attacker-controlled on-chain data as the next-stage URL, which is then zlib-inflated and executed via Function/eval and child_process spawn. The package name typosquats the legitimate `tailwindcss-3d` (same `sambauers/tailwindcss-3d` repo URL) and reproduces its source verbatim as cover. ## Source: ghsa-malware (3d1defedbeea471958124829553069330323040f99fc537a12c91f6949a752a9) 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.
- Source published
- 27 Aug 2026 18:25:20 UTC
- Source modified
- 3 Sep 2026 06:00:08 UTC
- Saved here
- 24 Oct 2026 13:17:17 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.