OneShot::mintRapper
can be called by anyone incrementing the _nextTokenId
of the contract. This function is not restricted to any particular address, and it will always succeed. _nextTokenId
is also used to assign token IDs during minting but is not initialized in the constructor.
Unintentional behavior and potential DoS attack if the contract is meant to start with a non-zero token ID. This is also could lead to a potential Denial of Service (DoS) for abuse if the contract is not intended to be used by anyone.
Manual review with assistance from Audit Wizard
Initialize _nextTokenId
in the constructor. Restrict the OneShot::mintRapper
to a specific address or role.
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.