Cryptocurrency hacks have become relatively common, but instances where attackers take significant risks only to gain minimal rewards are rare. Such an incident occurred on Sunday when an attacker exploited a vulnerability in the Hyperbridge cross-chain gateway, which connects various blockchains. The attacker successfully minted 1 billion Polkadot tokens, valued at $1.19 billion, on the Ethereum network and sold them for approximately $237,000 in ether.

This exploit highlights the growing list of vulnerabilities in bridge architectures, including a recent $270 million drain on Solana's Drift Protocol and a social engineering attack that compromised infrastructure. The Sunday attack targeted the bridge contract, not Polkadot's core network, and the native DOT token remained unaffected. The vulnerability was found in how Hyperbridge's EthereumHost contract validated incoming cross-chain messages before passing them to the TokenGateway.

Bridges, which facilitate the transfer of coins between blockchains, are often the weak link in cross-chain architecture due to their administrative control over token contracts on destination chains. A single validation failure can grant an attacker unlimited access to mint tokens. The attack unfolded when the attacker submitted a forged message via dispatchIncoming, which was routed to TokenGateway.onAccept. The request receipts check failed to verify the message against a valid cross-chain state commitment from Polkadot, allowing the gateway to process the message as legitimate.

The accepted message granted the attacker administrative rights to the bridged Polkadot token contract, enabling them to mint 1 billion tokens in a single transaction. The attacker then routed these tokens through Odos Router V3 into a Uniswap V4 DOT-ETH pool, extracting around 108.2 ETH across multiple swaps at different prices. However, the limited liquidity in the bridged DOT pool on Ethereum worked against the attacker, capping their profit.

If the same vulnerability were exploited on a deeper pool or a higher-value bridged asset, the losses would have been significantly larger. As of Monday morning, DOT was trading just under $1.20.

CertiK identified the exploit, confirming that the attack vector was the Hyperbridge gateway contract and the attacker profited approximately $237,000 from minting and selling the bridged tokens. Hyperbridge has yet to publicly comment on the exploit or disclose whether other bridged token contracts using the same gateway are vulnerable to the same attack vector.