Using the mint( ) and mintBatch( ) functions of ERC1155 token, an address with MINTER_ROLE
can burn an arbitrary amount of tokens.
If the private key of the deployer or an address with the MINTER_ROLE
is compromised, the attacker will be able to mint an unlimited amount of erc1155 tokens. I believe this is unnecessary and poses a serious centralization risk.
The MINTER_ROLE
could mint excessive amounts of ERC1155 tokens
manual
Consider removing the MINTER_ROLE
, make the ERC1155 token only mintable by the owner, and make the OWPIdentity contract to be the owner and therefore the only minter.
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.