Digital Asset
Intelligence
Security Incident · ETH Ecosystem

Earning.Farm Flash Loan Attack

·Historical incident record

Incident Overview

The EFLeverVault contract of Earning.Farm was attacked twice by flash loans. The first attack was intercepted by MEV bot, causing the contract to lose 480 ETH; the second hacker completed the attack, and the hacker made a profit of 268 ETH. After analysis, the vulnerability is caused by the contract’s flash loan callback function not verifying the flash loan initiator. The attacker can trigger the contract’s flash loan callback logic by itself: repay the Aave stETH debt in the contract and withdraw cash, and then exchange stETH for ETH. Then the attacker can call the withdraw function to withdraw the ETH balance in all contracts.

Sources & References

This record presents information attributed to the linked sources. Incident dates describe the original event, not a new report. Reported loss figures reflect the source record and are not current market valuations.

More Security Incidents

View All →
  1. Incident date
    Attack methodFlash Loan Attack
    Reported loss$ 5,150,000
  2. Incident date
    Attack methodReentrancy Attack
    Reported loss$ 530,000
  3. Incident date
    Target

    LiveArtX

    Attack methodPrivate Key Leakage
    Reported loss$ 39,000
  4. Incident date
    Target

    MTDAO

    Attack methodFlash Loan Attack
    Reported loss487,042.615 BUSD
  5. Incident date
    Target

    FTX

    Attack methodContract Vulnerability
    Reported loss81 ETH