The withdraw
function lacks a check to ensure the protocol fee does not exceed a maximum allowable limit. This oversight could result in excessive fees being applied to user withdrawals.
The withdraw
function checks if the protocol fee is greater than zero but does not validate it against a maximum fee cap.
Users may receive significantly less than expected due to high fees and also they may lose trust in the platform if fees are perceived as unfair or excessive
Manual Review
Validate the protocol fee against this maximum limit within the withdraw
function
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.