20,000 USDC
View results
Submission Details
Severity: medium

safeTransfer must be used instead for transfers

Summary

token transfers are not using safeTransfers

Vulnerability Details

there are many instances where transfer and transferFrom are used, whereas token may have different implementations of transfers that result in challenges with ensuring tokens sent correctly, return values, token loss, reverts etc

Impact

Medium: not using safeTransfer creates problems with error handling,token loss, and proper reverting of transactions

Tools Used

Manual Analysis

Recommendations

It is recommended to make use of SafeERC20 wrapper for all token transfers e.g using SafeERC20 for IERC20 etc by using OpenZeppelin SafeERC20 library

Support

FAQs

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

Give us feedback!