location : src/SablierFlow.sol
When adjusting the rate per second of a stream via the adjustRatePerSecond
function, there may be a potential for front-running attacks where an attacker anticipates this change and acts accordingly.
If the rate is being increased or decreased significantly, parties may attempt to exploit timing to maximize their benefit.
While the impact may be limited, front-running can lead to unfair advantages and potential financial losses for honest users.
Implement Measures to Mitigate Front-Running: Consider adding mechanisms such as time delays, commit-reveal schemes, or requiring signatures to authenticate intent.
Alternatively, inform users of the potential risk and suggest they use higher gas prices to prioritize their transactions.
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.