Normal behavior: The required minimum next bid should be calculated exactly based on the configured percentage increase.
Issue: The required bid uses (previousBidAmount / 100) * (100 + X) which does integer division first and loses precision, possibly requiring a lower increase than intended.
Likelihood:
Occurs whenever there is a previous bid with a value that is not a multiple of 100 — common for arbitrary bid amounts.
Every subsequent bidding round may accept a smaller-than-intended increment.
Impact:
Attackers or bidders can outbid with amounts smaller than the configured minimum percentage, subverting auction economics.
May reduce seller revenue and break assumptions about minimum increments.
Integer division in requiredAmount truncates fractions, allowing bids slightly lower than intended.
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.