Issue: No protection against front-running or last-second price changes
Risk
Likelihood:
Occurs during network congestion
More likely with large orders
Impact:
Financial loss for buyers
Poor user experience
Recommended Mitigation
diff
function buyOrder(uint256 _orderId) public {...
function buyOrder(uint256 _orderId, uint256 maxPrice) public {...
https://github.com/CodeHawks-Contests/2025-07-orderbook/blob/main/src/OrderBook.sol
../src/OrderBook.sol
I was unable to select scope in scope
section !
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.