40,000 USDC
View results
Submission Details
Severity: medium
Valid

Malicious seller can grief buyer by using a USDC blacklisted address

Summary

If an escrow contract is created with USDC, and the seller provides a blacklisted address, the funds will be permanently stuck in the escrow contract.

Vulnerability Details

There are two scenarios for the griefing:

  1. If a buyer creates an escrow contract with USDC, and uses a blacklisted address that the seller provides, the seller can start a dispute, and when resolving the dispute, the transfer to the seller will cause the transaction to revert, causing the funds to be stuck in escrow permanently.

  2. If a buyer creates an escrow contract with USDC, and uses a blacklisted address that the seller provides, the buyer tries to confirmReceipt(), which will fail due to the transfer to a blacklisted address.

Impact

Causes the funds to be permanently stuck in the contract.

Tools Used

Manual

Recommendations

  • Allocate the tokens as balance in the contract when resolving the dispute, and require each party to pull from the escrow contract.

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.