BSC Token Hub Hack

TOTAL LOST $586.0M
Critical Forged IAVL Merkle proof and arbitrary transfer package bsc

What happened

BSC Token Hub, the native bridge between BNB Beacon Chain and BNB Smart Chain, was exploited on October 6, 2022. An IAVL Merkle-proof validation flaw let a forged proof validate an arbitrary transfer payload. Two forged packages caused TokenHub to release 2 million BNB, valued at roughly $586 million at the time.

BNB Chain halted BSC and later patched the issue through a hard fork.

Technical Root Cause

The bridge's IAVL Merkle-proof validation did not correctly bind a proven tree structure to the transfer payload being executed. An authorized relayer could submit an adversarial proof that validated an arbitrary package. Cross-chain proof verification must be tested at the actual node or precompile boundary with malformed proof trees and adversarial payload binding, not only with valid-message paths.

Case & protocol details

Classification Cross-chain Bridge / IAVL Proof Validation
Protocol Type Exploit/Other
Official Website www.bnbchain.org/en
Protocol Twitter/X @BNBCHAIN

Attack Timeline

The attacker registered as a relayer and submitted a forged cross-chain transfer package. A flaw in the IAVL proof-validation precompile accepted an attacker-supplied proof for an arbitrary payload. CrossChain processed the accepted package and instructed TokenHub to release 1 million BNB.

A second forged package repeated the process for another 1 million BNB. The attacker then moved some value through lending and cross-chain routes before BSC was halted.

Funds Recovery

79.4%

Recovered

$465.5M

Net Loss

$120,716,000

Practice this exploit pattern safely

Work through hands-on labs covering real exploit mechanics, review techniques, and defensive patterns.