Sparkn

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

Missing checks for `contestId` for duplication or zero value

Summary

Missing checks for contestId for duplication or zero value

Vulnerability Details

There are some missing limits in these functions, and this could lead to unexpected scenarios. Consider adding a min/max limit for the following values, when appropriate.

Impact

File: src/ProxyFactory.sol
105: function setContest(address organizer, bytes32 contestId, uint256 closeTime, address implementation)

105

Tools Used

Personal bot

Recommendations

Add proprate checks for contestId.

Support

FAQs

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