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

Probable reentrancy in `bridge.cairo::withdraw_auto_from_l1`

Summary

There's a probable reentrancy in `bridge.cairo::withdraw_auto_from_l1` due to the external functions `IERC721BridgeableDispatcher` and `IERC721Dispatcher`.

Vulnerability Details

The attacker could find a way to creatively craft an attack contract that would call the `withdraw_auto_from_l1` repeatedly without updating state.

Impact

Illegal withdraw funds using `withdraw_auto_from_l1`

Tools Used

Manual review

Recommendations

Use reentrancy guard from OpenZeppelin on functions bearing external calls on such critical functions like `withdraw_auto_from_l1` by manipulating the minting process.
Updates

Lead Judging Commences

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

Support

FAQs

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