> One of the most notorious flash loan attacks to have ever hit the space is the exploit on DeFi protocol bZx, where the attackers borrowed funds from the platform and quickly swapped them with stablecoins (sUSD). Since the stablecoin is governed by a smart contract, the attacker had manipulated its price by placing a large buy order on sUSD, which pushed the price of the stablecoin to $2, doubling its pegged value. Then, the attacker took a larger loan from the higher-priced sUSD, repaid his loans, and took the profit with him.
It's relevant here because stable coin prices can be manipulated at DEXs too, or at least have been in the past. I'm not sure there's a long enough track record to guarantee it won't happen again before things go pear shaped if you're trying to take your short structured this way via DEX. There's smart contract bug risk, counter-party risk in the stable coin collateral and peg risk. Also regulatory risk.