November 04, 14:50
Polkadot Treasury loses $1.38 million after attacker exploits previously fixed flaw
Polkadot lost $1.38 million after hacker exploited security flaw fixed four months earlier

CryptoSlate

Polkadot's Treasury lost $1.38 million after an attacker exploited a vulnerability that developers had corrected four months earlier. Parity Technologies disclosed in a November 2 incident report that the June code fix had not reached affected production systems before the October 24-26 attack. Parity develops blockchain infrastructure for the Polkadot and Kusama ecosystems.
The attacker altered supply records through Polkadot Asset Hub's cross-chain messaging system, reducing dotUSD's recorded supply while leaving users' token balances unchanged. The mismatch disrupted pricing in the DOT/dotUSD liquidity pool, enabling traders to obtain DOT for dotUSD at artificially distorted rates. The Treasury bore approximately $1.381 million in losses as the pool's only liquidity provider. Parity said users suffered no loss of funds and dotUSD retained full backing in USDT. However, Parity could not determine whether the exploiter also benefited from the arbitrage trades that followed.
dotUSD, Polkadot's decentralized stablecoin, began operating in October under the network's decentralized autonomous organization (DAO). dotUSD was designed without a central issuer, unlike stablecoins issued by private companies. DOT holders govern dotUSD decisions through OpenGov. Parity originally rated the vulnerability as medium severity because the assessment excluded possible interactions with dotUSD, which had not launched. Parity raised the rating to critical after the attack demonstrated the financial impact.
The security researcher who first reported the vulnerability published a forum comment referring to the code fix on October 20. Parity said the researcher deleted the comment after receiving notice that the disclosure breached Parity's bug bounty rules. Parity believes the comment may have supplied enough information for attackers to discover and exploit the flaw.
Snowfork stopped operating the company's consensus relayers after suspicious activity was detected on October 24. The shutdown temporarily prevented additional malicious transactions from entering Polkadot through Snowbridge. However, the attacker used an independently operated relayer on October 26 to restart the exploit, approximately six hours before developers implemented the security upgrade through OpenGov. Snowbridge permits independent participants to run relayers, so Snowfork could suspend Snowfork's infrastructure but could not permanently deny the attacker access.
Parity eliminated the vulnerability with runtime upgrade 2.5.1 on October 26 and recovered the affected pool's remaining liquidity. Another upgrade on October 30 repaired dotUSD's supply records without altering individual account balances. The October 30 upgrade also fixed a separate problem that had interrupted Snowbridge. The recovered dotUSD went back to the Treasury. However, the losses caused by trading at artificial prices remained.
Parity acknowledged that the company's security procedures had not captured changing risks from new network functionality. Parity said the company would improve vulnerability assessments, strengthen deployment verification and broaden monitoring for abnormal asset issuance. Parity is refining an automated AI-based security framework intended to detect potentially exploitable code changes earlier during development. Parity is also reviewing previously reported vulnerabilities for risks arising from dotUSD.
This content is an AI-generated summary/analysis for informational purposes only and does not constitute investment advice.