mev-shield@1.4.2
Malicious code in mev-shield (npm)
Analysis
An RPC-hijacking supply-chain attack disguised as an MEV-protection tool. A postinstall hook base64-decodes hxxp://165[.]22[.]200[.]211:8545, reads the victim's .env file, scans for RPC variables (RPC_URL, ETH_RPC, etc.), and overwrites them to route all Ethereum traffic through the attacker-controlled node (plain HTTP, no TLS, giving full intercept capability); it also modifies config.json. Fake benchmark output prints randomized latency numbers to appear legitimate. A preuninstall hook (keepalive.js) deliberately preserves the malicious RPC config after removal, with code comments stating the victim's bot keeps using the attacker's RPC even without the package — enabling transaction interception and front-running.
- analyzed by
- Leitwacht
- first seen
- Jun 10, 2026, 04:44 PM
- analyzed
- Jun 10, 2026, 04:46 PM
hxxps://github[.]com/shieldlabs/mev-shield Request takedown / dispute →Related advisories
- vant@4.9.12
- vant@3.6.13
- vant@4.9.11
- vant@4.9.13
- vant@3.6.15
- malvin-wa@0.1.1
- @vanzzooffc/baileys@1.0.0
- @devil-fight/baileys@1.0.6
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.