In CharityRegistry.sol, isVerified function returning the wrong mapping.
The function isVerified returns wrong parameter registeredCharities, basically this is a logic error, while the function should return verified charity users but instead this is returning registered charity users.
Donations might be send to unverified users.
This can mislead about verification status.
Will impact trust & transparency.
Manual Review
Change the Code to this: So that it will return Correct Status of Verified Charitiess.
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.