Missing validation for an important constructor
parameter
After diving into the FjordAuction
contract in FjordAuction.sol
we can see that the contract has a constructor which takes 4 parameters.
The uint256
variable _biddingTime
which is the duration of the auction in seconds is not checked if it is 0
or a value that is inadequate.
An auction with incorrect duration can be created.
Manual Review
Create an if
statement which checks if _biddingTime
is more than 0
or the minimum duration for an auction that the protocol requires. Example:
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.