What Is a ‘Flash Loan Attack’ and How Does It Exploit DEX Protocols?

A flash loan attack exploits decentralized finance (DeFi) protocols by using an uncollateralized loan, which must be repaid within the same blockchain transaction. The attacker uses the borrowed funds to manipulate the price of an asset on a decentralized exchange (often by draining liquidity) and then executes a profitable trade, repaying the loan instantly.

The entire sequence happens in one atomic transaction, leaving no time for intervention.

What Is the Risk of a “Flash Loan Attack” on a DEX Liquidity Pool?
What Is a “Flash Loan” and How Does It Relate to Market Manipulation Risks on DEXs?
How Can an Oracle Be Manipulated in a “Flash Loan” Attack Scenario?
What Is a ‘Flash Loan’ Attack, and How Can It Cause a De-Peg?
What Is the Difference between a Flash Loan and a Traditional Uncollateralized Loan?
How Does a Flash Loan Attack Specifically Target a Single-Point Settlement Price?
What Is a Flash Loan and How Is It Often Used in MEV Strategies?
What Is the Risk of a “Flash Loan Attack” on a DEX’s Price Feed?

Glossar