Skip to main content

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.

What Is a ‘Flash Loan’ and How Can It Be Used in an Exploit?
What Is a ‘Flash Loan Attack’ and How Does It Exploit DEX Protocols?
How Can an Oracle Be Manipulated in a “Flash Loan” Attack Scenario?
How Do Flash Loans in DeFi Work and What Are Their Primary Use Cases?