Sparkn

CodeFox Inc.
DeFiFoundryProxy
15,000 USDC
View results
Submission Details
Severity: low
Valid

There can be redundant winners in the data and can lead to distribution of winning multiple times.

Vulnerability Details

There is no check in the _distribute function in Distributor contract to check for duplicate winner entry and it can lead to distribution of rewards to the same person multiple times.

Impact

It can have a high impact on the winning distribution to other winners, as if there are redundant entries of the same winner, the prize share for other winner will get impacted.

Tools Used

Manual Testing

Recommendations

To maintain a check for which winner is rewarded and if they are rewarded once they should not be allowed the other time.

Support

FAQs

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

Give us feedback!