Open code423n4 opened 3 years ago
JMukesh
The parameter that are passed in constructor , they will be used to initialize the state variable , since these state variable are used in many function , error in these state variable can lead to redeployment of contract
https://github.com/code-423n4/2021-04-redacted/blob/main/Beebots.sol#L204
slither
add require condition in constructor to check zero address
Handle
JMukesh
Vulnerability details
Impact
The parameter that are passed in constructor , they will be used to initialize the state variable , since these state variable are used in many function , error in these state variable can lead to redeployment of contract
Proof of Concept
https://github.com/code-423n4/2021-04-redacted/blob/main/Beebots.sol#L204
Tools Used
slither
Recommended Mitigation Steps
add require condition in constructor to check zero address