What Is a Flash Loan and How Does It Enable a Price Feed Attack?

A flash loan is a type of uncollateralized loan that must be borrowed and repaid within the same blockchain transaction. This allows an attacker to borrow a massive amount of capital without any upfront collateral.

The attacker uses the borrowed funds to execute a large trade on a DEX, causing a temporary, significant price deviation. The manipulated price is then fed to the vulnerable smart contract by the oracle, enabling the attack before the flash loan is repaid and the transaction is finalized.

How Does a “Flash Loan” Differ from a Traditional Collateralized Loan in DeFi?
What Is a Flash Loan and How Is It Often Used in MEV Strategies?
What Is a “Flash Loan” and How Does It Relate to Market Manipulation Risks on DEXs?
How Can Flash Loans Be Used in Conjunction with an Oracle Attack?
How Does a Flash Loan Differ from a Traditional Smart Contract Loan?
What Is the Flash Loan Attack Vector in Liquidation?
How Can a Flash Loan Attack Exploit a Vulnerable Oracle Used by an Options Protocol?
Can a Centralized Exchange (CEX) Be Exploited Using a Flash Loan?

Glossar