Why don’t flash loans require collateral?
Uniswap V2 flash swaps also let you take tokens upfront, as long as you pay the equivalent amount—or return the tokens with a fee—before the same transaction ends.
Flash loans themselves aren’t a vulnerability; in attacks, they’re simply used to amplify the amount of capital available. The real problem often lies in the attacked protocol’s price sources or contract logic.
The lending protocol Aave behind $AAVE offers flash loans.

#AAVE