The attacker could then deposit the bought token B as collateral using the artificially superior spot selling price from the DEX. Eventually, they may utilize a portion of their borrowed token A to repay the flash loan. This number of transactions would leave the DeFi protocol in an undercollateralized placement https://cashuywtp.glifeblog.com/28601077/an-unbiased-view-of-flash-cash-loan