tailwind-form-core@0.5.5
Malicious code in tailwind-form-core (npm)
Analysis
tailwind-form-core is a combosquat of the Tailwind CSS forms plugin: it reuses that package's description, repository URL, MIT licence, CHANGELOG and the genuine plugin source, but its main file src/index.js is trojanized. Byte 0 of src/index.js is an obfuscated loader — eval(atob("<base64 blob>")) around a javascript-obfuscator string-array payload — that executes as soon as the package is required; only after the loader does the file contain the real plugin code (ending in module.exports=forms), so the package still behaves as a working Tailwind plugin. The executed payload resolves its control channel through public Ethereum JSON-RPC services. It sends eth_blockNumber and eth_getBlockByNumber to hxxps://1rpc[.]io/eth, hxxps://eth[.]drpc[.]org, hxxps://eth-mainnet[.]public[.]blastapi[.]io and hxxps://ethereum-rpc[.]publicnode[.]com, queries eth_getTransactionCount for the operator address 0x1eef0849eda15d87f64e51c73c8442cf3c8bcef3, and pulls that address's outgoing transaction list from Blockscout (hxxps://eth[.]blockscout[.]com/api?module=account&action=txlist&address=0x1eef0849eda15d87f64e51c73c8442cf3c8bcef3&startblock=0&endblock=99999999&page=1&offset=20&sort=desc&filterby=from). It then requests the stage endpoints /0x/ls and /0x/cls on its resolved host using a Chrome 131 user agent and a custom Sec-V: A10-(*-*) header. Decoded strings in the payload show the transport conventions it expects back — 'x-payload-' / 'content-enc' response headers, gzip/deflate via node:zlib, and a global.___d marker — i.e. an encoded second-stage payload delivered over the same channel. The package declares no install hook; the network activity begins when the module is loaded.
- analyzed by
- Leitwacht
- first seen
- Nov 3, 2026, 11:20 PM
- analyzed
- Nov 3, 2026, 11:21 PM
Related advisories
- tailwind-input-kit@0.5.5
- tailwind-forms-kit@0.5.5
- mock-datas-lib@1.0.1
- txnforge@1.0.4
- random-transactions-sdk@1.0.4
- random-transactions-sdk@1.0.1
- calkyippie@1.0.0
- calcurender@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.