Sablier

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

L2’s time characteristics may cause users to lose assets

Summary

The project is designed to unlock tokens based on time. And it will also be deployed on L2. In L2, time is not completely determined, and time offsets of several hours may affect users with shorter lock times.

Vulnerability Details

For example, in Arbitrum, there is a description of time offset.

If user A reaches an agreement with user B, A pays B after 5 hours of locking. When the real time reaches 5 hours later, due to the time characteristics of L2, the time on the chain may not reach 5 hours later. At this point A cancels the payment, but B may have completed his work and B suffers a loss. The same situation may also allow B to receive payment in advance due to time characteristics. causing losses to A.

Impact

L2’s time characteristics may cause users to lose assets

Tools Used

manual

Recommendations

It is recommended to limit the shortest lock time to prevent losses caused by normal L2 time offset.

Updates

Lead Judging Commences

inallhonesty Lead Judge over 1 year ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity
Assigned finding tags:

Info/Gas/Invalid as per Docs

https://docs.codehawks.com/hawks-auditors/how-to-determine-a-finding-validity

Support

FAQs

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