Sablier

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

Possible honeypot attacks on secondary exchanges

Summary

Honeypot attacks could be possible for NFT sales for sablier

Vulnerability Details

In sablier all users that get streamed tokens upon creation will be minted a sablier NFT. This NFTs are tradeable, for example, see here.

This opens up a possible honey pot on secondary market for NFT sales. This opens up two scenarios for a honeypot attack

  1. The previous recipient (i.e. owner of the NFT) can essentially list a NFT for sale for the supposed value of the amount yet to be streamed, and right before the sale of the token, initiate a withdrawal via withdraw()/withdrawMax() for the max possible withdrawable amount, profitting from the sale and retaining a portion of the streamed amount.


  1. A malicious user can set-up multiple very profitable streaming for a self-owned recipient address, and list the NFT for sale on secondary exchanges. Right before the sale of the token, abuse their permissions as the stream sender to call cancel()/cancelMultiple, where-in they are refunded the unstreamed amounts computed as senderAmount, essentially selling an NFT for a valuation that assumes there is still streaming, but instead receives a NFT that no longer streams funds.

Impact

  • Malicious streamers/recipients can abuse permissions to perform honeypot attacks for NFT sales

Tools Used

Manual Analysis

Recommendations

Burn the streaming NFT when cancel is called.

Updates

Lead Judging Commences

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

NFTs integration with DEFI projects (market, lending etc) can be exploited/won't work

0xnevi Submitter
over 1 year ago
0xnevi Submitter
over 1 year ago
inallhonesty Lead Judge
about 1 year ago
inallhonesty Lead Judge about 1 year ago
Submission Judgement Published
Validated
Assigned finding tags:

NFTs integration with DEFI projects (market, lending etc) can be exploited/won't work

Support

FAQs

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