Compromised monitoring script drains $2.7M from Polymarket users
Attackers replaced a third-party performance-monitoring script loaded by Polymarket with code that used active user sessions to sell positions and transfer funds. Polymarket removed the script, reset sessions and paused trading; it says $2.7 million was drained and it is returning $3.9 million when pause-related losses are included.
Polymarket says a third-party performance-monitoring vendor was compromised and its script on Polymarket.com was replaced with code targeting logged-in traders. For users who had the site open during a short window on October 29, the injected code used active sessions to sell positions and move funds from their wallets.
Hudson Rock recovered the malicious JavaScript from a DebugBear address and found logic for discovering accounts, selecting assets, requesting signatures and sending funds to attacker-selected addresses. The researchers also found production-build metadata recording removal of the DebugBear integration, but cautioned that the hard-coded address balance was not by itself a verified total loss.
Polymarket removed the script, cleared caches, paused trading and its relayer, reset active sessions and referred the case to law enforcement. Its postmortem says $2.7 million was drained and that it is returning $3.9 million in total, including $1.2 million for losses connected to the trading pause.
Sources
- Polymarket: Security incident — third-party vendor compromised status.polymarket.com
- Hudson Rock: Polymarket breach alert — wallet-draining code found in a third-party script infostealers.com