tailwindcss-forms-uinpm
Advisory published Updated
tailwindcss-forms-ui is a confirmed malicious npm package (MAL-2026-16295) that opens a backdoor for remote access (malicious version 0.5.2). Do not install it — remove it immediately and rotate any exposed credentials.
Malicious code in tailwindcss-forms-ui (npm)
What this malware does
The package name typosquats @tailwindcss/forms but its main entry src/index.js is a 39 KB obfuscator.io bundle (303-entry rotating string array, hex-named identifiers, control-flow flattening) with no Tailwind/CSS functionality. On require(), the module attaches require and module to global scope, then queries Ethereum JSON-RPC endpoints (eth.publicnode.com, 1rpc.io/eth, eth-mainnet.public.blastapi.io, eth.drpc.org) and Etherscan/Blockscout txlist APIs for transactions from the hardcoded sender address 0xa322E5f39aDC2490EfD311D3080e6f0121063e1a, decompresses the returned transaction data (gzip/deflate/brotli), and passes it to code-construction and node:child_process.spawn sinks. The hardcoded sender's on-chain transactions are a mutable, attacker-controlled payload channel (EtherHiding pattern), granting arbitrary code execution on any installer that require()s the module.
Malicious versions
Indicators of compromise (SHA-256)
Detection & response playbook
Backdoor / remote accessFind it
Search your lockfiles and build artifacts for tailwindcss-forms-ui (version 0.5.2).
If you installed it — respond
tailwindcss-forms-ui establishes remote access, so treat any host that installed it as fully compromised. Isolate the machine, remove the package, rotate all credentials it could reach, and rebuild from a trusted image rather than cleaning in place — a backdoor may have planted additional persistence.
Did it already run?
If tailwindcss-forms-ui was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.
Frequently asked questions
Campaign
References
Credits
- Amazon Inspector · finder
Detect & block this
O3 blocks tailwindcss-forms-ui-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the C2 callback and severs the channel.