The lack of re-registration checks can lead to data integrity issues and potential exploitation, which can be mitigated by adding a simple check in the registration function.
The registerCharity function allows any address to be registered as a charity without checks. Re-registration of an already registered charity address is possible, which can overwrite previous state without any warning or error.
Re-registration can lead to confusion or errors in tracking which charities are newly registered.
Manual Review
Implementation of check that charity already registered
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.