Description: The EggVault::setEggNFT function is restricted to the owner, which is good. However, there is no mechanism to prevent the owner from maliciously changing the NFT contract address after deposits have been made.
Impact: Changing the NFT address makes it impossible for users to withdraw their NFTs, effectively locking all deposited assets in the vault
Recommended Mitigation: Add a one-time initialization for the NFT contract or require a timelock for changes.
Changing the NFT contract address doesn't update the storedEggs and eggDepositors mappings
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.