Skip to content
Security
← Smart Account known risks
SA-34LowAcceptedOperations & integration

Program config accepts an unusable authority or treasury

The program-wide fee, treasury, and authority are only checked to be non-default. A bad treasury would block all account creation.

Why this is a risk, not a vulnerability · Documented behavior

The program config is controlled by Squads. Its settings are an operational trust assumption, not something an outsider can change. What is a vulnerability
Program
Squads Smart Account
Source
Neodyme ND-SQD2-L1 (Squads V4)
Code
View at 0e51082

The program config holds the creation fee, the treasury that receives it, and the authority that can change both. Creating a smart account pays the fee to the treasury. The fee has no maximum, and a treasury that can’t receive SOL would make every creation fail.

What to do

  • Integrators: read the current creation fee before building a creation transaction.