The contract owner can change treat costs at any time, potentially disrupting user transactions.
Location: src/TrickOrTreat.sol:setTreatCost()
Proof of Concept:
This could lead to market manipulation, violation of user trust, and potential insider trading. It may cause users to abandon the platform if abused.
Forge
Implement a time-lock mechanism for price changes or limit the frequency of changes.
Only the owner has the rights to change the cost of the treat. Therefore it is assumed that the owner will not change the cost of the pending NFTs. The owner role is trusted.
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.