MarginTradingHook#updateOrder lacks access control
The updateOrder function in MarginTradingHook did not verify that the caller owned the order being updated, only that the caller had an open position. An attacker could modify any active order's trigger price, limit price, collateral amount, and output token.
INIT Capital Invitational
High