Sablier

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

Some tokens may revert when zero value transfers are made

Summary

During the audit we've identified a vulnerability related to zero-value transfers in the Sablier project. Some tokens, like LEND, may revert when zero-value transfers are attempted, deviating from the EIP-20 standard. This behavior can cause transactions involving affected tokens to fully revert.

Vulnerability Details

Zero-Value Transfer Reversion

  • Issue: Certain tokens, like LEND, may revert when zero-value transfers are attempted.

  • Example: Refer to the provided GitHub example for more details on this behavior.

Impact

Transaction Reversion: Zero-value transfers of affected tokens can cause transactions involving these tokens to fully revert.

Tools Used

Manual code review

Recommendations

Add a check to skip token transfers if the transfer amount is zero.

Updates

Lead Judging Commences

inallhonesty Lead Judge about 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.