recoverAuctionTokenForZeroBidAuction
was added after the audit in order to claim the designated tokens in case the auction ended with no bids, but everyone can bid with 1 wei and prevent Dao from claiming these tokens back.
In the beginning, when there is not that big activity in the protocol there will be more auctions without bids, either they are not appealing enough for users or even there is a technical issue such as L2 sequencers failing to deliver. This opens the possibility for anyone to bid with up to 1 wei of auction token and this will be enough to increase the totalBidTokenAmount
and prevent calling the recoverAuctionTokenForZeroBidAuction
since there is a check for non-zero bid amount:
This will result in locked tokens in the SpiceAuction contract without a way to be utilised in another auction, since they are already accounted in the totalAuctionTokenAllocation
:
Loss of auction tokens when someone manages to be the single bid with 1 wei.
Manual Review
Extend the setAuctionConfig
to be able to provide minBidAmount
, that way you will be able to perform some estimation on what will be the minimum bid step which will not leave the protocol with locked tokens per auction.
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.