In the veRAACToken.sol the recordVotes function is used by users for recording votes for a specific proposal ID.
In the veRAACToken.sol the recordVotes function is used by users for recording votes for a specific proposal ID. However the function is an external function and can be called by anyone , So any malicious user can come and record votes for any other users without them being knowing irrespective of if they want to vote on that specific proposal. And their vote will be recorded _hasVotedOnProposal mapping.
Manual Review
When updating the state in that function refactor it to using msg.sender instead of openly updating the voter param
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.