SA-18InfoOpenGovernance & configuration
Duplicate detection depends on lists staying sorted
Duplicate signers, destinations, and mints are detected by comparing neighbors in sorted lists.
Why this is a risk, not a vulnerability · Documented behavior
Every write path sorts before validating. This documents an internal assumption, not an exploitable path. What is a vulnerability
- Program
- Squads Smart Account
- Source
- Certora SQRC-05 (Squads V4)
- Code
- View at 0e51082
Signer lists, policy signers, spending-limit signers, and policy allowlists are checked for duplicates by comparing adjacent entries, and signer lookup uses binary search. Both depend on the list being sorted. Every path that writes these lists sorts first. Because the program is upgradeable, the assumption must be preserved by future changes too.
What to do
- Researchers: a path that writes an unsorted list would be in scope; the pattern alone is not.