code-423n4 / 2021-04-meebits-findings

0 stars 0 forks source link

No zero address checking in contractor #6

Open code423n4 opened 3 years ago

code423n4 commented 3 years ago

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