Polymarket Hacked Due to Off-Chain and On-Chain Sync Vulnerability

iconTechFlow
Share
Share IconShare IconShare IconShare IconShare IconShare IconCopy
AI summary iconSummary

expand icon
Polymarket experienced a security breach due to a flaw in its off-chain and on-chain data synchronization. Attackers exploited mismatched nonces to cancel on-chain transactions while off-chain records remained valid, resulting in API errors and bot disruptions. On-chain analysis revealed large reverse trades and forged nonces used to trigger reverts. Users are advised to pause automated tools, verify on-chain data, and secure their wallets.

According to GoPlus Chinese Community, the prediction market platform Polymarket suffered a cyberattack due to a design flaw in its off-chain and on-chain trade settlement synchronization mechanism. The attacker manipulated nonces to cancel or invalidate on-chain matched trades before settlement, while off-chain records remained valid, causing API misreporting and affecting trading bots such as Negrisk, resulting in user losses. The attack process is analyzed as follows: 1. The attacker submitted or matched large opposite trades against market-making bots on Polymarket’s off-chain order book. 2. The attacker constructed transactions with forged or duplicate nonces, or exploited on-chain nonce competition, ensuring that on-chain transactions would inevitably revert. 3. Polymarket’s API returned a “trade executed” confirmation to bots before on-chain confirmation, leading bots to believe positions were hedged, while the actual on-chain state remained unchanged. 4. The attacker then executed genuine on-chain trades to fill the exposed direction of the bots, achieving “risk-free” profits. 5. Since reverts occurred at the chain layer, Polymarket’s fees did not spike, making the attack cost-effective and repeatable. GoPlus recommends users suspend automated trading tools, verify on-chain transaction statuses, enhance wallet security, and closely monitor official Polymarket announcements.

Disclaimer: The information on this page may have been obtained from third parties and does not necessarily reflect the views or opinions of KuCoin. This content is provided for general informational purposes only, without any representation or warranty of any kind, nor shall it be construed as financial or investment advice. KuCoin shall not be liable for any errors or omissions, or for any outcomes resulting from the use of this information. Investments in digital assets can be risky. Please carefully evaluate the risks of a product and your risk tolerance based on your own financial circumstances. For more information, please refer to our Terms of Use and Risk Disclosure.