When we are bridging Tokens L1<->L2
if the NFT collection in the source chain has no address on the destination chain, we are deploying new ERC721 NFT collection addresses and attaching them.
When deploying the NFT collection, we are deploying it with an owner
, which is L1Bridge
.
Ownership is transferred to the msg.sender
of initialize
, which is L1Bridge
who deployed the proxy contract with that init data.
The problem is there is no way to transfer the ownership of a given ERC721
collection, which is not the case in L2
, where the ownership can be transferred to another owner.
This will result inability to transfer the ownership of a given collection on L2
that has a deployed address on L1
to another owner (like the original creators of that NFTs), which is not the way the L2Bridge
work.
Bridge is active
Tokens are Bridge L1<->L2
There are new collections created on L1
and attached to original collections on L2
There are new collections created on L2
and attached to original collections on L1
The admin decided to transfer ownership of a given collection created on L1
The admin will be able to transfer the ownership of that collection.
Inability to change ownership of Created NFT collections on L1
Manual Review
Implement a function to change the ownership of an NFT collection on L1Bridge
, the same as that in L2Bridge
.
NOTE: This Mitigation is not tested, so it may be implemented correctly.
Likelyhood/Impact: High, it will never (until an upgrade) be able to update or transfer the ownership of any collections created on L1.
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.