Front-running attack in function buyBox, leading to a concentration of boxes with certain players and potentially unbalancing the system.
The function boxPrice can be adjusted by the owner, and if a user sends a transaction to buyBox while the owner increases the price, the transaction may fail due to the require(msg.value == boxPrice) check. This could potentially be exploited by front-runners.
The randomness or value associated with boxes can be affected if front-runners consistently outbid other legitimate users, leading to a concentration of boxes with certain players and potentially unbalancing the system.
Manual review.
Consider allowing users to specify the price they are willing to pay to avoid race conditions:
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.