react-contact-forms@0.5.2
Malicious code in react-contact-forms (npm)
Analysis
react-contact-forms@0.5.2 is a trojanized clone of tailwindcss-forms: it borrows the upstream project's description, repository, license and dependencies, but its main file src/index.js is prefixed with an obfuscated loader — eval(atob("...")) decoding a javascript-obfuscator string array (`_0x237d6a` / `_0x5c1d` / `_0xa42d`) — followed by the genuine minified forms plugin so that importing the package still appears to work. When the main entry is required, the loader resolves its next stage from the Ethereum blockchain instead of a hardcoded server: it POSTs {"jsonrpc":"2.0","id":1,"method":"eth_blockNumber"} then eth_getBlockByNumber to hxxps://eth[.]drpc[.]org/, hxxps://eth-mainnet[.]public[.]blastapi[.]io/, hxxps://ethereum-rpc[.]publicnode[.]com/ and hxxps://1rpc[.]io/eth, and queries hxxps://eth[.]blockscout[.]com/api?module=account&action=txlist&address=0x1eef0849eda15d87f64e51c73c8442cf3c8bcef3&startblock=0&endblock=99999999&page=1&offset=20&sort=desc&filterby=from. Decoded strings in the payload include the on-chain address 0x1eef0849eda15d87f64e51c73c8442cf3c8bcef3, 'x-payload-', 'Payload-B6', 'Sec-V', 'createGunz', 'deflate', 'RPC batch:' and a Chrome/131 browser User-Agent, showing the fetched on-chain data is inflated into the next stage. There is no install hook, so execution begins whenever the package is required or bundled. IOC hosts: eth[.]drpc[.]org, eth-mainnet[.]public[.]blastapi[.]io, ethereum-rpc[.]publicnode[.]com, 1rpc[.]io, eth[.]blockscout[.]com. IOC address: 0x1eef0849eda15d87f64e51c73c8442cf3c8bcef3.
- analyzed by
- Leitwacht
- first seen
- Nov 3, 2026, 11:35 PM
- analyzed
- Nov 3, 2026, 11:38 PM
Related advisories
- tailwind-form-core@0.5.5
- tailwind-input-kit@0.5.5
- tailwind-forms-kit@0.5.5
- tailwind-contact-forms@0.5.8
- @atedone/workspace-context@0.0.24
- @atedone/workspace-context@0.0.12
- ai-persona-sdk@1.0.0
- character-ai-sdk@1.0.1
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.