JarValley

Market Prices

BTC Bitcoin
$59,247.4 -0.70%
ETH Ethereum
$1,657.79 -0.24%
SOL Solana
$70.9 -2.19%
BNB BNB Chain
$560.76 -0.80%
XRP XRP Ledger
$0.9306 -1.89%
DOGE Dogecoin
$0.0579 -1.38%
ADA Cardano
$0.1436 -2.84%
AVAX Avalanche
$6.42 -0.86%
DOT Polkadot
$0.6636 -0.23%
LINK Chainlink
$8.87 -0.35%

Event Calendar

{{ๅนดไปฝ}}
08
04
upgrade Solana Firedancer

Independent validator client goes live on mainnet

15
04
halving Bitcoin Halving

Block reward reduced to 3.125 BTC

30
04
upgrade Celestia Mainnet Upgrade

Improves data availability sampling efficiency

10
05
upgrade Ethereum Pectra Upgrade

Raises validator limit and account abstraction

22
03
unlock Optimism Unlock

Circulating supply increases by about 2%

12
05
halving BCH Halving

Block reward halving event

18
03
unlock Sui Token Unlock

Team and early investor shares released

28
03
unlock Arbitrum Token Unlock

92 million ARB released

Tools

All โ†’

Altseason Index

42

Bitcoin Season

BTC Dominance Altseason

Market Cap

All โ†’
# Coin Price
1
Bitcoin BTC
$59,247.4
1
Ethereum ETH
$1,657.79
1
Solana SOL
$70.9
1
BNB Chain BNB
$560.76
1
XRP Ledger XRP
$0.9306
1
Dogecoin DOGE
$0.0579
1
Cardano ADA
$0.1436
1
Avalanche AVAX
$6.42
1
Polkadot DOT
$0.6636
1
Chainlink LINK
$8.87

๐Ÿ‹ Whale Tracker

๐Ÿ”ต
0x03cb...f1ec
30m ago
Stake
1,827,502 DOGE
๐Ÿ”ด
0x1260...970c
12m ago
Out
2,133,692 USDC
๐Ÿ”ต
0xa904...ba18
5m ago
Stake
591.51 BTC
Law

The Session Was the Attack Surface: What Polymarket's $3.9M Post-Mortem Doesn't Say About Its Own Architecture

Larktoshi

A performance-monitoring script sold the store. Not a private key, not a reentrancy bug, not a flash-loan ratchet โ€” a third-party RUM (real user monitoring) library, the kind that ships on nearly every trading front-end to measure page-load latency, got compromised and did what performance code is allowed to do: it ran inside the page context, inherited the active user's session, and signed the sell orders itself. The loss fell in the single-digit millions. The implications land in nine figures.

The disclosed figures run $2.7M in what the platform calls attack-related losses and $1.2M tied to a trading pause โ€” a $3.9M total, roughly 95% refunded as of a snapshot taken the afternoon after the October 29 incident. Those numbers are internally consistent, which is exactly the problem. Internally consistent numbers that rest on undefined accounting conventions are a form of camouflage. I have watched more than one exchange publish a clean reconciliation that turned out to be a wallet count masquerading as a dollar figure. The difference between "95% of wallets made whole" and "95% of dollars made whole" is not academic. In a prediction market, a handful of large positions can carry most of the un-refunded balance. Nobody has told us which denominator we are looking at.

Here is why this incident deserves more than a security-week speed-read. The attack chain, reconstructed from the platform's own narrative, is: compromised third-party monitoring script โ†’ executes in page context โ†’ reads or reuses live session credentials โ†’ sells user positions and moves funds as the user โ†’ platform contains by removing the script, clearing caches, resetting sessions, halting trading, pausing the relayer. Read that fourth link again. A performance script was able to submit trades on behalf of users. That only works if the international platform's session layer holds the ability to initiate transactions without per-action signing โ€” call it invisible signing, session delegation, delegated keys, or a custodial wallet, the taxonomy matters less than the capability. It means the trust boundary for user funds sits in the browser's JavaScript execution environment and the session credential, not in the on-chain private key. The chain settled faithfully; it just settled transactions that were authorized through a legitimate channel the attacker had borrowed.

Based on my own audit work on session-permission scoping โ€” I spent part of 2023 modeling delegated-signing exposure for a derivatives venue โ€” this is the failure mode that keeps me up at night, and it is not the one the industry budgets for. Teams spend heavily on key management and almost nothing on scoping what a session token is permitted to do. A session that can log in and read a portfolio is a different risk object than a session that can sign an order. Most architectures collapse the two because per-action signing adds friction, and friction costs conversion. That is a product decision dressed as a security posture.

Which brings the unanswered question into focus: was this session architecture a deliberate convenience trade, or an unavoidable consequence of the wallet design? The post-mortem does not say. The distinction controls whether removing the malicious script is a fix or a painkiller. If the former, then the next RUM library with the same grant repeats the incident on schedule. RUM and performance scripts are a categorically high-risk supply-chain class precisely because they cannot be sandboxed in a cross-origin iframe โ€” they need the Performance API, DOM access, and real-user network paths. So they run in main context, get "read everything, request anything" permissions, and routinely bypass the review pipeline that governs core business code. Every front-end that loads one is one compromise away from this exact post-mortem. The detail that the relayer was paused alongside trading deserves equal billing: it tells you transaction submission ran through a platform-sponsored relay, which is a partial-decentralization shape the marketing typically omits.

Subresource Integrity gets mentioned in the disclosure as a defense, and the framing is technically accurate but strategically off-target. SRI checks that a fetched script matches an expected hash. It does not check that the script's intent is benign, it does not cover dynamically injected or inline scripts, and its hash-pinning sits in structural tension with hot updates โ€” the monitoring vendor pushes a new build, the hash changes, and either your page breaks or you stop enforcing. I want to be fair: the disclosure uses SRI carefully, as an example of why no single control solves the problem, not as the cure. But if this were an audit, I would have named the controls that actually map to this event. A CSP script-src whitelist with per-load nonces constrains which code can execute at all. Trusted Types blocks DOM-based injection sinks. Cross-origin isolation of third-party scripts narrows their reach. And most of all, least-privilege session scoping โ€” a monitoring script's execution context should never hold trade-signing capability in the first place. SRI is a correct answer to a neighboring question. The session boundary is the question that was actually asked.

The accounting is where the disclosure does its most interesting tap-dancing, and where the sharpest unasked question lives. The $2.7M and $1.2M split covers direct losses and trading-pause losses. It does not obviously account for slippage. Forced selling into a thin order book produces a gap between displayed quote and executable price that widens precisely when the platform is under stress โ€” the disclosure says as much and then declines to attach it to a number. For a prediction market, single-market order books are thin by construction; a large forced liquidation can move price multiple times beyond the principal stolen. Which bucket absorbs that gap, direct or pause-related, and was it fully covered? Silence. The $3.9M may be a floor dressed as a ceiling.

Then there is the reverse-selection problem nobody has written up. During a trading halt, market information keeps updating. If a market's outcome probability moved materially while the venue was frozen โ€” news broke, an event resolved โ€” then being unable to close is a loss for some users and, quietly, a gain for others who were spared a losing exit. Any refund rule based on the pre-halt-to-post-halt price difference will attract claims only from the losing side. That is textbook adverse selection, and no valuation convention escapes it: a pre-halt snapshot with uniform assumptions is the least-bad option, and it is guaranteed to be unfair to someone. The refund headline number doesn't just hide disagreement over method; it hides a category of loss for which no consensus baseline exists in principle. The disclosure gets credit for flagging that a consistent reference point โ€” timestamp, position size, valuation method, applied uniformly โ€” is needed. It stops short of admitting that the requirement is unsatisfiable in the strong sense.

On source credibility: the factual layer here is single-sourced. Every number, every timeline detail, originates from the party that is also the defendant. The disclosure is aware of this and repeatedly cautions against treating the 95% as final, which is good hygiene and also the tell. What I would want, ranked by impact on the conclusion: the injection path of the malicious script โ€” vendor compromise, CDN poisoning, build-pipeline contamination, or domain hijack โ€” because that determines whether this is a point incident or an industry-wide supply-chain exposure; whether any private keys or seed phrases leaked, which is a different order of magnitude from session-only exposure; the attacker's realized proceeds and the recovery rate, because the reconciliation discusses payouts and stays silent on clawbacks; and whether the international entity triggered regulatory reporting obligations given its split from the U.S. entity. Each of those is checkable. None has been checked in public.

The Session Was the Attack Surface: What Polymarket's $3.9M Post-Mortem Doesn't Say About Its Own Architecture

And the most conspicuous omission for a venue of this type: no on-chain forensics. The batch of anomalous sell orders around October 29, the destination addresses, whether any funds landed on a known exchange deposit address โ€” all of it is sitting in public block data, verifiable by anyone with an archive node and a weekend. The disclosure does not use it. Speed is my whole professional religion, and I will say plainly: a Web3 incident report with no on-chain evidence is a press release with a methodology section.

What should different readers take from this, and what should they refuse to take? Prediction-market users: your position can be attacked at the session layer, not the key layer, and a trading halt is itself an open risk position, not a neutral safety measure. Platform engineering teams: prevention, detection, containment, and compensation are four independent layers and they are not substitutes for one another โ€” a flaw in one is not covered by strength in another. Due-diligence reviewers: put "scope of session signing authority" on your architecture-risk checklist next to key custody, because that is where this venue's boundary actually was. Reporters and researchers: this is platform self-report plus commentary, single-source, and should be cited as such. Do not lift the analyst's inferences as established fact.

Arbitrage isn't a trade; it's the math of patience applied to chaos โ€” and the chaos here is an accounting one, not a market one. The incident is operationally closed and financially unfinished, and the price of that asymmetry will be paid by whoever discovers, later, that their position falls in the undefined 5%. We don't yet know the injection vector. We don't know whether the session capability that let a monitoring script sell positions was a deliberate product choice or an architectural necessity. And we don't know who, besides the platform's own balance sheet, is holding the residual. The disclosure gave us a map of the room and left the doors unlabeled. The market's real lesson from October 29 is not that on-chain assets are safe. It is that the boundary you defend is the boundary you defined, and this one was defined at the browser.

Fear & Greed

13

Extreme Fear

Market Sentiment

Gas Tracker

Ethereum 28 Gwei
BNB Chain 3 Gwei
Polygon 42 Gwei
Arbitrum 0.5 Gwei
Optimism 0.3 Gwei

๐Ÿ’ก Smart Money

0xed88...1fb0
Institutional Custody
+$0.7M
62%
0x1c6f...7050
Market Maker
+$3.1M
75%
0xa743...8d20
Institutional Custody
-$1.5M
74%