Skip to content

Code4rena

GTE Spot CLOB and Router

Every publicly disclosed report for GTE Spot CLOB and Router and what kind of bugs they were.

disclosed reports
7
most reported class
Business logic
bug classes found
2
first disclosure
2026
Find GTE Spot CLOB and Router on bugbounty.fyi Current scope, rewards and status, if it runs a public program.

Disclosed reports

Newest first. Only what GTE Spot CLOB and Router chose to make public.

Business logic

Removing only the tail order from a limit does not reduce tree size, allowing order book to grow indefinitely

The CLOB contract enforces a maximum number of price limits per side, but when the book is full it only removes the least competitive order from the worst limit, not the limit itself if it holds multiple orders. An attacker could repeatedly place orders at new prices to grow the order book without bound, bypassing the intended size limit.

GTE Spot CLOB and Router

Medium
Business logic

Dust orders can block order posting

Maker orders can be reduced below the minimum limit without a check, leaving dust positions in the order book. When a new order tries to match such a dust order, the quote amount can round down to zero, causing a ZeroCostTrade revert that blocks the incoming order.

GTE Spot CLOB and Router

High
Business logic

Flawed Zero-Cost Trade Prevention

The smart contract used a bitwise AND to check for zero-value trades, which incorrectly flags valid trades where the two amounts share no set bits. An attacker could not exploit this; instead, legitimate trades would revert, blocking normal operation.

GTE Spot CLOB and Router

Medium
DoS

Order double-linked list is broken because order.prevOrderId is not persisted

The order book's doubly linked list is broken because the previous-order pointer is written to a memory copy of the order rather than to storage. This corrupts the list on removal and can cause a denial of service when the book is full and the limit's tail order becomes invalid.

GTE Spot CLOB and Router

High
DoS

DOS Attack via Order Amendment Bypassing maxLimitsPerTx Protection

The amend function in the CLOB contract did not increment the per-transaction limit counter when an order was moved to a new price or side, even though this creates a new order book entry. An attacker could therefore flood the order book with unlimited price level changes in a single transaction, bypassing the maxLimitsPerTx denial-of-service protection.

GTE Spot CLOB and Router

High
Business logic

FOK orders wrongly revert on dust residual amounts below lot size

The CLOB contract reverts fill-or-kill orders when the remaining unmatched amount is greater than zero but smaller than the lot size, contrary to documented behaviour. This causes multi-hop swaps to fail when Uniswap output amounts cannot be adjusted to match the CLOB lot size.

GTE Spot CLOB and Router

Medium
Business logic

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

The order book allows limit orders with a cancel timestamp only one second in the future, and when a side of the book is full the worst-priced order is evicted to make room for a new one. An attacker can therefore place many higher-priced orders that expire almost immediately, evicting legitimate orders from a one-sided book, and then let the orders expire or cancel them to recover funds.

GTE Spot CLOB and Router

Medium