A flash loan is an uncollateralized loan that is borrowed and repaid within the same blockchain transaction.
Because the loan must be repaid before the transaction ends, no collateral is needed. If repayment fails, the whole transaction is reversed.
Flash loans are used for arbitrage, refinancing positions and other complex strategies that profit from price differences across protocols.
Attackers have used flash loans to manipulate prices and drain vulnerable protocols, making them a common tool in DeFi exploits.
Flash loans themselves are neutral tools, but they highlight the importance of using well-audited protocols.
Flash loans are a unique DeFi primitive that enable powerful strategies but also amplify risk when protocols have bugs.