Battle outcomes should be fairly random based on skills, resistant to prediction or manipulation.
The specific issue is using timestamp::now_seconds() % total_skill as rnd, which is predictable and timing-manipulable.
Likelihood: Medium
Attackers simulate timestamp-based rnd before tx submission.
Front-running or timing exploits occur in low-latency environments.
Impact: Medium
Unfair battle outcomes favoring manipulators.
Economic loss for honest players in bets.
Predict current timestamp, compute rnd offline, only submit challenge tx if favorable.
The following mitigate the vulnerability, by usage of a more roboust randomness.
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.
The contest is complete and the rewards are being distributed.