V4-30Not a defectBy designGovernance & configuration
A timelock of zero is valid, so approved proposals can execute immediately
The timelock is optional. With it set to 0, an approved proposal can execute the moment it reaches threshold.
Why this is a risk, not a vulnerability · Misconfiguration
The timelock is a setting the multisig chooses, and changing it requires threshold approval. Running without one is a supported configuration. What is a vulnerability
- Program
- Squads V4
- Source
- Public program behavior
- Code
- View at dcac867
The program enforces a maximum timelock of three months, so a multisig can’t lock itself out, but no minimum. Zero is the default for many multisigs. With a timelock of 0, nothing separates approval from execution: once a proposal reaches threshold, any member with Execute permission can execute it right away, before other members have a chance to cancel.
Changing the timelock is a config transaction. It needs threshold approval and waits out the current timelock before it executes.
What to do
- If members need a window to review and cancel approved proposals, set a timelock and treat any proposal that lowers or removes it as high-risk.
- Watch for
SetTimeLockconfig proposals the same way you would for threshold or membership changes.