The constructor
registry address
is set toCharityRegistry(msg.sender
); which assigs to deployer address instead of registry address.
Any calls to registry
is interacting with deployer address not with registry address.
Manual review
Change (msg.sender) to (_registry).
Likelyhood: High, the parameter is not well used and won't be set. Impact: Low, can be changed with the setter and no one will be able to donate to malicious charity.
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.