The protocol stated out in discord that they want to know about any potential issue with ERC-20 tokens that could be added to the system in the future.
If a token with blacklist is used like for example USDC it could happen that USDC tries to freeze all funds of a user and therefore also the funds inside a standard vault. This will disable the liquidation process of not only USDC, but of all tokens inside the vault.
Here we can see the liquidate
function inside the SmartVaultV3
contract and how it loops over all accepted tokens and tries to transfer them to the vault manager:
If any of these tokens blacklisted the user, the whole liquidation process will revert and the vault will not be liquidated.
DoS of the liquidation process for an uncertain amount of time.
Implement a more flexible way to be able to also liquidate specific tokens instead of the whole vault.
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.