tailwindcss-forms-style@0.1.2
Malicious code in tailwindcss-forms-style (npm)
Analysis
tailwindcss-forms-style is a trojanized clone of the tailwindcss-forms plugin. Its main module src/index.js bundles the legitimate plugin code but appends an obfuscated payload that executes on require. The payload queries Ethereum RPC endpoints (eth[.]blockscout[.]com, 1rpc[.]io/eth, eth[.]drpc[.]org, ethereum-rpc[.]publicnode[.]com, eth-mainnet[.]public[.]blastapi[.]io) to locate a sender transaction for contract 0xa322e5f3d311d3080e6f0121063e9adc2490ef1a, derives a C2 host from the transaction's recipient address, then spawns a detached `node -e` process that connects to that C2 over HTTP and XOR-decodes and executes payloads received in the x-payload-b64 response header. It beacons to hxxp://{c2}:443/0x/cls and /0x/ls, and after running it rewrites its own source file to remove the payload. This is a remote-code-execution proxy-botnet implant that runs whenever the package is imported.
- analyzed by
- Leitwacht
- first seen
- Aug 31, 2026, 06:36 PM
- analyzed
- Aug 31, 2026, 06:37 PM
- weekly installs
- 121
Related advisories
- tailwind-modernanimation@2.3.8
- zenntechinc-cli@1.6.4
- dims-hydration-ui@1.0.0
- hydration-dim-ui@1.0.0
- fetch-page-assets@1.2.13
- @syncraft-labs/core@0.4.1
- @syncraft-labs/vue@0.4.1
- spf-analytics@1.0.0
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.