The attacker could then deposit the obtained token B as collateral utilizing the artificially superior spot selling price from your DEX. Eventually, they could 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 posture https://coverrcash11117.thelateblog.com/29694039/indicators-on-flash-cash-loan-you-should-know