The PersistOrderRemovalToState function in x/clob/keeper/process_operations.go has six order removal reasons with their stateful validation entirely commented out or missing, marked with TODO(CLOB-877). During ProcessProposal, validators only run stateless validation (ValidateBasic) which checks that the order is stateful and the removal reason is specified β but does NOT verify whether the reason is actually valid. During DeliverTx, the stateful validation that should verify the removal reason is commented out. This enables any block proposer to remove arbitrary stateful orders from the on-chain orderbook without any validator being able to detect the fraud. A proposer can prevent their own liquidations, censor competitor orders, and extract MEV with zero detection risk.
The dYdX v4 CLOB (Central Limit Order Book) module processes block-level operations β order matches, liquidations, and order removals β through a proposer-submitted `MsgPro