NFTBridge
60,000 USDC
View results
Submission Details
Severity: medium
Invalid

Lack of Reentrancy Protection in Escrow contract

Hello ArkProject,

The _depositIntoEscrow and _withdrawFromEscrow functions interact with external contracts (IERC721.transferFrom and IERC1155.safeTransferFrom). These functions could potentially introduce reentrancy vulnerabilities if the external contract being called is malicious and attempts to re-enter the contract before the state changes (like updating the _escrow mapping) are completed.

Mitigation: Implement a reentrancy guard (e.g., using the nonReentrant modifier) to prevent reentrant calls from occurring during token transfers.

Updates

Lead Judging Commences

n0kto Lead Judge 12 months ago
Submission Judgement Published
Invalidated
Reason: Lack of quality
Assigned finding tags:

finding-withdraw-reentrancy-creates-unbridgeable-tokens

Impact: - NFT already bridged won’t be bridgeable anymore without being stuck. Likelyhood: Low. - Attackers will corrupt their own tokens, deploying a risky contract interacting with an upgradable proxy. They have to buy and sell them without real benefits, except being mean. Some really specific and rare scenario can also trigger that bug.

Support

FAQs

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