Polymarket Hacked via Compromised DebugBear RUM Script

Polymarket Loses $2.7M in Supply Chain Attack via DebugBear

HIGH
October 30, 2026
5m read
Supply Chain AttackCyberattackData Breach

Impact Scope

People Affected

Undisclosed number of Polymarket.com users

Industries Affected

Finance

Related Entities

Organizations

GoPlusArkham

Other

Polymarket DebugBear Malicious JavaScript

Full Report

Executive Summary

On October 29, 2026, the international prediction market Polymarket experienced a significant security incident, resulting in the theft of approximately $2.71 million from user accounts. The attack was a sophisticated supply chain compromise originating from a third-party service provider, DebugBear, a website performance monitoring firm. Attackers injected malicious JavaScript into DebugBear's Real User Monitoring (RUM) script, which was loaded by Polymarket's frontend. This script hijacked active, authenticated user sessions to liquidate positions and exfiltrate funds. Polymarket quickly halted trading, isolated the issue, and has committed to making all affected users whole. The incident highlights the critical risks associated with third-party scripts and the need for robust supply chain security monitoring.

Threat Overview

The attack began when users of Polymarket.com started reporting unauthorized withdrawals from their accounts. The investigation traced the root cause to a malicious update to a JavaScript file served by DebugBear. This script, intended for performance monitoring, was altered to include code that specifically targeted Polymarket users.

  • Attack Vector: The primary vector was a Supply Chain Attack (T1195.001 - Compromise Software Dependencies and Development Tools). The attackers did not breach Polymarket directly but instead compromised one of its upstream dependencies.
  • Mechanism: The malicious script executed within the context of a user's authenticated browser session. It did not steal passwords or private keys. Instead, it used the existing session's authority to interact with the platform's trading functions, selling off user positions and transferring the resulting funds to attacker-controlled wallets.
  • Attribution: The threat actors behind the compromise of DebugBear and the subsequent attack on Polymarket remain unidentified.

Technical Analysis

The attack's sophistication lies in its ability to abuse trust and functionality rather than brute-forcing access. The malicious JavaScript was designed to be stealthy and effective.

  1. Compromise: The attackers first gained access to DebugBear's infrastructure, allowing them to modify the RUM script.
  2. Injection: A malicious payload was prepended or embedded within the legitimate rum.js script.
  3. Execution: When a logged-in Polymarket user loaded the page, their browser fetched and executed the compromised script.
  4. Action on Objectives: The script would detect the active session, access the trading portfolio, and programmatically execute sell orders or transfer tokens. This is a form of session hijacking, leveraging the trust the Polymarket application had in the user's browser session.

MITRE ATT&CK Techniques

Impact Assessment

The direct financial impact was the theft of approximately $2.71 million, as reported by blockchain security firm GoPlus. Polymarket's swift response to halt trading likely prevented further losses. The reputational damage to both Polymarket and DebugBear is significant. For Polymarket, it raises questions about its vendor risk management processes. For DebugBear, it severely undermines the trustworthiness of its service. Polymarket's promise to fully reimburse victims will mitigate some user-facing financial harm but represents a substantial cost to the company.

IOCs — Directly from Articles

No specific file hashes, domains, or IP addresses were mentioned in the source articles.

Cyber Observables — Hunting Hints

The following patterns could indicate related activity:

Type
url_pattern
Value
*/rum.js
Description
The compromised script from DebugBear. Monitoring for unexpected changes is key.
Context
File Integrity Monitoring, Web Proxy Logs
Type
network_traffic_pattern
Value
Outbound connections from client browsers to unexpected crypto wallets/exchanges.
Description
The malicious script would initiate fund transfers.
Context
Network Security Monitoring, EDR
Type
string_pattern
Value
sell_position, transfer_funds
Description
API calls or function names within JavaScript that might be used maliciously.
Context
Source Code Analysis, Dynamic Analysis

Detection & Response

Detecting this type of attack is challenging as it leverages legitimate, trusted channels.

  • Detection: Implementing Subresource Integrity (SRI) is a primary defense. SRI allows a website to verify that a third-party script has not been tampered with by checking its hash. Monitoring for changes in the behavior of third-party scripts, such as new network connections or unexpected DOM manipulation, can also provide signals. D3FEND techniques like D3-WSAA: Web Session Activity Analysis are critical for spotting anomalous in-session behavior.
  • Response: Polymarket's response was appropriate: they quickly identified the issue, halted operations to prevent further damage, removed the compromised dependency, and communicated transparently with users. DebugBear advised all customers to immediately remove the RUM script snippet from their sites.

Mitigation

  • Subresource Integrity (SRI): This is the most direct technical control. Websites should include an integrity attribute in their <script> tags for all third-party resources. This ensures the browser only executes the script if it matches a known, trusted hash.
  • Content Security Policy (CSP): A strict CSP can limit the domains from which scripts can be loaded and to which network requests can be made, potentially blocking the exfiltration step.
  • Vendor Risk Management: Organizations must rigorously vet third-party code and services. This includes reviewing their security practices and having contractual obligations for security incidents.
  • Sandboxing: Where possible, third-party scripts should be run in a sandboxed environment (e.g., an iframe with restricted permissions) to limit their access to the main application's data and functions. This aligns with D3FEND's D3-ACH: Application Configuration Hardening.

Timeline of Events

1
October 29, 2026
Polymarket halts trading on its international platform after a supply chain attack is discovered.
2
October 29, 2026
Trading resumes on Polymarket approximately one hour after the issue was identified and fixed.
3
October 30, 2026
This article was published

MITRE ATT&CK Mitigations

Use Subresource Integrity (SRI) and a strict Content Security Policy (CSP) to prevent loading of or interaction with malicious/compromised scripts.

Isolate third-party scripts in sandboxed environments like iframes to limit their access to sensitive application data and functions.

Implement secure configurations for web applications, including robust session management and monitoring for anomalous API usage.

D3FEND Defensive Countermeasures

To defend against session hijacking attacks like the one targeting Polymarket, organizations should implement robust Web Session Activity Analysis. This involves establishing a baseline of normal user behavior within an authenticated session and alerting on significant deviations. For a trading platform, this could include monitoring the velocity of trades, the size of transfers, or sequences of actions (e.g., rapid liquidation of all assets followed by a transfer to a new, unknown address). By analyzing telemetry from the web application, security teams can detect when a script, rather than a human, is controlling a session. This technique is crucial for catching attacks that don't involve stolen credentials but instead abuse an existing trusted session. Integrating this with automated responses, such as forcing re-authentication for high-risk actions or temporarily freezing an account, can effectively thwart such attacks in real-time.

Application Configuration Hardening is a critical preventative measure against supply chain attacks. In the context of the Polymarket incident, this involves implementing Subresource Integrity (SRI) and a strong Content Security Policy (CSP). SRI should be enforced for all third-party scripts by adding an 'integrity' attribute to the script tag, containing a cryptographic hash of the expected file. This prevents the browser from executing a script if it has been modified. Additionally, a strict CSP should be configured to whitelist trusted domains for scripts (script-src) and network connections (connect-src). This could have prevented the malicious script from being loaded or, failing that, blocked its ability to exfiltrate funds to an attacker-controlled domain. These are not default configurations and require proactive implementation by development and security teams to secure the application's software supply chain at the presentation layer.

Timeline of Events

1
October 29, 2026

Polymarket halts trading on its international platform after a supply chain attack is discovered.

2
October 29, 2026

Trading resumes on Polymarket approximately one hour after the issue was identified and fixed.

Sources & References

Polymarket Halts Trading After Supply Chain Attack Siphons Millions
SecurityWeek (securityweek.com) •October 30, 2026

Article Author

Jason Gomes

Jason Gomes

• Cybersecurity Practitioner

Cybersecurity professional with over 10 years of specialized experience in security operations, threat intelligence, incident response, and security automation. Expertise spans SOAR/XSOAR orchestration, threat intelligence platforms, SIEM/UEBA analytics, and building cyber fusion centers. Background includes technical enablement, solution architecture for enterprise and government clients, and implementing security automation workflows across IR, TIP, and SOC use cases.

Threat Intelligence & AnalysisSecurity Orchestration (SOAR/XSOAR)Incident Response & Digital ForensicsSecurity Operations Center (SOC)SIEM & Security AnalyticsCyber Fusion & Threat SharingSecurity Automation & IntegrationManaged Detection & Response (MDR)

Editorial Standards & Analyst Review

CyberNetSec.io uses automation to assist source monitoring, deduplication, observable extraction, and structured intelligence generation. Published analysis follows human-defined editorial standards and adds defensive context including MITRE ATT&CK, D3FEND, STIX, and Sigma where applicable. Read our editorial policy.

Tags

supply chain attackcryptocurrencysession hijackingjavascriptRUMweb security

📢 Share This Article

Help others stay informed about cybersecurity threats

🎯 MITRE ATT&CK Mapped

Every tactic, technique, and sub-technique used in this threat has been identified and mapped to the MITRE ATT&CK framework for consistent, actionable threat language.

🧠 Enriched & Analyzed

Observables and indicators of compromise (IOCs) have been extracted and cataloged. Risk has been assessed and correlated with known threat actors and historical campaigns.

🛡️ Actionable Guidance

Detection rules, incident response steps, and D3FEND-aligned mitigation strategies are included so your team can act on this intelligence immediately.

🔗 STIX Visualizer

Structured threat data is packaged as a STIX 2.1 bundle and can be visualized as an interactive graph — relationships between actors, malware, techniques, and indicators.

⚡ Sigma Generator

Sigma detection rules are derived from the threat techniques in this article and can be converted for deployment across any major SIEM or EDR platform.