The _distribute function in the Distributor contract lacks a check for duplicate winners in the provided winners array. This absence of validation can lead to participants receiving tokens multiple times, resulting in an unfair distribution and potential loss of trust in the distribution process.
The vulnerability arises due to the missing duplicate address check in the _distribute function. If the winners array contains duplicate addresses, those addresses may receive tokens multiple times, leading to unequal distribution and a negative impact on user trust.
Unfair Distribution: Duplicate addresses can cause some participants to receive more tokens than others, leading to an unfair distribution of rewards.
Trust Erosion: Participants receiving excessive tokens due to duplicates might lose trust in the distribution process and project, affecting their perception of the system's integrity.
Manual Audit
Duplicate Address Check: Implement a check in the _distribute function to ensure that each address in the winners array appears only once.
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.