XBridge Hack
What happened
SaitaChain's XBridge was exploited on Ethereum after a permissionless token-listing function could overwrite the stored owner of an already listed asset. The attacker then withdrew bridge reserves. Reported loss estimates range from about $1 million to $1.9 million; the $1.9 million shown here is the upper estimate.
listToken allowed any caller to overwrite _tokenOwner for an already listed asset. withdrawTokens trusted that mutable owner entry, so the attacker could grant itself withdrawal authority over bridge reserves.
How it happened
The attacker paid the listing fee to call listToken for an existing asset, replacing its recorded owner. As the new owner, the attacker called withdrawTokens to remove the bridge's STC reserve. The ownership-overwrite and withdrawal sequence was repeated for other assets including SRLTY and Mazi.
SaitaChain said it was investigating and coordinating with exchanges to block transfers. No source-backed recovery amount has been published.
Protocol details
Evidence
Proof of concept
1 available- Code XBridge Logic Flaw
Sources
- report @HashDit incident report twitter.com
- report De.Fi April 2024 Incident Report de.fi
- analysis SaitaChain XBridge Security Breach cryptotimes.io
- analysis DeFiLlama defillama.com
- analysis When the Bridge Is the Risk blog.verichains.io
- analysis BlockSec April 2024 Security Review blocksec.com
- analysis XBridge Exploit Trace and PoC crypto.training
Understand the attack patterns
Build your security review skills
Work through hands-on labs covering real exploit mechanics, review techniques, and defensive patterns.