LWA-2026-6170 MAL-2026-10497 ↗ confirmed malware

ddok-modal@1.0.0

Malicious code in ddok-modal (npm)

T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScriptT1082 · System Information DiscoveryT1056.001 · KeyloggingT1071.001 · Web ProtocolsT1102 · Web ServiceT1041 · Exfiltration Over C2 ChannelT1567 · Exfiltration Over Web Service

Analysis

ddok-modal@1.0.0 is a trojanized React component posing as a wallet-connection modal (supporting MetaMask, Phantom, Rabby etc.). When imported by an application, it: (1) fetches the victim's public IP from api[.]ipify[.]org and geolocation from ipapi[.]co; (2) establishes a WebSocket to wss://api[.]wagmiwallet[.]org; (3) presents fake "forgot password" modals that capture every keystroke (each character sent individually as key_type 'cha', Enter presses sent as key_type 'enter'); (4) exfiltrates captured keystrokes, IP, and geolocation redundantly — via HTTP POST to hxxps://api[.]wagmiwallet[.]org/api/keys and via Socket[.]io events (emit 'insertKey') to the same WebSocket server. It also listens for a 'showMacModal' socket event from the server to trigger additional phishing modals. C2 infrastructure: wagmirequest.la, api[.]wagmiwallet[.]org (HTTPS and WSS), www.riveanimation.cards.

analyzed by
Leitwacht
first seen
Jun 30, 2026, 10:13 AM
analyzed
Jun 30, 2026, 10:14 AM

Related advisories

browse all confirmed advisories →

Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.