Skip to content
Security
← Smart Account known risks
SA-24InfoOpenSpending limits

An empty allowlist means anything is allowed

A spending limit with no destinations can send anywhere. The same holds for empty mint lists and empty program-interaction constraints in policies.

Why this is a risk, not a vulnerability · Misconfiguration

The allowlist is chosen by the smart account. Empty is a valid, intended setting meaning unrestricted. What is a vulnerability
Program
Squads Smart Account
Source
Certora SQRC-01 (Squads V4); public program behavior
Code
View at 0e51082

Spending limits and spending-limit policies accept a destination list. An empty list doesn’t mean “nowhere”; it means any destination. The pattern repeats in policies: an internal-fund-transfer policy with no allowed mints permits any mint, and a program-interaction policy with no instruction constraints permits any instruction from its smart account.

What to do

  • Always set destinations, mints, and constraints explicitly unless you intend them to be open.
  • Integrators: label empty allowlists as unrestricted.