The AuctionFactory
contract's createAuction
function lacks sufficient validation for its input parameters. This oversight could lead to the creation of auctions with invalid configurations or transfer of tokens to incorrect addresses. Implementing basic validation checks for parameters such as biddingTime
, and totalTokens
is crucial to prevent unintended behavior and ensure the integrity of the auction creation process.
The createAuction
function in the AuctionFactory
contract currently lacks checks for the following parameters:
On the Auction side there are zero address checks in place, but that is not enough:
As the createAuction
function transfers totalTokens
to the auction
contract, it is crucial to have these checks in place otherwise the funds will be lost.
Manual review.
Add appropriate checks for biddingTime
and totalTokens
in the createAuction()
function.
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.