Uranium Finance Hack
Incident Overview
Pair contracts in Uranium v2 had a bug due to which anyone could interact with them and withdraw almost all tokens due to a calculation error.
Before interacting with Uranium, the attacker sent the minimum amount of each token to pair contracts. After that, they used a low-level function swap() whose execution should drain both reserves.
Stolen funds:
- 34k WBNB ($18M)
- 17.9M BUSD ($17.9M)
- 1.8k ETH ($4.7M)
- 80 BTC ($4.3M)
- 26.5k DOT ($0.8M)
- 638k ADA ($0.8M)
- 5.7M USDT ($5.7M)
- 112k U92
With the help of PancakeSwap, DOT and ADA were swapped to ETH. After that, the attacker withdrew 2,438 ETH via Anyswap to Ethereum (deposited into Tornado Cash mixer at https://etherscan.io/txs?a=0xc6142911…8e06ec) and 80 BTC to Bitcoin. 1M USDT and 99k DAI (bought with USDT) went to xDAI.
The attacker's address:
https://bscscan.com/address/0x2b528a28…bea6ae#tokentxns
The transaction behind the attack:
https://bscscan.com/tx/0x5a504fe7…c37991
Incident Report
Protocol Information
What the Attacker Needed to Succeed
Understanding the prerequisites for this type of attack helps auditors identify protocols that are most at risk and helps developers build better defenses.
What Auditors Should Check
If you're auditing a protocol with similar architecture to Uranium Finance, these are the critical security checks that could have prevented this incident (April 2021).
- Verify all logic paths related to Math Mistake Exploit / Other are guarded by proper access controls and input validation - see the Arithmetic Overflows Underflows attack class for patterns
- Review privileged functions (owner, admin, governance) for potential abuse vectors - centralization risks should be documented and bounded with timelocks or multi-sigs
Master these auditing techniques with hands-on labs and real exploit scenarios in the Smart Contract Hacking course.
Free TrialFunds Recovery
Recovered
$31.0M
Net Loss
26197599
Security Audit History
- Audit Report 1 Report
Post-Incident Timeline
-
2025-02-24
SDNY and @HSISanDiego seize cryptocurrency worth approximately $31 million related to April 2021 hack of Uranium Finance.
Related Attack Classes
The technique used in this hack maps to these vulnerability classes in our security curriculum:
Proof-of-Concept Exploits
On-Chain Evidence & References
- Twitter/X Alert https://twitter.com/FrankResearcher/status/1387347025742557186
- Block Explorer https://bscscan.com/tx/0x5a504fe72ef7fc76dfeb4d979e533af4e23fe37…
Sources & References
-
01
Source 1 https://rekt.news/uranium-rekt/
- 02
- 03
- 04
- 05
Learn to Prevent the Next Uranium Finance
The Uranium Finance hack is one of many attacks that skilled auditors are trained to detect before deployment. Master real exploit patterns and defense techniques with hands-on Web3 security training.