Description: The contract uses an admin-controlled approach for several critical functions. If an unauthorized entity gains control of the admin address, they could manipulate various aspects of the contract.
Code Reference:
Impact:
A compromised admin could collect protocol revenues, set fees, or change important contract parameters.
This can lead to loss of funds or unauthorized access to contract functionality.
Recommendations:
Implement multi-signature functionality or a time-lock mechanism for sensitive admin functions to enhance security.
Use access control libraries like OpenZeppelin’s Ownable or AccessControl to add flexibility and security to admin functions.
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.