Closed c4-submissions closed 11 months ago
141345 marked the issue as duplicate of #962
alex-ppg marked the issue as not a duplicate
alex-ppg marked the issue as duplicate of #1644
alex-ppg marked the issue as not a duplicate
alex-ppg marked the issue as duplicate of #737
alex-ppg changed the severity to QA (Quality Assurance)
alex-ppg marked the issue as grade-c
Lines of code
https://github.com/code-423n4/2023-10-nextgen/blob/main/smart-contracts/AuctionDemo.sol#L58
Vulnerability details
Impact
Auction can be won with a difference of 1 wei which could results to unfair and spammy auctions.
Proof of Concept
Auctions does not provide a minimum bid amount. it allows anyone to bid as little as they can, this opens up space for MEV to win auctions with as little as 1 wei difference.
The issue with this setting is that MEV bot could wait through
getAuctionEndTime
and bid with an amount greater than the higher bidder with 1 wei and win the auction. This could also results to lot of spam bids since bidders could bid within arbitrary range pushing more info intoauctionInfoData
array.Tools Used
Manual Review
Recommended Mitigation Steps
Consider adding a min bid amount.
Assessed type
Context