Closed sherlock-admin closed 1 year ago
Escalate
I think this issue is valid duplicate of #57
Escalate
I think this issue is valid duplicate of #57
You've created a valid escalation for 10 USDC!
To remove the escalation from consideration: Delete your comment.
You may delete or edit your escalation comment anytime before the 48-hour escalation window closes. After that, the escalation becomes final.
Agree, valid duplicate of #57
Agree with escalation
Result: Medium Duplicate of #57
gkrastenov
medium
Recipient address in OrderRequest is never validated
Summary
Recipient address in OrderRequest is never validated and can open uncanceled orders forever.
Vulnerability Detail
If the recipient address is not validated, it can cause problems with filling or canceling the order. When the recipient address is equal to address(0) or is a blacklisted address, transferring payment tokens becomes impossible because stablecoins like USDC/USDT do not allow such transfers.
Impact
Orders can be requested but never will be fully filled or closed. Additionally, the money in the contract will become stuck.
Code Snippet
BuyOrderIssuer-214
SellOrderProcessor-171
Tool used
Manual Review
Recommendation
Check for a valid recipient address before requesting an order
Duplicate of #57