The Recipient might be expecting the transfer of tokens to take place at some reasonable rate but the sender can unilaterally alter the _streams[streamId].ratePerSecond
to a rate which is not acceptable to a recipient at point of streaming.
Vulnerability Details
suppose the recipient is expecting to receive tokens from the sender at the rate of 1e18 Token per second and the sender initially agrees to it but as the sender piles up a lot of debt he acts maliciously and decreases the rate of transfer unilaterally to 1 Token per second with the intention of delaying the transfer to a very long time in the future.
For example in the above case it will take 1.1574074e13 days to transfer 1e18 token which the recipient was expecting to be transferred in 1 second.
This has the potential to render the protocol ineffective from the recipients point of view and a sender can grief him.
Manual Review.
In dataTypes.Flow.Stream
struct add the following line :
and in sablierFlow._adjustRatePerSecond
add the following lines :
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.