The attacker could then deposit the bought token B as collateral utilizing the artificially superior spot rate in the DEX. Finally, they might use a portion of their borrowed token A to repay the flash loan. This number of transactions would depart the DeFi protocol within an undercollateralized position as https://247-cash-advance75824.thelateblog.com/29698983/the-fact-about-flash-cash-loan-that-no-one-is-suggesting