Cybersecurity news

Jessica Doner

Back to the list

Polymarket Frontend Hack: How a Third-Party Script Drained Wallets

The CyberSec Guru,

A compromised third-party script turned a trusted prediction market interface into a hostile one, draining user assets while the blockchain executed every transaction.

Attacks and breaches

Overview

On October 29, 2026, Polymarket suspended trading after a compromised third-party scriptA short program written in an interpreted language to automate tasks in a browser, shell, or application drained user assets. The attack targeted a Real User Monitoring tool that ran with the same privilegesThe level of authority an account or process has to change settings, read files, or run commands as the main application code. This allowed the malicious script to access trading objects and send funds to a specific address. The incident highlights that client-side software supply chainsAll the open-source libraries, build tools, code repositories, and update servers that go into making a program are a major attack surfaceAll the places where an attacker could try to enter, probe, or extract data from a system. By 18:20 UTC, the suspect address held 28,636,284 POL, worth roughly $2.64 million. One trader reported an $800,000 loss before the script was removed.

Terms in this story

Script
A short program written in an interpreted language to automate tasks in a browser, shell, or application. System administrators write scripts to automate daily maintenance, while attackers often use a script to download malware and disable security settings without dropping a compiled file.
privileges
The level of authority an account or process has to change settings, read files, or run commands. Ordinary user accounts run with limited privileges so a single mistake cannot break the operating system, whereas administrator privileges allow installing drivers and viewing all files.
software supply chain
All the open-source libraries, build tools, code repositories, and update servers that go into making a program. Protecting the software supply chain means making sure no attacker has tampered with the third-party packages, build pipelines, or signing keys used to ship an application.
attack surface
All the places where an attacker could try to enter, probe, or extract data from a system. Every open network port, public website, cloud login page, and third-party plugin adds to an organization's attack surface, so defenders shut down services they do not need. Security+ objective 3.2 lists the term
Wallets
A software app or hardware device that stores the private keys needed to spend cryptocurrency. If an infostealer copies the secret seed phrase or key file from a victim's cryptocurrency wallet, the attacker can drain the funds irreversibly in seconds.
supply-chain attack
Breaking into a software maker or vendor so their trusted product or update infects their customers. Instead of attacking a hundred companies one by one, an intruder compromises a single software library or update server that all of those companies already trust. Security+ objective 2.2 lists the term
CSP
An HTTP response header that tells browsers which domains are allowed to load scripts on a web page. When a website sets a strict Content Security Policy, a visitor's browser refuses to run unauthorized inline scripts or send stolen data to an attacker's server during a cross-site scripting attack.
smart contract
A self-executing program stored on a blockchain that automatically moves digital assets when set conditions are met. Because smart contract code is public and cannot easily be reversed once deployed, a single logic bug in a smart contract can let an attacker drain millions in cryptocurrency.
audits
A formal, systematic review of an organization's code, configurations, logs, and policies against security standards. Companies hire outside specialists to conduct a security audit before launching a major product or to prove to customers and regulators that their controls work. Security+ objective 4.3 lists the term
JavaScript
The programming language that web browsers run to make web pages interactive, and that also runs on servers. Because every browser runs JavaScript automatically when loading a page, attackers use malicious JavaScript in cross-site scripting, fake browser updates, and compromised software packages.
blockchain
A shared digital ledger where transactions are grouped into linked blocks secured by cryptographic hashes. In security news, blockchain appears both in thefts from cryptocurrency services and when malware hides its command server address inside a public blockchain transaction. Security+ objective 1.4 lists the term
latency
The time delay it takes for a packet of data to travel from sender to receiver and back. Security filters and encryption tools must inspect traffic with low latency so they do not noticeably slow down voice calls, financial trades, or web browsing.

This page is a short description made for this site. The article itself, with its author's name and its own link, is on the The CyberSec Guru website. Cite the article, not this page.

Read the full article on The CyberSec Guru (opens in a new tab)

Course connections

Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.

How a story is connected to the course, and every objective, week and job role

Related