This protocol is vulnerable to Sybil attack. Here, only 2 addresses will be enough to become the selected Ram.
Only 3 conditions are check for the used tokens in increaseValuesOfParticipants:
Are the NFTs existing ?
Does the first one owned by the caller ?
Is the event finish ?
These conditions allow anyone to select the same challengers everytime. Meaning that any attacker with 2 addresses, each one with a NFT, can use their both NFT until one become the selected Ram.
Likelyhood: High
With just 2 addresses and two tokens, any attacker can become the selected Ram.
Impact: High
Event logic is broken. Attackers can become the winner without risk.
Add a timer between every fight. Prevent users to fight against the same token twice.
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.