Fake Token Can Be Used To Block Real BribeRewarders
Summary
The Voter function allows a maximum of 5 BribeRewarders. This should incentivise the community to vote for certain pools. However creating a BribeRewarder is permissionless. Users may create BribeRewarders with fake tokens to block the entrance of real incentivicers to the system and there is no way to prevent it.
Vulnerability Detail
Anyone can create a BribeRewarder for a pool with a scam or fake token. This may achieve the exact opposite effect to the one desired.
Impact
This can prevent the system for operating as expected.
slowfi
Medium
Fake Token Can Be Used To Block Real
BribeRewarders
Summary
The
Voter
function allows a maximum of 5 BribeRewarders. This should incentivise the community to vote for certain pools. However creating a BribeRewarder is permissionless. Users may create BribeRewarders with fake tokens to block the entrance of real incentivicers to the system and there is no way to prevent it.Vulnerability Detail
Anyone can create a
BribeRewarder
for a pool with a scam or fake token. This may achieve the exact opposite effect to the one desired.Impact
This can prevent the system for operating as expected.
Code Snippet
Voter.sol#L130-L144
Tool used
Manual Review
Recommendation
Allow the admin to erase fake
BribeRewarder
if detected.Duplicate of #190