tailwindcss-anim
Affected
- introduced
0(semver)
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: GHSA-m326-xg22-g2fx
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in tailwindcss-anim (npm)
---
_-= Per source details. Do not edit below this line.=-_
Source: amazon-inspector (e01f26860cd01782ea3614f8dd2d144ced75af610edac79984c24d67dee41d8a)
index.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.
Source: ghsa-malware (ab2952f4dabc751cf85689160b2079f073f999b801ce9d59f08d417af7775232)
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.
Not rated by the source.
0 (semver)None listed
No fixed version is listed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: OpenSSF Malicious Packages · Apache-2.0