The README specifies that all NFT auctions should last exactly 3 days from the first bid. Users expect enough time to place competing bids during this period.
In the current implementation, the auction ends 15 minutes after the first bid (S_AUCTION_EXTENSION_DURATION). The timer is extended only by 15 minutes if a subsequent bid is placed close to the end. This is much shorter than the 3-day duration documented in the README.
If we look at the README.md and the implementation there's a discrepancy. The S_AUCTION_EXTENSION_DURATION variable is set to 15 minutes and is added to the current block.timestamp i.e only 15 minutes and is stored in the auctionEnd property of the Listing struct
The README.md that the auction end after 3 days but to this issue it ends in just 15 minutes after 1st bidding.
Likelihood:
High, because this occurs for every NFT listed and bid.
Any auction with at least one bid will only last 15 minutes unless extended, contrary to user expectations.
Impact:
Users may miss opportunities to participate in auctions.
Sellers may receive fewer bids than anticipated, reducing potential revenue.
Misleading documentation can lead to loss of trust in the platform.
In this test we can clearly see that just after 16 minutes of first we aren't able to make the 2nd bid because auction has ended.
There is one simple mitigation just change the value of S_AUCTION_EXTENSION_DURATION from 15 minutes to 3 days.
Documentation for BidBeasts Marketplace is incomplete or inaccurate, potentially leading to misconfigurations or security misunderstandings.
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.