The constructor of GivingThanks
accepts address of the registry
but uses msg.sender
to instantiate it.
The instance of the CharityRegistry
should be initialized with the address of a registry contract. However, it is initialized with msg.sender in the constructor of GivingThanks
.
This way, the registry
instance is not created properly.
Manual
Initialize the registry
with the right address.
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.