The claim
function in the SpiceAuction
token can be called by a zero address. The token is unintentionally burnt if this happens!
Here is the vulnerable line of code in the said function:
Before this line, there was no check to checkmate a zero address. Which means a zero address can successfully claim theauctionToken
.
Unintentional token burning as the claimed auctionToken
can neither be accessed nor recovered.
Manual review.
include a custom error that stops a zero address from claiming the tokens.
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.