SA-23LowAcceptedSpending limits
Spending limits cannot be enumerated from the smart account address
A spending limit's address is derived from an arbitrary seed, so you can't list them without an indexer.
Why this is a risk, not a vulnerability · Requires member consensus
Spending limits are created by the smart account's signers or settings authority. Discovering them is an operational concern, not a bypass. What is a vulnerability
- Program
- Squads Smart Account
- Source
- Neodyme ND-SQD2-I2 (Squads V4)
- Code
- View at 0e51082
Spending limits are derived from the settings address and a seed chosen at creation. Without knowing the seed, you can’t derive the address. A settings authority could add a spending limit before handing over a smart account, and the new owners might not find it.
Policies don’t have this problem: they use a sequential seed, so every policy a smart account has created can be found.
What to do
- When taking over a smart account, find all spending-limit accounts owned by the program that reference its settings.
- Integrators: index spending limits by settings, and show them alongside policies.