The isVerified::CharityRegistry
function checks the registeredCharities
mapping instead of verifiedCharities
. This causes the function to return true
for unverified charities
Users may donate to unverified charities, thinking they are legitimate, which could lead to misuse or loss of funds.
CharityRegistry.sol:
GivingThanks.sol
Update the isVerified::CharityRegistry
function to check the verifiedCharities
mapping.
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.