The OrderBook
contract allows users to create sell orders with arbitrary amounts. In this PoC, a user (bob
) creates 100 sell orders, each selling only 1 wei of WETH for 1 USDC, with a deadline of 1 second. These "dust" orders clog the orderbook with essentially unusable trades.
Likelihood:
High – Any user can create such spam orders unless restricted. There’s no minimum order size or fee deterrent.
Impact:
Storage bloat, degraded user experience, and potential DoS in matching systems (if they iterate through spam orders).
This PoC shows how a user (Bob) can spam the OrderBook
by creating 100 tiny sell orders, each selling just 1 wei of WETH for 1 USDC. These orders are created using a loop and are valid but economically meaningless.
Since there’s no minimum trade size, Bob can cheaply fill the orderbook with junk orders, potentially overwhelming the system, slowing down matching logic, or inflating storage/gas costs — a form of Denial-of-Service (DoS).
Minimum Order Thresholds
Order Creation Fee / Bond
Order Expiry and Pruning
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.