Platform: Code4rena
Start Date: 28/10/2021
Pot Size: $30,000 ETH
Total HM: 8
Participants: 19
Period: 3 days
Judge: leastwood
Total Solo HM: 4
Id: 47
League: ETH
Rank: 18/19
Findings: 1
Award: $91.71
🌟 Selected for report: 0
🚀 Solo Findings: 0
91.7149 USDC - $91.71
ych18
No access control for the initialize() function. Hence, if the contract is deployed, an attacker could call this function before the deployer and set the different parameters of initialize().
Recommendation: Use a constructor that set a deployer address. Add an access control for the initialize() function that allows only the deployer to call this function
#0 - 0xleastwood
2021-12-04T09:00:16Z
#40