Article

Hijacked Page-Speed Script Drained About $2.7 Million From Polymarket Traders

Prediction market Polymarket says it is refunding about $2.7 million to 726 wallets after malicious code ran on its website on October 29. The code replaced a real user monitoring (RUM) script from DebugBear, a service that measures how quickly pages load for real visitors. DebugBear said its DNS records were compromised through its domain registrar and that early findings point to a single targeted customer site.

Researchers at Hudson Rock found the script did not steal passwords or private keys. Instead, it reused the session of traders who were already signed in, located the site’s ordering component and signer, and either moved positions straight to the attackers or sold them at worsening prices before withdrawing the money. Blockchain tracing by Ohey shows the attackers’ wallet received funds between 17:10 and 18:02 UTC.

Polymarket says it removed the script within the hour, cleared caches, reset all active sessions, paused trading and referred the case to law enforcement. Including payments for losses during the pause, it is returning $3.9 million to traders. DebugBear told RUM customers to remove its embed code.

Why it matters for your business

Every outside script on your site runs with your visitors’ trust. Remove ones you don’t need from login and checkout pages, and use Subresource Integrity and a strict Content Security Policy for the rest.

Source: The Hacker News

Book a Free Consultation

Want to talk this through?

Book a short free consultation and we can look at your situation together.