Centralization Risk + Excessive Owner Privileges
The OrderBook contract is designed to facilitate decentralized trading operations where users can place buy and sell orders with minimal trust assumptions.
The contract owner has excessive privileged access including the ability to control allowed tokens, perform emergency withdrawals of user funds, and withdraw collected fees, creating significant centralization risks.
Likelihood:
Owner key compromise occurs regularly in DeFi protocols due to phishing, social engineering, or operational security failures
Malicious or compromised owner actions can happen at any time without user consent or advance notice
Impact:
Users lose trust in the protocol due to centralization concerns, reducing adoption and liquidity
Owner can disable token trading by setting allowedSellTokens[token] = false
, potentially trapping user funds in active orders
Emergency withdrawal function allows owner to drain any ERC20 tokens from the contract, including user deposits
Fee withdrawal centralization prevents transparent and automated fee distribution mechanisms
N/A (Low Finding - self explanatory)
The centralization risks can be mitigated through several mechanisms that distribute control and add transparency:
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.