Skip to content
Security
← Smart Account known risks
SA-19InfoBy designGovernance & configuration

A timelock of zero is valid, so approved proposals can execute immediately

The timelock has a three-month maximum but no minimum. At zero, approval and execution can happen together, and synchronous execution is enabled.

Why this is a risk, not a vulnerability · Misconfiguration

The timelock is chosen by the smart account. Zero is a valid, intended setting. What is a vulnerability
Program
Squads Smart Account
Source
Public program behavior
Code
View at 0e51082

A smart account’s time_lock can be anywhere from zero to three months. At zero, an approved transaction can execute in the same slot it was approved, leaving no window to notice and cancel.

On the smart account program, zero has a second effect: it is the precondition for every synchronous execution path (SA-09). Policies have their own timelock with the same bounds.

What to do

  • Choose a nonzero timelock for smart accounts holding significant value.
  • Integrators: show the timelock prominently, and explain that zero enables synchronous execution.