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

Race Conditions in Multi-Owner Scenarios in Bridge Contract

Hello ArkProject,

If the contract is deployed in a scenario where multiple users or owners interact with the same functions (e.g., depositing and withdrawing tokens), race conditions might occur. For example, if two users attempt to withdraw the same tokens simultaneously, it could lead to inconsistencies or lost tokens.

Mitigation: Implement checks to ensure that only one transaction can process a particular set of tokens at a time, possibly using mutexes or similar mechanisms.

Updates

Lead Judging Commences

n0kto Lead Judge 12 months ago
Submission Judgement Published
Invalidated
Reason: Incorrect statement

Support

FAQs

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