LWA-2026-13615 confirmed malware

tailwindcss-hook-forms@0.5.2

Malicious code in tailwindcss-hook-forms (npm)

T1195.002 · Compromise Software Supply ChainT1027 · Obfuscated Files or InformationT1059.007 · JavaScriptT1071.001 · Web ProtocolsT1102 · Web ServiceT1573 · Encrypted Channel

Analysis

tailwindcss-hook-forms impersonates @tailwindcss/forms: the tarball ships the genuine plugin source verbatim (same README, CHANGELOG, LICENSE, GitHub workflows, description, and "author: @tailwindcss" / tailwindlabs repository fields) with an added hidden loader planted at the top of src/index.js. The loader is a pair of custom string-permutation decoders (spin/splitLane/peel driven by two numeric key arrays) that reconstruct the strings "global", "require" and "module" at runtime, recover the Function constructor, evaluate a ~5KB scrambled source blob through it, and assign the decoded result onto the Node global object — so the hidden stage is installed as soon as the module is required (Tailwind configs require it as a plugin). Roughly 25KB of the file is loader and scrambled payload versus ~7KB of legitimate plugin code. The same decoder and payload family in the sibling packages tailwind-forms-kit@0.5.5 and tailwind-contact-forms@0.5.8 resolves into a stage that queries public Ethereum JSON-RPC endpoints — eth_blockNumber, eth_getBlockByNumber, eth_getTransactionCount — against hxxps://1rpc[.]io/eth, hxxps://eth[.]drpc[.]org, hxxps://ethereum-rpc[.]publicnode[.]com and hxxps://eth-mainnet[.]public[.]blastapi[.]io, looks up transaction history for address 0x1eef0849eda15d87f64e51c73c8442cf3c8bcef3 via hxxps://eth[.]blockscout[.]com/api?module=account&action=txlist, and sends beacon requests to the paths /0x/cls and /0x/ls carrying a "Sec-V: A10-(*-*)" header. Chain data is used as a resolution channel so no conventional command-and-control host appears in the package metadata. Related packages from the same campaign: tailwind-forms-kit@0.5.5, tailwindcss-form-utils@0.5.9, tailwind-contact-forms@0.5.8.

analyzed by
Leitwacht
first seen
Nov 3, 2026, 11:50 PM
analyzed
Nov 3, 2026, 11:51 PM

Related advisories

browse all confirmed advisories →

Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.