SA-26LowAcceptedSpending limits
Anyone can collect the rent when the settings authority removes a spending limit
Removing a spending limit as the settings authority sends its rent to an address the caller chooses.
Why this is a risk, not a vulnerability · Documented behavior
Only the settings authority can remove a spending limit this way, and it chooses the recipient. The rent is small and belongs to whoever the authority designates. What is a vulnerability
- Program
- Squads Smart Account
- Source
- Neodyme ND-SQD2-L2 (Squads V4)
- Code
- View at 0e51082
remove_spending_limit_as_authority accepts any rent collector. Removing a spending limit through a settings transaction sends the rent to the rent payer who executes it. Policies are different: removing a policy always returns rent to the policy’s stored rent collector.
What to do
- Settings authorities: check the rent collector before signing a removal.