The _verifyStreamSenderRecipient()
function is used to verify the stream the user tries to interact with is actually the intended one by comparing the stream's recipient and sender to parameters supplied by the user.
This check has been implemented in all deposit*()
functions.
https://github.com/Cyfrin/2024-10-sablier/blob/main/src/SablierFlow.sol#L268
The issue is that this safeguard is missing in the depositAndPause()
function
Tokens may be deposited in an unintended stream.
Manual review
Add the _verifyStreamSenderRecipient()
check in the depositAndPause()
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.