The executing member's signature extends into inner instructions
If the member who executes a transaction is also named in it, their signature authorizes those inner instructions too.
Why this is a risk, not a vulnerability · Requires member consensus
- Program
- Squads V4
- Source
- Certora SQ-001
- Code
- View at dcac867
Solana merges account privileges when the same account appears twice in one transaction; the higher privilege wins. The member who executes a vault or batch transaction signs the outer transaction. If that member’s account also appears in the stored inner message, their signature carries into the inner instructions.
Certora demonstrated this on a 2-of-3 multisig: two members approve a transaction that sends 1 SOL from the vault to a victim member, then 99 SOL from the victim to an outsider. When the victim executes, they lose 99 SOL. The same transaction fails if anyone else executes it.
Squads adopted Certora’s interface-warning mitigation. The on-chain options were not implemented, and the program is immutable.
What to do
- Before executing, check whether your wallet appears anywhere in the transaction. If it does, read every instruction that touches your accounts.
- Prefer having a member with no stake in the inner transaction execute it.
- Integrators: detect the executing member in the inner message and block or hard-warn at both execution and vote time.