Flash Loan Oracle Attack
A flash loan oracle attack occurs when an attacker uses a large, under-collateralized loan to manipulate the price of an asset on a decentralized exchange. By temporarily distorting the price, the attacker can force a protocol to execute trades or liquidations at an incorrect, unfavorable rate.
This exploits the fact that many protocols rely on spot prices from a single liquidity pool that can be easily moved with sufficient capital. To prevent these attacks, protocols must implement more robust pricing mechanisms, such as time-weighted averages or multi-source oracles.
These attacks highlight the importance of designing protocols that are resilient to sudden, extreme shifts in liquidity. They remain a primary concern for the security of decentralized finance.