The constructor of the TaddleFactory.sol
contract sets the guardian
who is the admin. The guardian
has certain admin privileges such as deployment of upgradeable proxies.
The constructor function lacks address(0)
check which means an address(0)
can be set as the guardian
.
Allowing a zero address to be the guardian
will disrupt some of the protocol functionalities that are only delegated to the guardian
for which there is check against the zero address
Manual Review
Consider adding the zero address check in the constructor function
This will ensure that the zero address is not set as the guardian
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.