Wrong rounding direction in DurationRemaining leads to value loss from TWAMM extension and Temporarily Freezing of a Pool
The TWAMM extension rounds up the remaining sell amount when a user cancels an order, over-refunding by 1 wei per cancellation. An attacker can create many small orders and cancel them to accumulate a debt that freezes the pool or, in a self-created pool, steal small amounts.
Ekubo
Medium