It doesn't make sense to create a stream between sender and receiver as same address. So a malicious actor will create many streams by giving same sender address as receiver
In SablierFlow.sol::create()
a user can create a stream between any two entities. A malicious person will spam the protocol by creating infinite no of streams by giving same sender address as receiver. In some cases a sender can give same receiver address by mistake. In this scenario it doesn't make sense to create a stream like that.
So a malicious attacker can create many no of streams as sender and receiver as his address and will spam the protocol as there is no finanical loss to the attacker to do so.
Manual Inspection
Add a check in SablierFlow.sol::_create()
as sender and receiver shouldn't be same
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.