Description: The mintRapper
function updates contract state after calling the safeMint
function, potentially exposing the function to a reentrancy attack.
Impact: The impact of this vulnerability is currently low due to the absence of any funds at risk in this specific function. However, it can introduce unpredictability and potential security risks.
Recommended Mitigation: Refactor the OneShot::mintRapper
to follow the CEI pattern, placing the state change before the external call for security and predictability.
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.