---
title: "Polymarket's $2.7M drain came through a front-end script, not stolen keys."
url: https://wakenex.com/notes/polymarkets-2-7m-drain-came-through-a-front-end-script/
language: en
type: note
section: "Signal"
published: 2026-11-10T20:19:42+07:00
author: "WAKENEX"
id: "note:polymarkets-2-7m-drain-came-through-a-front-end-script"
x_post: https://x.com/AAwakened32198/status/2120144367285666263
alternate_language: https://wakenex.com/notes/polymarkets-2-7m-drain-came-through-a-front-end-script/index.zh.md
license: "© WAKENEX. You may quote and summarise with attribution and a link to the canonical URL."
cite_as: "WAKENEX. \"Polymarket's $2.7M drain came through a front-end script, not stolen keys.\" wakenex.com, 2026-11-10. https://wakenex.com/notes/polymarkets-2-7m-drain-came-through-a-front-end-script/"
---

# Polymarket's $2.7M drain came through a front-end script, not stolen keys.

**In one line:** Polymarket's $2.7M left through a hijacked front-end script, not stolen keys.

![A bright sunlit scene: a huge steel bank-vault door stands closed and over-fortified with many locks and chains, completely untouched, while a small dull grey utility meter box bolted to the wall beside it siphons a glowing stream of gold coins out through a tiny gap near the floor into a waiting satchel. The left half is open pale sky.](https://wakenex.com/assets/notes/polymarkets-2-7m-drain-came-through-a-front-end-script/cover-1600.jpg?v=c2d602bb87)
*Image: WAKENEX*

On October 29, attackers hijacked the DNS of DebugBear, a third-party performance-monitoring vendor whose script Polymarket loaded on its own pages, and swapped it for a wallet drainer. Running inside the app with the app's privileges, it read trading API keys out of the browser and called Polymarket's own transaction signer, draining about $2.7 million from 737 accounts in roughly an hour.

"Non-custodial" told users the danger was losing their keys. The real attack surface was the webpage's supply chain, where every outside script on a trading front-end is effectively a co-signer you cannot audit. The chain held; the money left through a monitoring script.

Today's fix, a withdrawal whitelist with email verification and a 48-hour delay on new addresses, treats the symptom, how fast money leaves, and quietly re-adds the custodial friction prediction markets were built to remove. It helps the median user. It does not close the door that a page can reach your keys.

We'd revise this if the post-mortem shows the drain used stolen private keys or an on-chain exploit rather than the hijacked front-end script.

If you hold funds in any "non-custodial" web app, put its front-end in your threat model: can the page reach your keys or signer, and do you control the withdrawal addresses?

Research, not investment advice.

## Sources & notes

- [Primary source: kucoin.com/news/flash/polymarket-adds-withdrawal-address-whitelist-…](https://www.kucoin.com/news/flash/polymarket-adds-withdrawal-address-whitelist-with-48-hour-lock)
- [Source: reflectiz.com/blog/polymarket-hack-debugbear](https://www.reflectiz.com/blog/polymarket-hack-debugbear/)

---
Cite as: WAKENEX. "Polymarket's $2.7M drain came through a front-end script, not stolen keys." wakenex.com, 2026-11-10. https://wakenex.com/notes/polymarkets-2-7m-drain-came-through-a-front-end-script/

Web page: https://wakenex.com/notes/polymarkets-2-7m-drain-came-through-a-front-end-script/
