Raft Hack
Incident Overview
Raft lending platform was exploited due to a precision calculation issue, resulting in a loss of 3,304,406 USD worth 1575.67 ETH.
Raft is a lending and borrowing platform that runs R stablecoin. On November 10, 2023, a precision calculation issue was exploited, allowing the attacker to mint ~$6.7 million unbacked R and sell R, causing R's depeg. The attacker borrowed 6,000 cbETH from AAVE via a flash loan and exploited the divUp function's behavior to mint extra share tokens.
They then redeemed a nominal amount of rcbETH-c for a significant quantity of cbETH and borrowed substantial amounts of R. The attacker swapped the minted R for 1575 ETH, but burned 1,570 ETH, resulting in a loss of 3,304,406 USD worth 1575.67 ETH for the project.
Attacker Address:
https://etherscan.io/address/0xc1f2b71A…d439fA
Malicious Transaction:
https://etherscan.io/tx/0xfeedbf51…75ace7
Malicious Contract Address:
https://etherscan.io/address/0x0A334012…315ef8
TornadoCash Funding Transaction:
https://etherscan.io/tx/0x86e9ee13…7ea50e
Incident Report
Protocol Information
Market Context at Time of Hack
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 Raft, these are the critical security checks that could have prevented this incident (November 2023).
- Verify all logic paths related to Infinite Mint and Dump / Other are guarded by proper access controls and input validation
- 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 TrialProof-of-Concept Exploits
On-Chain Evidence & References
- Twitter/X Alert https://twitter.com/BlockSecTeam/status/1723229393529835972
Sources & References
- 01
-
02
Web Archive https://archive.ph/JcoRU
- 03
- 04
Learn to Prevent the Next Raft
The Raft 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.