EVODeFi Hack
Incident Overview
EvoDefi was exploited by attackers using a flash loan. The attacker made away with 455 $GEN roughly worth $1.8 million.
EvoDefi, a cross-chain platform offering a large suite of products on the BSC chain, Polygon and the multi-chain bridge was attacked, and the price of its token GEN fell from $3.81 to $1.28. A total of 455,576.855 GEN was lost, which is about $1M. Due to design faults in the update logic of the function in the MasterChef contract, the part of the reward that must be subtracted is not updated, allowing the attacker to arbitrage.
Attacker address: https://bscscan.com/address/0x8a0a1eb0…907c6c
Attacker contract: https://bscscan.com/address/0x1cb6d29c…e92459
Attack transaction: https://bscscan.com/tx/0x7c3b7f08…cc3880
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 EVODeFi, these are the critical security checks that could have prevented this incident (June 2021).
- Verify all logic paths related to Flash Loan Attack are guarded by proper access controls and input validation - see the Flash Loans Attacks 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 TrialSecurity Audit History
- Tech Rate Report
Related Attack Classes
The technique used in this hack maps to these vulnerability classes in our security curriculum:
Sources & References
-
01
Source 1 https://evodefi.com/
Learn to Prevent the Next EVODeFi
The EVODeFi 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.