_cusd
AddressIn ExitShortFacet.sol:30
, the constructor of the contract assigns the passed _cusd
address directly to the cusd
state variable without validating if it is the zero address.
Setting the zero address for critical contract dependencies like _cusd
could halt operations and cause potential loss of funds.
Manual Review
Implement a check in the constructor to ensure that the _cusd
address is not the zero address before assignment.
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.