MAL-2026-16195
Malicious code in tailwind-forms-styles (npm)
Details
--- _-= Per source details. Do not edit below this line.=-_
## Source: amazon-inspector (92f06c2ce29f04ce06cfb494996cb6ffde7aea02af92489abcacf10cbcb7beb2) tailwind-forms-styles ships a src/index.js that is fully obfuscated with obfuscator.io (rotated 303-entry string array, hex-named identifiers, control-flow flattening) and bears no relation to the Tailwind forms plugin advertised in the README and src/index.d.ts. On require() the module opens HTTP(S)/zlib streams to Ethereum RPC endpoints (public.blockscout, *.drpc.org, *.publicnode.com) and an etherscan-like transaction indexer, queries transactions for the hardcoded address 0xa322E5f3D311D3080e9aDC2490Ef6f0121063e1a, imports node:child_process spawn, and injects reconstructed strings into the Node global object (`_t_u`, `_t_s`, `_H`, `_H2`, `_r`=require, `_m`=module, `_global`=global). This is an EtherHiding-style loader that pulls executable payload data from attacker-controlled on-chain storage and hands it to child_process/global-eval sinks, producing arbitrary code execution on the machine that requires the package (e.g. from tailwind.config.js during a build). The package name and the package.json repository field pointing at tailwindlabs/tailwindcss-forms are impersonation of the real @tailwindcss/forms plugin to induce installation.
## Source: ghsa-malware (3394e75d27307e27ab0fed8e037bc3f0c8b3b1e4bd7808c78f3f9c88212383fc) 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.
Are you affected?
Enter the version of the package you're using.
Affected packages
0No fixed version published yet for tailwind-forms-styles (npm). Pin to a known-safe version or switch to an alternative.