The isVerified
function incorrectly checks if a charity is registered rather than verified, leading to potential misinformation about a charity's verification status
The function currently returns the registration status (registeredCharities[charity]
) instead of the verification status (verifiedCharities[charity]
).
Users may trust unverified charities, leading to potential misuse of funds or support.
Manual Review
Update the function to return verifiedCharities[charity]
to accurately reflect the verification status.
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.