The randomness to select a winner in _battle:: RapBattle.sol can be gamed and a person can decide whether the challenger or defender is win when there
battle skills match.
Because all the variables to get a random winner on the contract are blockchain variables and are known, a malicious actor can use a smart contract to game the system and receive the funds and improving its winning status.
Critical
Foundry
Use Chainlink's VRF to generate a random number to select the winner.
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.