Function CharityRegistry::isVerified returns true for each registered charity.
Function CharityRegistry::isVerified considers as verified all charities in array registeredCharities:
However, array registeredCharities contains all registered charities, both verified and not. The correct way is to check verifiedCharities array, that contains only verified charities.
All registered charities are considered as verified and can receive donations.
Manual review
Check array verifiedCharities instead of registeredCharities:
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.