Return to Threats

Hackers Steal About $2.7 Million From Polymarket Traders via Hijacked DebugBear Script

thehackernews.com 2026-11-01 AI supply chain Critical

Executive Summary

Attackers reportedly compromised an external script loaded by Polymarket and used it to trigger unauthorized sales and fund transfers from signed-in traders. Teams operating AI agents or LLM applications should care because similar third-party script or dependency compromises could manipulate agent-facing web workflows or connected transactions.

What Happened

Malicious code on the website of prediction market Polymarket sold some signed-in traders' positions and moved their funds to the hackers on October 29. The code had replaced a page-speed script that the site loaded from an outside company. Polymarket says it is refunding about $2.7 million to 726 affected wallets. Blockchain records show crypto worth about $2.64 million reached

Affected Products

  • Polymarket
  • DebugBear script

Vulnerability / Attack Technique

Third-party script supply-chain compromise

Technical Mechanism

The article says malicious code replaced a page-speed script that Polymarket loaded from an outside company. The code acted on some signed-in traders' positions, sold them, and moved the resulting funds to the attackers.

AI Security Category

Not AI-specific

Relevant Frameworks

LLM03:2025 Supply Chain

RealGround Analysis

Although no AI component is identified, the incident is relevant to AI-agent teams because externally hosted code and dependencies can influence authenticated application behavior. Agents with access to financial or transactional systems should be designed so that a compromised client-side dependency cannot independently authorize high-impact actions.

Recommended Controls

  • Inventory and monitor all third-party scripts, packages, and hosted dependencies used by agent-connected applications.
  • Pin dependency versions and verify integrity with cryptographic hashes or signatures before deployment.
  • Require explicit server-side authorization and step-up confirmation for trades, fund transfers, and other irreversible actions.
  • Apply least-privilege credentials and transaction limits to automated agents and browser sessions.
  • Use continuous monitoring and alerting for anomalous position sales, wallet activity, and changes to externally hosted resources.

Related RealGround Service

AI Agent SBOM and LLM Mapping · or start with the free AI Agent Security Scanner.

Sources

thehackernews.com: https://thehackernews.com/2026/11/hackers-steal-about-27-million-from.html

Summary and analysis written by RealGround from the source above; last updated 2026-11-01.

Talk to AI CISO