In normal behavior, the contract is expected to act as a decentralized order book, allowing trustless peer-to-peer token exchange with minimal central intervention.
However, the contract's logic gives the single owner the authority to unilaterally change key protocol parameters, withdraw all collected fees, and execute emergency withdrawals. This undermines decentralization and opens the door to rug-pull scenarios or abuse of power.
Likelihood:
This issue is always present due to the absence of governance or multi-signature restrictions.
It will occur as soon as a malicious or compromised owner calls any of the admin-level withdrawal functions.
Impact:
A malicious owner can drain protocol fees or tokens via withdrawFees() or emergencyWithdrawERC20().
Trust in the protocol's integrity is compromised, making it unsuitable for production DeFi environments where decentralization is expected.
Implement a DAO or governance-based control mechanism instead of a single-owner model.
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.