The initialize
function lacks validation for critical address parameters, potentially allowing zero addresses to be set for creator
and currency
variables.
In the initialize
function, the contract accepts address parameters without validating
since MembershipERC1155
is an upgradeable contract using the initializer
pattern, this function can only be called once, making any misconfiguration permanent.
Permanent loss of contract functionality if currency_ is set to zero address
Potential loss of funds if creator_ is set to zero address when no tokens are minted
Manual Review
checking both parameters against 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.