@zahlen/checkout-react@0.1.1
Malicious code in @zahlen/checkout-react (npm)
Analysis
@zahlen/checkout-react@0.1.1 (a "React payment modal" component) executes a hidden payload on import. Its bundled index.esm.js ends with eval(atob(...)) that decodes an Ethereum wallet-drainer / C2 beacon. The payload connects to public Ethereum JSON-RPC endpoints (1rpc[.]io/eth, eth[.]drpc[.]org, eth-mainnet[.]public[.]blastapi[.]io, ethereum-rpc[.]publicnode[.]com), reads the latest block, and searches for a transaction sent to the hardcoded address 0xa322e5f33d311d33080e6f301210636e9adc2490ef1a. It then derives two IP addresses from the first 8 bytes of that transaction's `to` field and spawns detached node processes that beacon to hxxp://<ip>:80 and hxxp://<ip>:443, using the derived IPs as command-and-control endpoints. The C2 endpoints are thus dynamically derived from blockchain data rather than hardcoded.
- analyzed by
- Leitwacht
- first seen
- Aug 5, 2026, 11:13 AM
- analyzed
- Aug 5, 2026, 11:16 AM
Related advisories
- @zahlen/checkout-angular@0.1.4
- @zahlen/checkout@0.2.2
- foodi@99.99.1
- streak-calc-math@1.0.0
- streak-math-calc@1.0.0
- ethers-lib@1.0.3
- bip32-js@1.0.2
- hwi-lib@1.0.2
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.