SA-36InfoBy designOperations & integration
One settings account controls many smart account addresses
Each settings account controls up to 256 smart accounts by index. Funds sent to the settings address itself may be unrecoverable.
Why this is a risk, not a vulnerability · Documented behavior
Address derivation is a documented property. Sending funds to a non-smart-account address is a user error. What is a vulnerability
- Program
- Squads Smart Account
- Source
- Public program behavior; repository README
- Code
- View at 0e51082
Smart accounts are derived from the settings address and an account_index from 0 to 255. They exist as soon as they’re funded and need no creation; the program does not track which indices are in use. The repository README warns that funds should be sent to a smart account, never the settings address.
What to do
- Only send funds to a smart account address, never the settings address.
- Integrators: check all indices, or index transfers, when showing a smart account’s balances.