Sablier

Sablier
DeFiFoundry
53,440 USDC
View results
Submission Details
Severity: medium
Invalid

it is possible to make payments that start in the past

Summary

when creating payments with function createWithTimestamps it is possible to make payments that start in the past.

Vulnerability Details

when creating payments with function createWithTimestamps(LockupDynamic.CreateWithTimestamps calldata params) in SablierV2LockupDynamic there is no check to assert that the params.startTime is not less than block.timestamp in Helpers.sol. This also applies to SablierV2LockupLinear and SablierV2LockupTranched.

Impact

the effect of this vulnerability is not high but it can be used by an attacker to amplify or quicker the damage from another vulnerability.

Tools Used

Manual Audit

Recommendations

ensure that the startTime is not less that the block.timestamp

Updates

Lead Judging Commences

inallhonesty Lead Judge about 1 year ago
Submission Judgement Published
Invalidated
Reason: Design choice

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.