Smart contracts
Precision loss allows a mallicious user to drain amount received from orders
A precision loss in the exchange rate calculation causes the minimum amount received to round down to zero for low-priced tokens. A malicious keeper can then call performUpkeep with crafted transaction data to redirect the swap output to their own address, stealing all pending order funds.
Oku Trade Order Types
Medium