The signature threshold does not have a bound (expect a zero address check). The lowest possible value is one, which can be considered unsafe, because a single committee member can execute receiveRequest() relays. The threshold can also be set to a value up to the maximum guardians which might be unoptimal if there are a lot of them.
Github username: @0xfuje Twitter username: 0xfuje Submission hash (on-chain): 0x0cc5d64fcb1309e8ea2a654336ebcb870e364cc55ea00ec7eed9ab765aec8c5b Severity: low
Description:
Description
The signature threshold does not have a bound (expect a zero address check). The lowest possible value is one, which can be considered unsafe, because a single committee member can execute
receiveRequest()
relays. The threshold can also be set to a value up to the maximum guardians which might be unoptimal if there are a lot of them.Most.sol
-setComittee()
Recommendation
Consider to add a minimum (1+) and reasonable maximum bound for
signatureThreshold
.