Seller can front-run the buyer and call OrderBook::amendSellOrder
to increase the priceInUSDC
value to a high enough value in order to drain the buyer's entire holdings of USDC
Likelihood: High
Reason 1 Whenever buyer calls buyOrder
, seller can front-run to execute this exploit
Impact: Buyer can easily lose their entire holdings of USDC
Seller places an order to sell 1wBTC for 107,000USDC
Buyer calls buyOrder
, assuming he's going to get 1wBTC
Seller front-runs and calls amendSellOrder
, increases the priceInUSDC
to the balance amount of the buyer's address, assuming unlimited approval
Seller ends up draining the seller's USDC balance completely
Do not allow price manipulation in amendSellOrder
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.