Ola Finance Hack
Incident Overview
The attacker's address:
https://explorer.fuse.io/address/0x371D7C9e…D63d75/transactions
The example transaction behind the exploit:
https://explorer.fuse.io/tx/0x1b3e06b6…b1dc90/token-transfers
The hack is made possible by the incompatibility between the Compound fork and ERC677/ERC777-based tokens, which have the built-in callback functions exploited to allow for reentry in doTransferOut() function and draining of the loan pool.
The attacker was initially funded by Tornado in Ethereum:
https://etherscan.io/tx/0x98c46fc9…a24efb
After the exploit execution, funds were delivered back into Ethereum and transferred to the following wallet:
https://etherscan.io/address/0xbcdb800d…118f42
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 Ola Finance, these are the critical security checks that could have prevented this incident (March 2022).
- Verify all logic paths related to Reentrancy / Other are guarded by proper access controls and input validation - see the Reentrancy attack class for patterns
- Check that all state-changing functions follow the Checks-Effects-Interactions (CEI) pattern to prevent reentrancy and logic ordering bugs
- 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 TrialSecurity Audit History
- Audit Report 1 Report
Related Attack Classes
The technique used in this hack maps to these vulnerability classes in our security curriculum:
Sources & References
Learn to Prevent the Next Ola Finance
The Ola 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.