The CharityRegistry::isVerified
function which is used in GivingThanks::donate
function checks for charity registration instead of verification, this could potentially lead to users contributing to causes that might be imitating others and therefore being conned of their funds since anyone can register their own charity
The donate
function below has a require that is meant to check whether a charity is verified.
But instead checks whether a charity is registered.
This could lead to users donating funds to fake charities that imitate others and potentially losing their funds.
Manual Review
make the following modification to the CharityRegistry::isVerified
function
Likelyhood: High, the function returns registered charities instead of verified ones. Impact: High, Any charities can be registered by anyone and will be declared as verified by this function bypassing verification.
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.