bridgeNftWithData
function can be call by anyOne which can leads to mint multiple NFTs by not burning the previous chain NFTs
This function bridgeNftWithData
can be called by anyone which can leads to mint multiple NFTs in multiple chains
By calling this function burning of Nft in source chain does not happen
This function bridgeNftWithData
can be called by anyone
An attacker avoid to call bridgeNftToAnotherChain
function which burning the NFT in source chain and directly call bridgeNftWithData
function
By calling this function attacker can mint multiple NFTs in multiple chains
To avoid these activity we need to add a modifier onlyKittyConnect
to restrict the bridgeNftWithData
function to be called by only KittyConnect contract.
A malicious user can mint multiple NFTs in multiple chains by calling bridgeNftWithData
function.
Manual review
Here is the updated code with the modifier onlyKittyConnect
to restrict the function to be called by only KittyConnect contract.
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.