Polymarket $2.7 Million Heist Explained: How a Hijacked Speed-Tracking Script Drained Traders’ Wallets

Quick Answer

On October 29, 2026, attackers replaced a legitimate website speed-monitoring script on the prediction market Polymarket with malicious code. The code ran inside the browsers of signed-in traders, used their own logged-in sessions to sell or transfer their positions, and moved roughly $2.7 million to attacker-controlled wallets in under an hour. Polymarket says it is refunding about $2.7 million to 726 affected wallets, plus a further $1.19 million to traders who lost money during the trading pause, for a total of about $3.9 million returned. No claim form is needed for the main refunds, but traders should still review their wallets, revoke suspicious approvals, and treat any unexpected signing request as a red flag.

Introduction

Most people worry about hackers breaking into a website’s servers or stealing a password database. The Polymarket incident is a reminder of a quieter and arguably more dangerous route: the attacker never needed to break into Polymarket’s own core systems at all. Instead, they compromised something Polymarket trusted — a small piece of code loaded from an outside company that measured how fast pages loaded.

That single swap turned an ordinary visit to a well-known trading site into a theft machine. Anyone who happened to be signed in and browsing Polymarket during a short window on October 29 could have had their positions sold or transferred without ever typing a password, clicking a phishing link, or downloading anything. This is what security professionals call a supply-chain attack, and it is one of the hardest kinds of attack for an ordinary user to spot, because everything looks normal: the right website, the right address bar, the right login session.

This article explains, in plain language, what happened on October 29, how the malicious script abused a signed-in browser session, who was affected, what Polymarket has done about refunds, and — most importantly — what traders and website owners should change after this incident.

What Actually Happened on October 29

Polymarket is a prediction market: users trade positions on the outcomes of real-world events, from elections to sports results. Like most modern websites, it loads several third-party scripts — small programs written by other companies that add features such as analytics, chat support, or performance measurement.

One of those scripts came from DebugBear, a company whose real user monitoring tool measures how quickly pages load for real visitors. That is a routine, boring, and entirely legitimate function. It is exactly the kind of script that nobody thinks twice about.

According to reports published on November 1, 2026, attackers compromised DebugBear’s DNS records through its domain registrar. In simple terms, they managed to redirect the address that browsers used to fetch the DebugBear script, so that instead of the genuine speed-monitoring file, visitors received a malicious replacement. Researchers later found that a different server was answering for DebugBear’s web addresses while the malicious file was still live, whereas earlier that day the genuine script had been served from cloud storage.

The window of damage was short but intense. The attacker-controlled wallet received its first funds at 17:10 UTC and its last at 18:02 UTC — less than an hour. Blockchain traces show it collected about 28.6 million POL tokens and positions from 33 wallets in that period, worth roughly $2.64 million at the time, with the total loss later put at about $2.7 million across 726 affected wallets. Between 18:28 and 18:38 UTC, the stolen tokens were forwarded to three other addresses.

Polymarket’s own response was fast once the activity was spotted. It posted its first status update about unauthorized activity at 17:38 UTC, put the exchange into cancel-only mode with relayer actions paused at 18:05 UTC, removed the script within the hour, cleared caches, reset all active login sessions, and paused trading until the site was confirmed clean. The case has been referred to law enforcement.

How a Speed Script Became a Theft Tool

To understand why this attack worked, it helps to understand what a third-party script actually is. When you open a website, your browser does not only download that site’s own code. It also downloads code from every outside service the site has chosen to embed. That code runs with the same privileges as the site itself on that page. If one of those outside files is swapped for a malicious version, the malicious code effectively becomes part of the trusted site in your browser.

That is the key insight here. The attackers did not need your password, your seed phrase, or your private key — and researchers who examined the malicious file found no code that sent those secrets to an attacker server. Instead, the code did something subtler: it piggybacked on the access you had already granted by signing in.

Here is the sequence, step by step:

  1. A signed-in trader opens Polymarket. Their browser loads the page, including the swapped DebugBear script.
  2. The malicious code reads account details stored in the browser, including a set of trading API keys. On their own, those keys cannot place an order, because orders also require a wallet signature.
  3. The code locates the part of Polymarket’s own page that places orders, and the signer that approves the account’s transactions. It then asks that signer to approve its own requests.
  4. The requests are handed to Polymarket’s relayer, the component that submits transactions on the user’s behalf, so they look like legitimate trading activity.

From there, the code took one of two paths depending on how the trader had signed in. For accounts connected with their own crypto wallet, it moved positions directly to the attacker’s wallet. For accounts that signed in via email, it sold positions at progressively worse prices and then moved the proceeds out. Either way, the victim’s own session did the work.

One important nuance deserves emphasis: a signing request, on its own, does not prove that a trader approved something blindly. Wallet software may still show a prompt, refuse the request, or apply its own session rules. That is why the practical advice in this incident is so specific — reject any signing request you did not expect, even if it appears on a website you trust.

Why This Attack Is Different From a Normal Hack

Supply-chain attacks feel unfair because they break the usual safety advice. Victims did not fall for a phishing email. They did not install a fake app. They did not reuse a weak password. They visited the correct site, at the correct address, while signed in exactly as they were supposed to be.

Three features make this kind of attack especially dangerous:

Trust is inherited, not earned. A website’s reputation extends automatically to every script it loads. Visitors have no practical way to audit each third-party file on every page they open, and browsers offer no warning when a familiar script changes behind the scenes.

The blast radius is set by the supplier, not the victim. A single compromised supplier can affect every customer site that loads its script. In this case, DebugBear’s early findings indicate the attack targeted one customer’s website — Polymarket’s copy of the script was the one swapped — but the same technique could, in principle, reach many sites at once.

The damage window can be tiny. Under an hour was enough here to move millions of dollars. Traditional incident response — detect, investigate, confirm, then act — struggles against theft that completes in minutes. Speed of containment matters more than completeness of understanding in the first hour, which is why Polymarket’s quick move to cancel-only mode and session resets mattered.

Who Was Affected and What About Refunds?

Polymarket says about 726 wallets were affected, with total losses of about $2.7 million. By October 30, 689 of those wallets had been refunded in full, with the remaining 37 being paid as they were verified. Separately, Polymarket is paying $1.19 million to roughly 5,500 wallets that lost money during the trading pause or had positions affected by it. Combined, the company is returning about $3.9 million to traders.

Traders do not need to file a claim for the main refunds. Polymarket’s status page links a form for anyone who believes their refund amount is wrong or that they should have received a payment but did not. If you traded on Polymarket on October 29, check your wallet and position history against the refund, and use that form if the numbers do not match — but be wary of copycat forms. Only use links from Polymarket’s own status page or official channels, never from a random message, email, or social media reply offering to “help” with your refund. Refund scams routinely follow real incidents like this one.

It is also worth stating plainly what has not been claimed. DebugBear has said it has seen no sign of a break-in to its own systems, though its investigation is ongoing, and its early findings point to the DNS compromise through its registrar. The full technical picture — exactly how the registrar account was compromised, and whether any other customer was touched — may still change as the investigation continues.

What Traders Should Do Now

If you use Polymarket or any crypto trading site, treat this incident as a checklist, not just a news story:

1. Review your wallet and positions

Check your Polymarket positions and wallet history around October 29, especially between 17:00 and 19:00 UTC. If you were refunded, confirm the amount matches what you lost. If anything looks wrong, raise it through Polymarket’s official status-page form.

2. Revoke approvals you do not recognise

Open your wallet’s connected-sites and token-approval settings. Disconnect sessions you no longer use, and revoke spending approvals for contracts you do not recognise. This is good hygiene after any incident, not just this one.

3. Never approve a signing request you did not initiate

This is the single most important habit the incident teaches. If a prompt appears asking you to sign a transaction, a message, or an order you did not start — on any site, including one you trust — stop and reject it. Close the tab, reopen the site fresh, and check whether the request reappears. Attackers rely on people clicking “approve” out of habit.

4. Separate trading funds from long-term holdings

Keep only the funds you actively trade in a hot wallet connected to trading sites. Long-term holdings belong in a separate wallet that is never connected to a trading page. That way, even a compromised session cannot reach everything you own.

5. Watch for refund scams

Expect phishing messages pretending to be Polymarket support, refund agents, or wallet security teams. Polymarket is not asking victims to connect a wallet to a new site, share a seed phrase, or pay a fee to unlock a refund. Anyone who asks for those things is a scammer.

What Website Owners Must Learn From This

For anyone who runs a website — from a solo blog to a trading platform — this incident is a warning about third-party code on sensitive pages:

Keep unneeded third-party code off pages where users trade, pay, or sign. Analytics and speed tools are useful, but they do not need to run on checkout, trading, or account pages. Every script on a sensitive page is a potential attacker foothold.

Pin third-party files with Subresource Integrity (SRI) wherever possible. SRI lets the browser reject a file if its contents change from the expected version. A security policy that merely allows a trusted content delivery network does not check the files that network actually serves — which is exactly the gap exploited here.

Audit what code on a signed-in page can ask the signer to do. If a page can request wallet signatures, every script on that page can potentially trigger those requests. Map that capability explicitly, and treat any script with access to it as security-critical.

Have a kill switch ready. Polymarket’s fast move to cancel-only mode, session resets, and cache clearing limited the damage. Website owners should rehearse the same: how quickly can you remove a third-party script, invalidate sessions, and pause sensitive actions if a supplier is compromised?

Monitor supplier infrastructure, not just your own. DNS changes, registrar account activity, and content delivery configuration for your suppliers are part of your security perimeter, even though you do not control them directly. Ask suppliers what protections they have on those accounts — hardware security keys, registry locks, and change alerts are the basics.

The Bigger Picture: Third-Party Trust Is the Web’s Weakest Link

The Polymarket heist joins a long line of supply-chain incidents in which the weakest link was not the victim’s password or the target’s servers, but a trusted intermediary. Similar patterns have appeared in compromised analytics scripts, hijacked advertising code, and tampered software updates. The common thread is always the same: modern websites are assembled from dozens of outside components, and users implicitly trust all of them.

Regulators, browsers, and platform owners are slowly responding — with stricter script integrity checks, clearer permission models, and better tooling for monitoring third-party code. But those changes take time to reach every site. Until then, the practical defence is layered: website owners must minimise and pin third-party code on sensitive pages, and users must treat unexpected signing prompts as hostile until proven otherwise.

The encouraging part of this story is the refund. Full repayment for hundreds of wallets, plus compensation for pause-related losses, is far from guaranteed after a crypto theft, and Polymarket’s response sets a useful precedent. But refunds should not be the plan. The plan should be making the next swapped script harmless — by ensuring it cannot silently borrow a signed-in user’s authority in the first place.

Frequently Asked Questions

Did Polymarket itself get hacked?

Not in the traditional sense of its core servers being breached. The malicious code replaced a third-party DebugBear script that Polymarket loaded on its pages, after DebugBear’s DNS records were compromised through its domain registrar. The attack ran inside visitors’ browsers on Polymarket’s own site, which is why it was so effective.

Did the attackers steal passwords, seed phrases, or private keys?

According to researchers who examined the malicious file, no. The code did not send keys, passwords, seed phrases, or private keys to an attacker server. It abused the victim’s already-signed-in session and wallet signer to place orders and transfers that looked legitimate.

How much money was stolen, and how many people were affected?

About $2.7 million was taken from 726 affected wallets. Blockchain traces show about $2.64 million in POL tokens reaching the attacker wallet in under an hour, plus positions that add to the total loss figure.

Am I affected if I was not signed in on October 29?

Almost certainly not by this specific attack. The malicious code needed an active signed-in session to abuse. If you were not signed in to Polymarket during the window, it had no session to hijack. Still, check your wallet history if you traded anywhere near that date.

Do I need to file a claim to get refunded?

No, for the main refunds. Polymarket says traders do not need to file a claim, and most affected wallets were already refunded by October 30. A form on its status page exists only for people who believe their amount is wrong or that they were missed.

Is DebugBear safe to use now?

DebugBear has told customers of its real user monitoring product to remove its embed code from their websites while the incident is investigated, and the address that served the malicious file had no DNS record when checked on November 1. Website owners using DebugBear should follow its official guidance and remove the embed until it is cleared.

Could this happen on other websites I use?

Yes, in principle. Any site that loads third-party scripts on pages where you are signed in, pay, or approve transactions carries a version of this risk. That is why minimising third-party code on sensitive pages and using Subresource Integrity matter — and why users should never blindly approve signing requests.

What is the difference between this and a phishing attack?

Phishing tricks you into visiting a fake site or handing over credentials. This attack needed no trick: victims visited the real Polymarket site and were already signed in. The malicious code came along for the ride inside a trusted page, which makes it harder to spot and harder to blame on user error.

Key Takeaways

  • A hijacked DebugBear speed-monitoring script on Polymarket drained about $2.7 million from 726 traders’ wallets on October 29, 2026, in under an hour.
  • The attack abused signed-in browser sessions and wallet signers — it did not need passwords, seed phrases, or private keys.
  • Polymarket removed the script within the hour, reset sessions, paused trading, and is returning about $3.9 million in total, including pause-related losses.
  • Traders should verify refunds, revoke unknown approvals, keep trading funds separate from long-term holdings, and reject any signing request they did not initiate.
  • Website owners should keep third-party code off sensitive pages, pin files with Subresource Integrity, and rehearse a fast kill switch for supplier compromises.
  • Refund scams will follow this incident — never share a seed phrase or pay a fee to “unlock” a refund.

Related Reading

Conclusion

The Polymarket heist is a compact lesson in how the modern web actually breaks. Nobody’s password failed. No firewall was smashed. A boring, trusted, invisible piece of infrastructure — a script that measures page speed — was swapped, and for less than an hour, the trust that traders placed in Polymarket was silently redirected to an attacker.

That is bad news for anyone who assumes that visiting the right site is enough. It is also useful news, because the defences are concrete and available today: fewer third-party scripts on sensitive pages, integrity checks that reject changed files, session hygiene, separate wallets for trading and storage, and above all, a refusal to approve signing requests you did not expect.

Polymarket’s refunds will make most victims whole, and that matters. But the lasting fix is not a refund policy — it is a web where a single swapped script cannot borrow your identity. Until that is the default, every signed-in user is their own last line of defence. Make that line a habit, not a hope.

Source: The Hacker News reported this incident on November 1, 2026: Hackers Steal About $2.7 Million From Polymarket Traders via Hijacked DebugBear Script

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top