SA-13InfoAcceptedGovernance & configuration
The cancel threshold equals the approve threshold
Cancelling an approved transaction needs as many votes as approving it did.
Why this is a risk, not a vulnerability · Misconfiguration
The threshold is chosen by the smart account. Cancellation rules follow from it as designed. What is a vulnerability
- Program
- Squads Smart Account
- Source
- Neodyme ND-SQD1-I1 (Squads V4)
- Code
- View at 0e51082
Rejecting an active proposal needs enough votes that threshold can no longer be reached. Cancelling an approved one needs a full threshold of cancellation votes. If enough signers are unavailable, an approved transaction can’t be stopped; it can only be left unexecuted. The same applies to policy proposals, using the policy’s threshold.
What to do
- Account for cancellation when choosing a threshold, especially for large smart accounts.
- Use a timelock so there is time to gather cancellation votes.