SA-17InfoOpenGovernance & configuration
Multi-action settings transactions pass through invalid intermediate states
Actions apply in order and the settings are validated only once, at the end.
Why this is a risk, not a vulnerability · Documented behavior
The final state is always validated and every action was approved. Intermediate states are never observable outside the instruction. What is a vulnerability
- Program
- Squads Smart Account
- Source
- Certora SQRC-03 (Squads V4)
- Code
- View at 0e51082
Within one settings transaction, an action may briefly leave the settings invalid, for example with a threshold above the signer count, as long as a later action fixes it. The invariant runs once at the end, and the transaction fails if the result is invalid. Integrators simulating actions one at a time may see failures the program wouldn’t.
What to do
- Integrators: simulate the whole action list, not each action in isolation.