Skip to content
Security
← V3 known risks
V3-11LowAcceptedGovernance & configuration

Removing a member can silently lower the threshold

If a removal leaves fewer members than the threshold, the threshold drops to match. A remove-then-add 'key rotation' can turn a 2-of-2 into a 1-of-2.

Why this is a risk, not a vulnerability · Requires member consensus

Removing a member requires an approved internal transaction. Members approving a change they didn't read is not a vulnerability. What is a vulnerability
Program
Squads V3
Source
Neodyme SE2
Code
View at c95b767

remove_member lowers the threshold to the remaining member count whenever the removal would leave the threshold unreachable. change_threshold and add_member_and_change_threshold likewise clamp a threshold above the member count down to the member count rather than rejecting it. None of this needs a separate threshold action.

Neodyme described the attack: in a 2-of-2, one member proposes a “key change” containing remove_member(old) then add_member(new). The removal drops the threshold to 1; the addition leaves it at 1. The result is a 1-of-2. Any full-threshold multisig behaves the same way. Squads acknowledged the finding without an on-chain change; the program is immutable. Squads V4 removed automatic recalculation, but documents the broader form as V4-11.

What to do

  • For every internal transaction, compare the threshold and member count before and after. Read each instruction individually.
  • Use remove_member_and_change_threshold when a removal is meant to change the threshold, so the intent is explicit.
  • Treat remove-then-add of the same person as a key rotation only after verifying the new key out of band.