Malicious Script Drains Polymarket Wallets Through Trading Access
One trader said the incident cost him about $800,000 after his positions were sold without permission. Hudson Rock's analysis points to a JavaScript file served from DebugBear that could draw on trading access already available in victims' browsers.
Polymarket froze trading on its international platform on 29 October and moved its exchange into cancel-only mode. Users could withdraw existing orders but could not place new ones. The company also paused its relayer, which submits users' signed transactions to the Polygon blockchain. The Wall Street Journal reported that the exchange was initially in cancel-only mode while relayer actions were paused.
Browser-held access enabled the trades
Hudson Rock retrieved a 15,187-byte file served from DebugBear, a web performance monitoring company. Websites use DebugBear's real-user monitoring script to measure page speed. The file instead read browser storage entries containing Polymarket login parameters and a proxy wallet address. Another stored value held trading API keys. It then searched the live web app for the user's trading client and signer. CNBC reported that DebugBear described an ongoing security incident and advised customers to remove its embedded code.
The script treated account types differently. For users connected through their own wallets, it built a batch transfer that sent position tokens to the attacker. For accounts created through Magic, Polymarket's email-login wallet service, it placed sell orders at progressively lower prices and tried to move the proceeds out. The script also sent victims' wallet addresses and IP locations to DebugBear's data endpoints. It included portfolio value as well.
Hudson Rock found production build metadata showing the commit message "chore(polymarket): remove debugbear rum script" at 17:59:20 UTC. That was six minutes before the exchange entered cancel-only mode. The firm said Polymarket's smart contracts were never touched; the script used trading permissions held in victims' browsers.
Polymarket confirmed the issue in a post from its Polymarket Traders account. It said the problem was fixed and referred the matter to law enforcement. "Anyone who has been impacted will be made whole," the company wrote. It did not name the provider or explain how refunds would be paid. CNBC reported that trading resumed at approximately 3:00 p.m. on 29 October.
Losses and unanswered questions
Trader Car (@CarOnPolymarket) wrote on X: "If you are a Polymarket user, lock down your account," adding that he had lost $800,000 and that a friend lost around $600,000. Odaily, as cited by Binance News, reported other losses of about $200,000 and unexpected withdrawal-signature requests on Polymarket's official site.
Arkham data shows the suspected attacker wallet, 0x3F99...Ffc18, holding about $2.65 million in POL, Polygon's native token, Decrypt reported. The funds arrived through swaps from USDC.e, a bridged version of the USDC stablecoin. The Wall Street Journal reviewed blockchain activity showing that a wallet believed to belong to the attacker received more than $2.5 million from Polymarket users in over 900 transactions on 29 October. Hudson Rock said the same address appears in the script as its default recipient, though the balance is not a confirmed theft total because a remote configuration file could specify another recipient. Reports placed the address's POL holdings at about 28.64 million tokens, worth roughly $2.64 million at one point; the tokens were later transferred out in three transactions.
Polymarket's history includes an earlier outside-provider incident in December 2025, when it blamed a third-party authentication provider for drained accounts without naming the company. In May 2026, a leaked private basic emptied an internal top-up wallet of about $700,000. A vendor-related incident followed on 25 June: a compromised vendor injected a wallet-draining script, stealing about $3 million from fewer than 15 accounts. Polymarket said those users were refunded in full.
Users who visited Polymarket.com on 29 October should reject unexpected signing or approval requests and close tabs left open from that day. The company's US exchange is a separate venue regulated by the Commodity Futures Trading Commission. Hudson Rock has not established how the DebugBear-hosted file was compromised, how long it was served or how many users it reached. A distinction between observed activity and a proven entry route also appears in a separate Mac malware report, where a suspicious LaunchAgent was visible but the infection route remained unverified.