A cancellation vote counts while its voter is a member
Cancellation votes are checked against current membership only when the next cancellation is cast. A removed member who is re-added has their earlier vote counted again.
Why this is a risk, not a vulnerability · Requires member consensus
- Program
- Squads V4
- Source
- Squads internal review
- Code
- View at dcac867
When a member casts a cancellation vote, the program first drops stored cancellation votes from keys that are no longer members, then counts what remains against the threshold. The check is on membership, not on current permissions, and it runs only when a new cancellation is cast.
If a member who voted to cancel is removed and later re-added, even without Vote permission, before anyone else casts a cancellation, their earlier vote still counts. Cancelling an approved batch partway through also stops its remaining transactions, including any that would move assets held by the batch’s ephemeral signers (see V4-08).
For how cancellation is counted after config changes in general, see V4-33.
What to do
- Before re-adding a removed member, check approved proposals for cancellation votes from that key.
- Avoid batches where one transaction moves assets to an ephemeral signer and a later transaction is needed to move them on.