SA-07InfoBy designSigning & execution
Governance actions cannot be clear-signed on a hardware wallet
Votes and executions reference accounts, and synchronous transactions carry their instructions as bytes. A hardware wallet cannot show what is being approved.
Why this is a risk, not a vulnerability · Documented behavior
This is a limit of hardware-wallet display, not an authorization flaw. The signer still authorizes the action. What is a vulnerability
- Program
- Squads Smart Account
- Source
- Public program behavior
- Code
- View at 0e51082
A vote names a proposal account; an execution names a transaction account. Neither contains the instructions being approved, so a hardware wallet shows only opaque data. Synchronous execution embeds the inner instructions as serialized bytes, which are equally opaque to a device.
Signers relying on hardware wallets are trusting the interface that built the transaction.
What to do
- Verify the decoded transaction in more than one interface before signing.
- Integrators: provide a way to inspect the exact transaction independently of your interface.