-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Last-Moment Bid Cancellation Possibility #616
Labels
3 (High Risk)
Assets can be stolen/lost/compromised directly
bug
Something isn't working
duplicate-1323
edited-by-warden
unsatisfactory
does not satisfy C4 submission criteria; not eligible for awards
Comments
c4-submissions
added
3 (High Risk)
Assets can be stolen/lost/compromised directly
bug
Something isn't working
labels
Nov 8, 2023
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 #1784 |
alex-ppg marked the issue as duplicate of #1323 |
alex-ppg marked the issue as unsatisfactory: |
c4-judge
added
unsatisfactory
does not satisfy C4 submission criteria; not eligible for awards
satisfactory
satisfies C4 submission criteria; eligible for awards
and removed
unsatisfactory
does not satisfy C4 submission criteria; not eligible for awards
labels
Dec 8, 2023
alex-ppg marked the issue as satisfactory |
c4-judge
added
unsatisfactory
does not satisfy C4 submission criteria; not eligible for awards
and removed
satisfactory
satisfies C4 submission criteria; eligible for awards
labels
Dec 8, 2023
alex-ppg marked the issue as unsatisfactory: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
3 (High Risk)
Assets can be stolen/lost/compromised directly
bug
Something isn't working
duplicate-1323
edited-by-warden
unsatisfactory
does not satisfy C4 submission criteria; not eligible for awards
Lines of code
https://github.com/code-423n4/2023-10-nextgen/blob/8b518196629faa37eae39736837b24926fd3c07c/smart-contracts/AuctionDemo.sol#L124-L130
Vulnerability details
Impact
The current implementation of the cancelBid function in auctionDemo.sol permits bidders to withdraw their bids up until the exact end of the auction as determined by minter.getAuctionEndTime(_tokenid). This creates an opportunity for a bidder to place an artificially high 'blocking bid' to deter other participants and then withdraw that bid in the last possible block before the auction ends, potentially placing a lower bid immediately after and winning the auction due to the lack of time for other participants to respond.
This behavior compromises the fairness of the auction by allowing a participant to manipulate the bidding process without intending to win with the high bid.
The existence of a high but insincere bid may deter legitimate interest in the auction, potentially reducing the final sale price for the auctioneer.
Recommended Mitigation Steps
Implement a period (e.g., 5 average block time) during which bids cannot be canceled. This lock-in period will prevent last-minute bid cancellations and give participants a clearer view of genuine interest in the auction item.
Assessed type
Other
The text was updated successfully, but these errors were encountered: