KittyConnect.sol::mintBridgedNFT
increments the counter every time one NFT is bridged in, inflating the totalSupply with copies and creating collection ID collisionsDescription:
KittyConnect.sol::mintBridgedNFT
increments the counter every time one NFT is bridged in. However, the ID is never subtracted, once the NFT is bridged out.
Once an NFT is bridged, it is transferred. Transference means the particular NFT, with those specifications, goes to another blockchain. It doesn't become something else, different.
Impact:
With this approach, several duplicates will be created, inflating the total supply every time an NFT is bridged out and comes back in. It also creates collection ID collisions through all the blockchains that receive these NFTs.
Proof of Concept:
Recommendation:
Consider adjusting the protocol logic to allow the NFT to maintain its original ID in any blockchain.
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.