SA-21MediumAcceptedGovernance & configuration
A batch can be activated before its creator finishes adding transactions
Any signer with Initiate permission can activate a draft batch, freezing it with only the transactions added so far.
Why this is a risk, not a vulnerability · Requires member consensus
Activation requires the Initiate permission the smart account granted. A signer abusing it is a trust problem the smart account resolves by removing them. What is a vulnerability
- Program
- Squads Smart Account
- Source
- Certora M-01
- Code
- View at 0e51082
Batches are built while their proposal is a draft. Only the batch creator can add transactions, but activate_proposal lets any signer with Initiate permission activate it. Once active, no more transactions can be added, and signers vote on a partial batch.
Certora rated this Medium for time-sensitive operations that need every step to succeed. Squads acknowledged the finding: a signer who does this can be removed.
What to do
- Review a batch’s transaction count before approving.
- Don’t rely on batches for time-critical multi-step operations if any signer with Initiate permission is untrusted.
- Integrators: show who activated a batch and how many transactions it holds.