Sparkn

CodeFox Inc.
DeFiFoundryProxy
15,000 USDC
View results
Submission Details
Severity: low

Functions calling contracts with transfer hooks are missing reentrancy guards

Summary

Functions calling contracts with transfer hooks are missing reentrancy guards

Vulnerability Details

Even if the function follows the best practice of check-effects-interaction, not using a reentrancy guard when there may be transfer hooks will open the users of this protocol up to read-only reentrancies with no way to protect against it, except by block-listing the whole protocol.

Impact

File: src/Distributor.sol
164: token.safeTransfer(STADIUM_ADDRESS, token.balanceOf(address(this)));

164

Tools Used

Personal bot

Recommendations

Support

FAQs

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