SC07:2025 - Flash Loan Attacks

Description:

Flash loan attacks exploit the ability to borrow large sums of funds without collateral within a single transaction. These attacks leverage the atomic nature of blockchain transactions, where all operations must succeed or fail together. By combining flash loans with other vulnerabilities like oracle manipulation, reentrancy, or faulty logic, attackers can manipulate contract behavior and drain funds.

Examples of Flash Loan Exploits:

  1. Oracle Manipulation: Using borrowed funds to skew price oracles, triggering under-collateralized liquidations.
  2. Liquidity Pool Draining: Leveraging flash loans to remove liquidity or exploit poorly designed AMM mechanics.
  3. Arbitrage Exploits: Exploiting price discrepancies across platforms by manipulating liquidity.

Impact:

Remediation:

Examples of Flash Loan Exploits:

  1. UwUlend Hack: A Comprehensive Hack Analysis
  2. Doughfina Hack: A Comprehensive Hack Analysis