Polymarket Refunds $3.9 M After Hack Exploits Third‑Party Performance Script
What Happened — On October 29, 2023 the cryptocurrency‑based prediction‑market platform Polymarket suffered a website outage that was later traced to a supply‑chain compromise of its third‑party performance‑monitoring vendor, DebugBear. Threat‑intelligence firm Hudson Rock identified a malicious “wallet‑draining” script that had been injected into the JavaScript bundle served to Polymarket’s public site. The script intercepted active user sessions, programmatically sold open positions and transferred the proceeds to an attacker‑controlled wallet. Because the code ran in the browser while users were logged in, only wallets that were active during a brief window were affected.
Polymarket’s post‑mortem confirms that the attacker replaced the legitimate DebugBear script with a custom payload designed to discover accounts, select assets, and move funds. The company responded by immediately removing the compromised script, pausing all trading, and forcing a reset of every active login session. It then redeployed a hardened version of the vendor’s script, adding “additional integrity controls and continuous monitoring and verification.”
To remediate the financial loss, Polymarket pledged to return a total of $3.9 million to affected users. $2.7 million will cover the principal stolen from wallets, while an additional $1.2 million compensates for losses incurred during the hours‑long platform shutdown. The firm said it identified eligible wallets directly from on‑chain and trading data, so no claim tickets are required. As of the Saturday following the breach, 95 % of the affected wallets had been fully refunded.
Polymarket has not disclosed the exact number of victims, stating only that it will work with anyone who believes the calculation is incorrect. The company has reported the incident to law‑enforcement agencies and launched its own investigation into the threat actor.
DebugBear, the performance‑monitoring provider, issued a follow‑up statement indicating that the compromise appears to have originated through its domain registrar. The vendor reported that it could not receive emails sent to its domain at the time of the attack and that there is no evidence of a breach of its internal systems. DebugBear continues to investigate the root cause of the registrar compromise.
Industry observers note that the incident underscores the risk of third‑party script injection—a classic supply‑chain attack vector that can bypass traditional perimeter defenses. Because the malicious code executed in the context of legitimate user sessions, standard web‑application firewalls and endpoint protections were ineffective.
Polymarket’s response includes a suite of new safeguards: integrity‑checking of third‑party assets before deployment, continuous runtime monitoring of script behavior, and mandatory session invalidation after any vendor change. These steps aim to restore confidence in the platform’s control environment and demonstrate a commitment to stronger vendor oversight.
Why It Matters for Trust & Control Assurance — The breach tests the control objective of third‑party risk management and continuous monitoring of vendor‑supplied code, a single control that maps to many frameworks (e.g., NIST CSF 2.0, ISO 27001).
Who Is Affected — Cryptocurrency exchanges, prediction‑market platforms, any web‑based service that incorporates third‑party scripts or SDKs.
Recommended Actions
- Inventory all third‑party scripts and libraries used in production, and enforce integrity‑verification (hash‑based or signed) before deployment.
- Implement continuous runtime monitoring that can detect anomalous outbound transactions or unexpected code paths.
- Update vendor‑risk policies to require evidence of secure software‑development lifecycle (SDLC) practices and incident‑response capabilities.
Source: The Record
Technical Notes
- Attack vector: malicious JavaScript injected via compromised DebugBear performance‑monitoring script.
- No CVE was disclosed; the vulnerability lay in the supply‑chain delivery of third‑party code.
- Data compromised: cryptocurrency wallet private keys were not stolen; instead, the attacker leveraged active sessions to move funds.
- Affected assets: user‑held prediction‑market positions and associated token balances.
Source: The Record