How Does Data Aggregation Help Prevent “Flash Loan” Attacks on DeFi Protocols?
Flash loan attacks often target DeFi protocols by manipulating the price on a single, low-liquidity exchange. Data aggregation prevents this by averaging the price across many high-liquidity exchanges.
A price manipulation on one small exchange will be diluted by the accurate prices from the numerous other sources, rendering the flash loan attack ineffective against the protocol's oracle price.