Normal behavior: The seller can amend their order (change amount, price, or deadline) at any time before it is filled or canceled. The buyer can call buyOrder to purchase the order at its current terms.
Issue: If a buyer submits a buyOrder transaction, the seller can see this pending transaction in the mempool and quickly submit an amendSellOrder transaction with less favorable terms (e.g., higher price or lower amount). If the seller’s amendment is mined before the buyer’s purchase, the buyer will unintentionally buy at the new, worse terms.
Likelihood:
This will occur when a buyer submits a buyOrder and the seller is monitoring the mempool, especially for high-value or illiquid orders.
More likely in adversarial environments or with sophisticated sellers/bots.
Impact:
Buyers may receive less tokens or pay more USDC than expected.
Loss of trust in the protocol and potential financial loss for buyers.
Buyer submits buyOrder and got less tokens than expected due to front run amend.
Lock order during the amend. On-going bought can't happen or must happen with old price and amount.
A malicious seller can front-run a buy order for their order, and decrease the amount of assets to be sold. If the price is unchanged, the buy transaction fulfills, but the buyer gets lesser amount than expected.
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.