The contract allows the owner to revoke their own signing role by calling the revokeSigningRole function with the owner’s address. This results in the owner losing signer privileges, which does not align with the intended access control model.
Likelihood: High
The owner can unintentionally revoke their own signing role.
Impact: Low
While the owner is removed from the signers list, this is not permanent. The owner can restore their signer status by granting themselves the signing role again.
The following unit test demonstrates that the owner successfully revokes their own signing role, reducing the signer count accordingly:
Prevent revocation of the owner’s signing role by adding a check in revokeSigningRole to revert when the target account is the owner:
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.
The contest is complete and the rewards are being distributed.