Registered charities can receive donations without being verified by the registry.
CharityRegistry::isVerified
doesn't accurately determine if a charity has been veified for donations because it reads from the registerCharities
mapping instead of verifiedcharities
mapping. As such users can just register charities and still receive donations because the check will always return true.
Unverified charities can receive donations which breaks protocol invariant.
Manual
change the isVerified function to this :
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.