In SablierFlowBase.sol
, functions like collectProtocolRevenue
and recover
handle protocol fee collection without enforcing checks on the accuracy or limits of fees. This could lead to unauthorized revenue manipulation.
The collectProtocolRevenue
and recover
functions allow the accumulation of fees but lack checks for validating or capping the amounts:
Without additional controls, attackers could potentially manipulate the fee structure and collect excess protocol revenue.
Uncapped or unchecked fee collection can lead to:
Financial inconsistencies in protocol revenue.
Potential loss of funds or imbalances in protocol resources.
Manual code review
Add validation checks to ensure fee calculations are accurate and implement caps to prevent excessive revenue accumulation.
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.