The constructor of the SablierFlowBase contract lacks zero address validation for both initialAdmin
and initialNFTDescriptor
parameters.
The constructor assigns the provided addresses directly to state variables without verifying that they are not the zero address (0x0)
If deployed with zero address parameters, core contract functionality would be permanently broken
Admin functions would be inaccessible if initialAdmin
is set to zero address
NFT metadata functionality would be non-functional if initialNFTDescriptor
is set to zero address
This situation would require contract redeployment to fix
Manual code review
Add zero address validation checks in 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.