The updateRegistry
function allows to change the address of the CharityRegistry
.
In the updateRegistry
function, there is no validation of the owner’s address, which allows anyone to change the registry
smart contract address.
Allowing donations to unverified charities can indeed compromise the entire protocol, leading to potential misuse and fraud.
manual review
The onlyOwner
modifier ensures that only the contract owner can update the registry, adding an extra layer of security.
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.