BidBeastsNFTMarketPlace.solDescription: The README.md states that the contract supports:
There is no deadline being implemented. After an intial bid is placed, the auction gets set on a 15 minute timer. This disrupts the intended functionality and use of the protocol.
Risk:
IMPACT: LOW
There are no funds at risk, but the protocol is designed to have auctions last 3 days, not 15 min.
LIKELIHOOD: HIGH
This will happen on every single NFT listed for sale.
Proof of Concept: Insert this test into BidBeastsMarketPlaceTest.t.sol:
The result of the console.log will show that there are 900 seconds remaining in the auction, not the 3 days that were promised (in the README.md) once an auction began.
Recommended Mitigation: Add the following code to BidBeastsNFTMarketPlace.sol:
Now, inside of the BidBeastsNFTMarketPlace::placeBid() function, edit the logic to set a 3 day duration rather than 15 minutes.
I would also now add a new event of AuctionStarted and replace it where we first see AuctionExtended.
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.