When users bridge tokens from starknet to Ethereum with use_withdraw_auto
= true, the bridge process will be reverted, because use_withdraw_auto
mode does not support in Ethereum.
In bridge.cario, when we bridge NFT to Ethereum, we suppose to support different modes. We can set use_withdraw_auto
is true or false.
In Ethereum bridge.sol, when we try to withdraw tokens bridged from Starknet, this behavior will be reverted. This will cause users' NFT is locked.
From the comments in bridge.sol, the auto withdrawal feature is disabled. However, in bridge.cario, we don't add any input parameter limitation.
As one normal user, the normal user goes through deposit_tokens
all parameters, we cannot easily think use_withdraw_auto
= true is the user's mistake.
Users' NFT will be locked.
Manual
Add input parameter check for deposit_token
in cairo bridge.
Impact: High, token will be stuck in L2 bridge. Likelyhood: Very low, option is available in L2 but has been disabled since March on L1, would be almost a user error.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.