👉Here’s what caused the Polymarket hack: a script that was only supposed to measure page load speed
The real cause was a script that was only supposed to measure how fast the page loaded.
On October 29, 2026, Polymarket was hit by another frontend drain.
This time the vector was DebugBear, a small UK company that provides website performance monitoring and Core Web Vitals tracking.
Polymarket had embedded their Real User Monitoring (RUM) script on the site — a standard snippet that collects loading speed and user interaction data and sends it back to DebugBear’s servers.
That script was replaced.
Attackers compromised DebugBear’s infrastructure (their CDN / RUM product) and swapped the legitimate monitoring script for a custom wallet drainer written specifically for Polymarket.
The file still loaded from a https://t.co/Qx1G0tmyvT URL and looked like a normal analytics script, but inside it was roughly 15 KB of pure theft logic.
How it worked
The malicious script ran in the browser with full page privileges and did the following:
Read Polymarket authentication data from localStorage (login type, proxy wallet, CLOB API keys).
Searched the React component tree for the trading client.
For users logged in via email (Magic wallet), it sold all positions using fill-and-kill orders — with no additional signature prompt.
For users on external wallets (MetaMask etc.), it encoded transfers of outcome tokens and submitted them through Polymarket’s gasless relayer. Users saw a signature request that looked like a normal platform action, so many approved it.
The script also pulled its configuration (destination address, minimum threshold) from DebugBear’s servers. Stolen funds were converted and sent as POL.
Timeline (UTC, October 29)
~17:10 — First funds arrive at the attacker’s address.
17:45 — Trader @CarOnPolymarket posts that he was drained for $800k and “all my positions were sold.”
17:59 — Polymarket deploys a production build that removes the DebugBear script.
18:00 — DebugBear’s official account posts: “We’re impacted by an ongoing security incident. If you use our RUM product, please remove the embed code from your website.”
By 18:19 the attacker held 28.6 million POL ($2.6–2.7M).
Polymarket’s smart contracts worked exactly as designed. Nothing on-chain was exploited. The frontend simply handed over control of active sessions and order placement.
Why this matters
This is already the second major frontend drain on Polymarket in four months (the June incident was ~$3.1M via a different third-party script). There was also a May incident involving an internal operational wallet.
The pattern is consistent: the platform relies heavily on third-party JavaScript, and the email/Magic login flow was designed for maximum convenience with minimal extra confirmation. When the vendor is compromised, user funds are compromised with it.
DebugBear is not the villain here — they’re a small performance-monitoring company whose infrastructure was weaponized. But the fact that a script meant only to measure page speed was able to liquidate portfolios worth millions shows how fragile the “seamless” crypto frontend model really is.
Polymarket has said affected users will be made whole and that the incident has been referred to law enforcement. Trading was temporarily halted as a precaution.
The open question is how many times the same third-party script risk can materialize before it stops being treated as an isolated incident and starts being treated as a structural problem.
🎆2026 https://t.co/5xo7LSIrN4 New Year Airdrop🎉
Snag your slice of 10,000 $ANB rewards by finishing a few quick tasks:
🔶Connect your X account and follow @ant_fun_trade
🔶Retweet our post
🔶Make your first trade on Web (0 fees!) or in the App
🔶Invite friends and earn extra bonuses
Event ends in 15 days, check the details on the event page.
Join now: https://t.co/YgHTiUmKnk
Fully Local Wallet Control + Multi-Chain All-in-One + Zero Platform Fee = Your Future Trading!
The $SIGNALS NFT is now live.
This is the only way to be whitelisted for the SIGNALS presale.
Free mint -> 0.2 ETH worth of $SIGNALS on TGE
Mint → https://t.co/o6XeFqpzGr
Complete the required tasks, climb the leaderboard, and unlock mint eligibility.
The fastest way to climb the ranks is by holding a 4444 NFT
Only a total of 1,984 copies were recovered so be quick.
Upon verification, the corresponding individually numbered physical Install Disk may be claimed for an additional 0.1 ETH, complete in box with instruction manual and original 3.5" Floppy at
https://t.co/hfDgt7jcN1
[INCUBATION NOTICE]
▢ VOID
▢ coordination layer
▢ status: active
incubated by:
└─ @TheAgencyVC
no public surface
no launch sequence
no visibility guarantees
alignment precedes execution
observe only
SIGNAL DETECTED. TRANSMISSION INTERRUPTED.
Consider your scheduled programming overridden.
The Merch Store app is now live on The Agency/4444 portal powered by @base using base pay.
Starting today, users can browse and purchase official merch from partners like @TitaniumFi and @Firesidebase without ever leaving SIGNALS.
More partners. More drops. All inside $SIGNALS.
ACCESS -> https://t.co/o6XeFqq7vZ
4444 holder check is now active — the highest-value task in Season 2.
If you hold a 4444, this is your fastest path up the leaderboard.
Access → https://t.co/o6XeFqpzGr
Complete the tasks
Climb the leaderboard
Verify your path
When mint goes live eligible operators mint immediately
ACCESS --> https://t.co/o6XeFqpzGr
$SIGNALS - CUT THROUGH THE NOISE
127 just got added to the eligibility list to skip invite codes. Have notis on for the next one if you want to be eamong the first to get in and start inviting friends.
$SIGNALS. January 19. Next up on ⋮D
🔥 SEASON 2 IS LIVE — CUT THROUGH THE NOISE
Access → https://t.co/T7kgVqwzQ1
Access → https://t.co/5puzxR0mOb
Season 2 kicks off the $SIGNALS / $AGENCY launch cycle.
🗓 $SIGNALS Launch
Jan 19 · 12:00 PM CST
Top 100 users on the leaderboard will receive priority SIGNALS NFT eligibility + permanent OG status.
SIGNALS NFT = Presale Access
Complete tasks → mint → secure allocation.
With the end of Season 1, we are clearing the scoreboard. Fresh leaderboard. Fresh points.
Invite-only for new operators.
The Agency will be partnering with @districtxyz to amplify creators & products on @base with @enterSIGNALS. The Agency specializies in growth and success for launches on the https://t.co/TVQaATLNkp launchpad.
We’re introducing our joint intake form: https://t.co/rWu8e8rVLU
The engine that has powered every successful ICM launch on @base and @districtxyz is almost here.
Fuck the narrative. Fuck the market.
Make your own. https://t.co/KK3aHDY34W