The normal behavior of the rap_battle module is to compute a winner based on the challenger and defender's skills. The specific issue is that the randomness used to determine the winner is derived from. timestanp:: now_seconds() This function returns a value that can be influenced or predicted by validators, making the outcome of the battle vulnerable to manipulation.Describe the normal behavior in one or more sentences
Likelihood:
A validator can include or delay transactions to influence the timestamp of the next block.
The rnd variable is a simple modulo of the timestamp, making its value predictable given the total skill.
Impact:
A malicious validator or user could guarantee victory, unfairly winning the entire prize pool.
This undermines the integrity and trust of the game, as battle outcomes are not truly random.
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.