Root Cause: The isVerified function returns the status of registeredCharities instead of verifiedCharities.
Impact: Unverified charities that are merely registered can receive donations, bypassing the intended verification process and allowing potential fraud.
Incorrect isVerified Function:
Issue: Checks registeredCharities instead of verifiedCharities.
Consequence: Any registered charity is considered verified.
Correct the Function to Check verifiedCharities:
Ensure Proper Workflow for Charity Verification:
Only allow verified charities to receive donations.
Maintain clear separation between registration and verification statuses.
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.