Owner can bid via fn bid
function, and inflate highest price.
fn bid
function :
The bid
function has no check to ensure that the nft owner can't call this function.
POC:
Let us assume a scenario:
Initial price of nft_1=100USDC
Alice bids=>110 USDC
Leroy bids=> 120 USDC
Nft owner calls bid and bids =>200USDC
-> after this point, the highest bid amount will become 200 USDC. This bid will hike the prices for the next bidders, because there is no check present in the function which prevents the owner to bid.
NFT owner can hike prices by bidding on their own nft.
Manual review
Implement checks to ensure nft_owner
can't call fn bid
.
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.