The USDC blacklisting feature can disrupt the protocol flow by preventing USDC transfers to blacklisted users during the redemption process.
Vulnerability Detail
USDC has a built-in blacklisting feature that can prevent certain users from receiving USDC tokens. This poses a significant risk to the protocol flow, particularly in the redemption process managed by RedemptionVault.sol. If a user holding mTBILL tokens is blacklisted in the USDC contract, the following issues arise:
The user initiates a redemption transaction to exchange mTBILL for USDC.
The redemption transaction proceeds as normal until the point where USDC needs to be transferred to the user.
The transfer fails because the user is blacklisted, leaving the transaction incomplete and potentially locking the user's assets.
meltedblocks
medium
Risk of USDC Blacklisting Breaking Protocol Flow
Summary
The USDC blacklisting feature can disrupt the protocol flow by preventing USDC transfers to blacklisted users during the redemption process.
Vulnerability Detail
USDC has a built-in blacklisting feature that can prevent certain users from receiving USDC tokens. This poses a significant risk to the protocol flow, particularly in the redemption process managed by
RedemptionVault.sol
. If a user holding mTBILL tokens is blacklisted in the USDC contract, the following issues arise:Impact
Medium
Code Snippet
Redeem function - https://github.com/sherlock-audit/2024-05-midas/blob/main/midas-contracts/contracts/RedemptionVault.sol#L61
Blacklist feature in USDC contract:
Tool used
Manual Review
Recommendation
Implement checks to ensure that users are not blacklisted before proceeding with the redemption process.