SA-25InfoOpenSpending limits
Spending-limit months are fixed at 30 days
A monthly spending limit resets every 30 days, not on calendar months.
Why this is a risk, not a vulnerability · Documented behavior
This is a documented timing property. It cannot be used to exceed the configured amount per period. What is a vulnerability
- Program
- Squads Smart Account
- Source
- Trail of Bits (Appendix C, Squads V4)
- Code
- View at 0e51082
Monthly periods are 30 days, so they drift against the calendar. Resets advance in whole periods from the last reset, and only once more than a full period has passed. Spending-limit policies also offer custom periods in seconds.
What to do
- Integrators: display the next reset as a timestamp, not a calendar date.