The RankedChoice
contract allows voters to rank candidates for the presidency. However, the contract does not prevent candidates from voting for themselves multiple times. This creates a vulnerability where a candidate, if included in the VOTERS
list, can manipulate the voting process by repeatedly ranking themselves first, skewing the election results in their favor.
The contract allows voters to rank candidates in order of preference, but it does not impose any checks to prevent candidates from voting for themselves or placing themselves at the top of their ranking. This lack of restriction opens up the potential for manipulation, particularly in situations where candidates can also act as voters.
In the above function, any voter
—including candidates
—can submit their ranked choices without restrictions. A candidate who is also a voter can rank themselves as the top candidate potentially multiple times depending on the election rules especially if a candidate controls multiple voting addresses, this manipulation could be compounded.
Candidates can gain an unfair advantage by leveraging multiple addresses to vote for themselves, skewing election results.
Manual Review
Ensure that each address corresponds to a unique voter, reducing the risk of multiple votes from a single candidate.
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.