in SablierFlowBase::collectProtocolRevenue
, there is no assert
to maintain the aggregateBalance[token]
. With aggregateBalance[token]
in an incorrect state, calculations and checks that rely on its accuracy may fail, leading to unexpected behavior in other parts of the contract.
Functions that interact with the balance might assume there are sufficient funds when there aren’t, potentially destabilizing the protocol. Attackers could exploit this misrepresented balance to withdraw funds beyond the actual available balance, resulting in financial losses for the protocol.
Manual Review
Assert that the aggregate balance does not fall below protocol revenue.
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.