setPassword() is problematic function
setPassword() could be executed from entity different than the owner.
The password can be changed by address different than the owner.
manual testing
add modifier to check for owner
modifer owner() {
require(owner == msg.sender);
_;
}
and add it to setPassword() function like this:
function setPassword(string memory newPassword) external owner {
}
Anyone can call `setPassword` and set a new password contrary to the intended purpose.
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.