Skip to main content

Flash Swap Attack

Definition

A Flash Swap Attack is a type of exploit in decentralized finance where an attacker uses a flash loan to manipulate asset prices across different decentralized exchanges within a single transaction block. The attacker borrows a large quantity of assets without collateral, executes a series of trades to exploit price discrepancies, and repays the loan, all within the same atomic transaction. This attack vector capitalizes on temporary market inefficiencies and the immediate settlement capabilities of flash loans. The entire operation is either successful and atomic, or it reverts entirely.