Missing owner check in updateRegistry can lead to changing the registery of GivingThanks contract https://github.com/Cyfrin/2024-11-giving-thanks/blob/main/src/GivingThanks.sol#L56.
Upon creating the contract the attacker can change the registery he controls.
Missing owner check can lead to changing the registery of GivingThanks contract by anyone.
Suspicious charities can receive money from donors as they can control the whole registery.
forge
Limit only the update to the owner.
Likelyhood: High, anyone can change it at anytime Impact: High, can bypass the verification process
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.