tailwind-form-kitnpm
Advisory published Updated
tailwind-form-kit is a confirmed malicious npm package (MAL-2026-16139) that typosquats a legitimate package to trick installs (malicious versions 0.5.1, 0.6.2, 0.6.3…). Do not install it — remove it immediately and rotate any exposed credentials.
Malicious code in tailwind-form-kit (npm)
What this malware does
The package presents itself as a Tailwind CSS forms plugin but its main entry src/index.js is a heavily obfuscated module (obfuscator.io-style rotating string array with 303 entries, hex identifiers, control-flow dispatchers) that on require/import dynamically loads node:http, node:https, node:zlib, and node:child_process via createRequire and stashes them on the global object. On module load it issues POST requests carrying a custom x-payload-* header and a spoofed Chrome/Windows User-Agent to a hardcoded blockchain indexer (etherscan/blockscout-style) and to public Ethereum RPC providers (publicnode.com, drpc.org, 1rpc.io, eth-mainnet), reading process.env.ETH_RPC_URL to augment the RPC list, and references a hardcoded Ethereum sender address. None of this behavior is disclosed and none of it corresponds to a Tailwind CSS forms plugin; the repository field also impersonates tailwindlabs. The combination of heavy obfuscation, dynamic-require caching on global, spawn availability, and unsolicited outbound blockchain network I/O at library-load is a covert import-time channel unrelated to the advertised purpose.
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.
Malicious versions
Indicators of compromise (SHA-256)
Detection & response playbook
TyposquatFind it
Search your lockfiles and build artifacts for tailwind-form-kit (5 malicious versions).
If you installed it — respond
tailwind-form-kit is a typosquat — you almost certainly intended a legitimately-named package. Remove tailwind-form-kit, install the correct package, and rotate any secrets exposed during the install since post-install scripts may have already run.
Did it already run?
If tailwind-form-kit 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 tailwind-form-kit-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the malicious outbound activity and severs the channel.