The constructor for setting the guardian address in the `TadleFactory.sol` lacks zero address validation and the absence of a mechanism to update the guardian address in the future.
In the constructor, the guardian address is set directly without any checks to ensure it is a valid, non-zero address. Additionally, there is no mechanism in place to update the guardian address after the contract has been deployed.
If the constructor is called with a zero address as the guardian, the contract will be left with an invalid guardian, preventing any authorized user from calling the deployUpgradeableProxy function. This would hinder the deployment of upgradeable proxies, as no valid guardian would exist to perform this critical action.
Manual
To mitigate this issue, it is essential to include a validation check in the constructor to ensure that the guardian address is not set to the zero address.
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.