EggVault:depositEgg has no access control.Description: Anyone can call EggVault:depositEgg and put any address the want as the depositor.
Impact: If someone sends an NFT to the EggVault but does not call the depositEgg function, anybody can call the function and put their own address as the depositor, then withdraw that NFT from the EggVault.
Recommended Mitigation: Change the depositEgg logic to transfer the NFT and update theeggDepositors mapping in one function. The storedEggs mapping can also be removed if using this logic.
Front-running depositEgg allows deposit ownership hijacking.
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.