You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(From the contracts that are part of this repo, it's not immediately clear what the referrals are used for.)
If they are used for anything, rational actors will always refer themselves to maximize profits making the referral system useless.
Recommended Mitigation Steps
Whitelist big influencers that are allowed to be used as referrals to avoid everyone referring themselves or another account they control.
The text was updated successfully, but these errors were encountered:
Even if this is calculated off-chain, technically being able to refer ourselves is an issue. Even offchain this needs to be filtered out which is extra work. I'm keeping this as low risk.
Handle
cmichel
Vulnerability details
Vulnerability Details
When depositing, a referral can be chosen and the only check is:
One can refer themselves
Impact
(From the contracts that are part of this repo, it's not immediately clear what the referrals are used for.)
If they are used for anything, rational actors will always refer themselves to maximize profits making the referral system useless.
Recommended Mitigation Steps
Whitelist big influencers that are allowed to be used as referrals to avoid everyone referring themselves or another account they control.
The text was updated successfully, but these errors were encountered: