The argument for setPassword is in plain string format, which would expose the new password easily to anyone looking at the transaction. Furthermore, this critical function should not be emitting an event which would alert others to the transaction.
The argument for setPassword is in plain string format, which would expose the new password easily to anyone looking at the transaction. Furthermore, this critical function should not be emitting an event which would alert others to the transaction.
Potential loss of password and control of contract
Hardhat
New password should be encoded. Remove event SetNetPassword().
Private functions and state variables are only visible for the contract they are defined in and not in derived contracts. In this case private doesn't mean secret/confidential
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.