The attacker could then deposit the obtained token B as collateral using the artificially higher place rate in the DEX. Eventually, they could use a part of their borrowed token A to repay the flash loan. This number of transactions would go away the DeFi protocol within an undercollateralized place https://cashmartloan51840.anchor-blog.com/9462455/the-best-side-of-flash-cash-loan