Hunt prep
Before you test GTE Spot CLOB and Router
What 7 disclosed reports say about GTE Spot CLOB and Router: what was found and paid, what was fixed, and where it may be worth looking next.
- with a public bounty
- 0
- median public bounty
- –
- highest public bounty
- –
Gaps worth testing
Not written yet for this program. The numbers below are up to date.
What was found and what it paid
Public bounties only; many reports disclose without the amount.
| Class | Reports | Paid | Median | Highest | In all |
|---|---|---|---|---|---|
| Business logic lesson | 5 | 0 | – | – | $0 |
| DoS lesson | 2 | 0 | – | – | $0 |
What was fixed
All reportsThe newest fixes, in our words. A fixed bug is not worth re-reporting, but a sibling feature, an older API version or a regression may be.
-
Removing only the tail order from a limit does not reduce tree size, allowing order book to grow indefinitely
The code should remove the entire limit (all orders at that price) when the book is full, not just the tail order.
Disclosed
-
Dust orders can block order posting
Orders should be removed if the amount after matching is lower than minLimitOrderAmountInBase.
Disclosed
-
Flawed Zero-Cost Trade Prevention
The check should be replaced with a logical OR comparing each amount to zero, as shown in the mitigation.
Disclosed
-
Order double-linked list is broken because order.prevOrderId is not persisted
The previous-order pointer should be written to the stored order rather than to the in-memory copy, so the linked list is persisted correctly.
Disclosed
-
DOS Attack via Order Amendment Bypassing maxLimitsPerTx Protection
The fix was applied by calling incrementLimitsPlaced in _processAmend when the price or side changes, so amendments that create new order book positions are subject to the same limit as new limit orders.
Disclosed
-
FOK orders wrongly revert on dust residual amounts below lot size
The check should revert only when the remaining amount is greater than or equal to the lot size, not whenever it is greater than zero.
Disclosed
-
Malicious user can spam orders that expire immediately or cancel them immediately to wipe out legit orders from a book with orders only on one side
A minimum order liveness time (for example ten minutes) should be enforced, and orders should not be cancellable during that period.
Disclosed