Wrong initialization CharityRegistry
in the GivingThanks
contract constructor led to use wrong address: msg.sender
instead of address _registry
CharityRegistry address.
The CharityRegistry
contract would be initialized with msg.sender
, which refers to the account deploying the contract, not the intended charity registry address (_registry
). This misassignment could mean the contract operates with a completely wrong registry.
Manual, Foundry
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.