Funds will be stuck if the USDC contract blacklists the destination #479
Labels
bug
Something isn't working
downgraded by judge
Judge downgraded the risk level of this issue
duplicate-32
grade-b
QA (Quality Assurance)
Assets are not at risk. State handling, function incorrect as to spec, issues with clarity, syntax
sufficient quality report
This report is of sufficient quality
Lines of code
https://github.com/code-423n4/2023-09-centrifuge/blob/main/src/UserEscrow.sol#L15
Vulnerability details
Impact
If the USDC contract were to blacklist the predefined destination address, funds stored in the UserEscrow contract would become permanently locked, rendering them inaccessible.
Proof of Concept
UserEscrow contract designed to hold tokens for specific destinations and restrict their transfer only to those destinations, by wards. However, the issue arises when the predefined destination address is blacklisted by the USDC contract, leading to permanent fund lock-up.
Tools Used
Mnaual review
Recommended Mitigation Steps
To address this issue, it is recommended to implement a privileged function within the UserEscrow contract that should allow authorized parties to change the predefined destination address.
Assessed type
ERC20
The text was updated successfully, but these errors were encountered: