In BridgeSteth.sol:24
, there's a lack of validation for the diamondAddr
parameter passed to the constructor. Specifically, there is no check to verify that diamondAddr
is not the zero address.
If the zero address is accidentally set as the diamond
address, it could result in loss of control over any logic or functionality that relies on the onlyDiamond
modifier.
Manual Review
It is recommended to add a check that reverts the transaction if the zero address is passed as the diamondAddr
parameter to the constructor.
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.