The bid
function doesn't include a check to stop zero-value bids. this would allow users to submit bids with an amount of zero, leading to unnecessary state changes, event emissions, and potential logical inconsistencies within the auction process.
There is no check to ensure that amount
is greater than zero. This allows users to call the function with an amount of 0.
Users can call the function with 0 amount, consuming gas and emitting events without contributing to the auction.
Zero or near-zero bids could artificially inflate the number of participants without meaningful contribution.
An attacker could submit many tiny bids to increase gas costs for auctionEnd function for real bidders.
Extremely small bids might lead to dust amounts during token distribution, potentially leaving unclaimed tokens in the contract.
Mannual Review
Implement a minimum bid amount check in the bid function, by defining a constant MINIMUM_BID_AMOUNT value
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.