The executing signer's signature extends into inner instructions
If the signer who executes an asynchronous 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 Smart Account
- Source
- Certora SQ-001 (Squads V4); public program behavior
- Code
- View at 0e51082
Solana merges account privileges when the same account appears twice in one transaction; the higher privilege wins. The signer who executes a transaction or batch transaction signs the outer transaction. If that signer’s account also appears in the stored inner message, their signature carries into the inner instructions. This is the same behavior documented for Squads V4 as V4-01.
Synchronous execution is different: smart account signers have their signer privilege removed before inner instructions run, so this applies to execute_transaction and execute_batch_transaction, not to synchronous execution. Other outer signers that are not smart account signers, such as a separate fee payer, keep their privileges in both flows.
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 signer with no stake in the inner transaction execute it.
- Integrators: detect the executing signer in the inner message and block or hard-warn at both execution and vote time.