President Elector

First Flight #24
Beginner FriendlyFoundry
100 EXP
View results
Submission Details
Severity: high
Invalid

Lack Of Candidate Checks On Vote Submission

Summary

There is a lack of check on candidate list when a vote is submitted.

Vulnerability Details

The lack of checks include:

  • no check on duplicate candidates

  • no check on zero length orderedCandidates

Impact

The voter potentially loses their right to vote correctly.

Tools Used

Manual review, testing

Recommendations

Consider adding the candidate list checks before completing the vote recording.

Updates

Lead Judging Commences

inallhonesty Lead Judge about 1 year ago
Submission Judgement Published
Validated
Assigned finding tags:

rankCandidates() allows duplicate votes inside the `orderedCandidates` array

Appeal created

inallhonesty Lead Judge about 1 year ago
Submission Judgement Published
Invalidated
Reason: Incorrect statement
Assigned finding tags:

rankCandidates() allows duplicate votes inside the `orderedCandidates` array

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.