Submitted by leastwood
_calculateMaltRequiredForExit in AuctionEscapeHatch currently uses Malts spot price to calculate the quantity to return to the exiting user. This spot price simply tracks the Uniswap pools reserves which can easily be manipulated via a flash loan attack to extract funds from the protocol.
Consider implementing/integrating a TWAP oracle to track the price of Malt.
0xScotch (sponsor) confirmed
Alex the Entreprenerd (judge) commented:
