The creation process of FjordAuction
lacks proper validation for the biddingTime
and totalTokens
parameters.
If biddingTime
is set to 0,
it could end with no bidder that leads to potential lock of whole auctionToken
, because it's sent to the auctionFactory
from which we can't withdraw the token
it lets malicious attackers grab the whole actionToken
instantly by bidding a minimum amount of fjordPoints
, ending the action and claiming all the actionToken
.
If totalTokens
is set to 0, auction would offer nothing for bidders.
Without input validation, auctions could be created with invalid parameters, leading to failed or malfunctioning auctions. This could result in the loss of auction functionality, wasted gas fees, and potential loss of tokens or funds.
Manual Review
Implement validation checks to ensure:
biddingTime
> 0
totalTokens
> 0
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.