In the first half of 2023 alone, an astonishing $207 million was stolen via flash loan attacks. In these attacks, hackers leverage flash loans to borrow substantial funds and manipulate DeFi protocols into unexpected states that developers may not have anticipated. Flash loan attacks can drain the entire TVL of a DeFi protocol, and their complicated nature combined with DeFi’s composability means these attack vectors often evade conventional audits.