EVODeFi Hack

TOTAL LOST $1.7M
Medium Flash Loan Attack

Summarize with AI

Affected Chain 2021 Incident surface
Recovered - No recovery reported
All-Time Rank #699 By amount stolen
Auditors 1 Prior security audit

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 / Project EVODeFi
Date of Incident
Attack Technique Flash Loan Attack
Classification Yield Aggregator
Primary Source View Post-Mortem

Protocol Information

Protocol Type Lending
Affected Token GEN
Official Website evodefi.com/
Protocol Twitter/X @evolution_bsc
Team Anonymous
Source Code Verified On-Chain

Market Context at Time of Hack

Token Categories
Polygon Ecosystem BNB Chain Ecosystem

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.

Technical Knowledge Deep understanding of flash loan attack and Solidity and EVM internals
Capital Required Flash loan capital (borrowed atomically, zero upfront cost)
On-Chain Access Ability to interact with smart contracts and deploy a custom exploit contract
Protocol Analysis Identification of the exploitable vulnerability in EVODeFi's contract logic - root cause: yield aggregator
Execution Speed Precise transaction ordering and timing to exploit the vulnerability within a single atomic block
Obfuscation Plan A strategy to launder and move stolen funds - typically through mixers, cross-chain bridges, or decentralized DEX swaps to resist tracing

What Auditors Should Check

Could this have been caught in audit? Yes — skilled auditors routinely flag Flash Loan Attack vulnerabilities in code review
Audited by Tech Rate — still lost $1.7M. Prior audits don't guarantee safety, especially after post-audit code changes.

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 Trial

Security Audit History

Related Attack Classes

The technique used in this hack maps to these vulnerability classes in our security curriculum:

See all Flash Loans Attacks examples →

Sources & References

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.

Recreate exploit patterns safely Free Trial