What Is the Flash Loan Attack Vector in Liquidation?

The flash loan attack vector involves using a large, uncollateralized loan (a flash loan) to manipulate the price of the collateral asset on a decentralized exchange (DEX) just long enough to trigger a massive, profitable liquidation event. The attacker uses the temporary price change to trigger liquidations at the manipulated price, profiting from the collateral sold in the auction, and then repays the flash loan in the same transaction.

This attack targets oracle reliance and low liquidity.

Why Are Flash Loans Considered “Uncollateralized” and How Is the Risk Mitigated for the Lender?
What Is the Risk of a “Flash Loan Attack” on a DEX’s Price Feed?
What Is a ‘Flash Loan Attack’ and How Does It Exploit DEX Protocols?
What Is a “Flash Loan” and How Can It Be Used to Exploit a Short Window?
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 Can a Flash Loan Attack Exploit a Vulnerable Oracle Used by an Options Protocol?
What Is the Primary Risk Associated with Uncollateralized Lending like Flash Loans?

Glossar