V3-13InfoAcceptedGovernance & configuration
Cancellation votes are never removed
A cancellation vote keeps counting after its voter is removed from the multisig, and cannot be withdrawn.
Why this is a risk, not a vulnerability · Requires member consensus
Each vote was cast by a member at the time, and membership changes are approved by the multisig. Configuration changes are prospective, not retroactive. What is a vulnerability
- Program
- Squads V3
- Source
- Public program behavior
- Code
- View at c95b767
cancel_transaction adds the caller to the transaction’s list of cancellation votes and compares the list’s length to the current threshold. Votes are never pruned, so a cancellation from a member who has since been removed still counts. There is no instruction to withdraw a cancellation vote. Squads V4 prunes votes from non-members when a new cancellation is cast; see V4-32.
A related limit on cancellation after the multisig grows is documented in V3-27.
What to do
- Before removing a member, check approved transactions for cancellation votes from that key.