Description:Description\
In GaugeUpgradeable users can deposit and withdraw TOKEN. If TOKEN = USDC or any other token that can blacklist addresses, the user will not be able to withdraw. Add a new function with additional parameter recipient to enable withdraws for blacklisted users. The USDC will go to the recipient and the balance mapping for the msg.sender will be updated.
Attack Scenario\
Describe how the vulnerability can be exploited.
Withdrawal of funds by a blocked user to a non-blocked address is also not a good way to resolve this situation. If such a situation arises, it should be resolved in the manner provided by the token
Github username: -- Twitter username: -- Submission hash (on-chain): 0xa6e29c638f06f36e62f6e48be683ba1ec6b5073b6f69d239d084e909c2236840 Severity: medium
Description: Description\ In
GaugeUpgradeable
users can deposit and withdraw TOKEN. If TOKEN = USDC or any other token that can blacklist addresses, the user will not be able to withdraw. Add a new function with additional parameterrecipient
to enable withdraws for blacklisted users. The USDC will go to therecipient
and the balance mapping for themsg.sender
will be updated.Attack Scenario\ Describe how the vulnerability can be exploited.
Attachments
Proof of Concept (PoC) File
Revised Code File (Optional)