# Squads Protocol v4 — Security Configuration Guide **Applies to:** Squads Protocol v4 (Squads Multisig Program v4) **Audience:** Solana protocol teams, signer operators, auditors **Related:** [[multisigs]], [[upgrade-authority]], [[signing-workflow]], [[authority-design]] --- ## 1. What Squads Is Squads Protocol v4 is the standard multisig program on Solana. It allows a group of M-of-N signers to collectively control on-chain actions: program upgrades, treasury transfers, token authority operations, and arbitrary Solana transaction execution. A Squads multisig works by creating a **vault PDA** (Program Derived Address) that becomes the on-chain authority. This vault can hold SOL and tokens, serve as a program's upgrade authority, hold mint or freeze authority, or act as any other Solana account authority. No single member can act alone — every action requires M approvals from the N configured members before it can be executed. Squads v4 is deployed at program address `SQDS4ep65T869zMMBKyuUq6aD6EgTu8psMjkvj52pCf` on mainnet-beta. Key concepts: | Concept | Description | |---------|-------------| | **Multisig** | The on-chain account that stores member list, threshold, and configuration | | **Vault** | A PDA derived from the multisig that holds assets and serves as the signing authority | | **Member** | A public key authorized to create and approve proposals | | **Threshold** | The number of approvals (M) required to execute a transaction | | **Proposal** | A pending action that members vote on (approve or reject) | | **Transaction** | The actual Solana instructions attached to a proposal | | **Time lock** | An optional delay between reaching threshold and execution eligibility | | **Spending limit** | An optional per-member allowance for token transfers without full multisig approval | | **Config transaction** | A transaction that modifies the multisig itself (members, threshold, time lock) | The Squads UI is available at [app.squads.so](https://app.squads.so). The program is open source and has been audited multiple times (OtterSec, Neodyme). --- ## 2. Multisig Creation and Configuration ### 2.1 Choosing Threshold (M) and Members (N) The threshold is the single most important security parameter. It determines how many signers must collude or be compromised for an unauthorized action to succeed. It also determines how many signers you can lose before the multisig becomes unusable. **Spare capacity** = N - M. This is how many signers can be lost (device failure, departure, death, unavailability) before the multisig is locked out permanently. **Collusion resistance** = M. This is how many signers must be compromised or collude for an unauthorized action. You always want both numbers to be greater than 1 for any high-value multisig. #### Recommended Configurations by Use Case | Use Case | Minimum Config | Recommended Config | Notes | |----------|---------------|-------------------|-------| | **Program upgrade authority** | 3-of-5 | 4-of-7 or 5-of-9 | Highest-risk operation. Losing upgrade authority = immutable program. An attacker gaining upgrade authority = full protocol compromise. | | **Treasury ($1M-$10M)** | 3-of-5 | 3-of-5 or 4-of-7 | Balance between security and operational agility. | | **Treasury ($10M-$100M)** | 4-of-7 | 5-of-9 | Higher collusion resistance justified by value at risk. | | **Treasury (>$100M)** | 5-of-9 | 5-of-9 or higher | Consider time lock in addition to high threshold. | | **High-risk operational (parameter changes, market activation)** | 3-of-5 | 4-of-7 with time lock | These actions can create indirect fund loss. Time lock adds a cancellation window. | | **Low-risk operational (fee sweeps, bounded changes)** | 2-of-3 | 3-of-5 | Bounded downside by design. If the authority can only sweep fees to a fixed address within bounds, lower threshold is acceptable. | | **Emergency guardian (pause, halt, tighten only)** | 2-of-3 | 2-of-5 or 3-of-5 | Lower threshold is acceptable because the scope is strictly risk-reducing. The guardian cannot move funds, loosen limits, or resume operations. Speed matters here. | | **Cancellation guardian** | 2-of-3 | 2-of-5 | Veto power is safer to distribute than execution power. Fast response needed. | **Do not use 1-of-N for anything that controls real value or authority.** A 1-of-N multisig is a single point of failure — any one compromised member can drain the vault. **Do not use 2-of-3 for upgrade authority or high-value treasury.** Two compromised signers (or two signers colluding) is a realistic threat. Two founders in the same household, the same office, or the same hotel room at a conference already represents a hidden quorum risk. #### The Math of Spare Capacity | Config | Collusion Resistance (M) | Spare Capacity (N-M) | Loss of Quorum If You Lose... | |--------|-------------------------|----------------------|-------------------------------| | 2-of-3 | 2 | 1 | 2 members | | 3-of-5 | 3 | 2 | 3 members | | 4-of-7 | 4 | 3 | 4 members | | 5-of-9 | 5 | 4 | 5 members | | 3-of-7 | 3 | 4 | 5 members (high availability but lower collusion resistance) | ### 2.2 Time Lock Configuration A time lock adds a mandatory delay between a proposal reaching threshold (enough approvals) and becoming executable. During this window, other members or a cancellation guardian can review and reject the proposal. **How it works in Squads v4:** 1. A proposal reaches M approvals 2. The time lock countdown begins 3. During the time lock period, the proposal cannot be executed 4. Any member can still reject or cancel the proposal during this window 5. After the time lock expires, any member can execute the proposal **Recommended time lock durations:** | Use Case | Recommended Time Lock | Rationale | |----------|----------------------|-----------| | Program upgrade authority | 48-72 hours | Gives time for community review, buffer verification, and cancellation if compromised. Upgrades should never be urgent if you have a guardian that can pause. | | High-value treasury (>$10M) | 24-48 hours | Allows out-of-band verification. If you need faster treasury access, use a separate operational multisig with spending limits. | | High-risk operational changes | 24-48 hours | Parameter changes that expand risk should be slow and cancellable. | | Routine treasury (<$10M) | 0-24 hours | Depends on operational needs. Even a 1-hour time lock helps. | | Emergency guardian | 0 (no time lock) | The entire purpose of the guardian is fast response. Time lock defeats this. | **When NOT to use time lock:** - Emergency/guardian multisigs where speed is critical - Operational multisigs with spending limits already constraining the blast radius - Actions that are already risk-reducing by nature (pause, halt, tighten) **Important:** A time lock without a cancellation mechanism is less useful. The time lock creates the window; the ability to cancel during that window is what makes it a security control. ### 2.3 Spending Limits Squads v4 supports spending limits, which allow individual members to transfer tokens from the vault without a full multisig approval, up to a configured ceiling within a time period. **Use cases:** - Operational wallets that need to pay for infrastructure, services, or contributor payments without convening the full multisig for every transaction - Hot operational multisigs where a single trusted operator handles routine payments **Configuration recommendations:** | Scenario | Recommended Limit | Period | |----------|------------------|--------| | Day-to-day operational expenses | $5,000-$25,000 USDC per member | Daily or weekly | | Marketing/grants payments | $10,000-$50,000 USDC per authorized member | Weekly | | Infrastructure costs | $1,000-$5,000 per member | Daily | **Rules:** - Only configure spending limits on operational multisigs, never on the root/vault multisig that controls upgrade authority - Set limits as low as practically possible — they should cover routine needs, not exceptional ones - Review spending limit usage regularly - Remove spending limits from members who do not need them - If a member with spending limits is compromised, the maximum immediate loss is the spending limit amount per period — this is the design purpose --- ## 3. Member Management ### 3.1 Adding and Removing Members In Squads v4, adding or removing a member is a **config transaction**. It modifies the multisig itself and requires the same M-of-N approval as any other transaction. This is correct — member changes are root-level operations. **Treat member changes with the same seriousness as a program upgrade.** Adding a malicious member dilutes security. Removing a legitimate member reduces spare capacity and may change the effective power balance. **Before adding a member:** 1. Verify the member's public key through an independent, out-of-band channel (not just chat) 2. Have the new member sign a challenge message from their key to prove ownership 3. Confirm the member has a proper hardware wallet setup and understands signing procedures 4. Confirm the member is a unique individual — no shared keys, no second key for someone already in the set 5. Document the addition in your signer register with: public key, individual name, date added, hardware wallet type, backup status **Before removing a member:** 1. Verify that removing the member will not reduce N below a safe threshold 2. Ensure the member's departure does not create a hidden quorum risk (e.g., if the remaining members are all in the same household or entity) 3. After removal, verify the on-chain member list matches your expected state 4. Update your signer register **CLI: Viewing multisig members** You can inspect a Squads multisig on-chain using the Squads CLI or the Solana CLI. With the Squads UI at app.squads.so, navigate to Settings to view the current member list and threshold. ### 3.2 Threshold Changes Changing the threshold is equally sensitive. Lowering the threshold reduces collusion resistance. Raising it reduces spare capacity. **Never change threshold and member list in the same proposal** unless you have carefully modeled the intermediate states. In Squads v4, config transactions are executed atomically, but if you are making multiple config changes in sequence, understand that each one takes effect immediately and changes the rules for subsequent proposals. **Example of a dangerous sequence:** 1. Remove member A (5 members remain in a 3-of-6) 2. Remove member B (4 members remain in a 3-of-5) 3. Lower threshold to 2 (now 2-of-4) Each step is individually reasonable, but the end state is a weak 2-of-4 multisig. Plan the final desired state first, then work backward to determine the safe sequence of changes. ### 3.3 Member Hygiene - **Each member MUST be a unique individual.** No person should control multiple member slots. - **Each member MUST use their own hardware wallet.** No shared devices. - **Regularly audit the member list** against your signer register. At minimum, do this quarterly. At L3+, this should be part of your formal access review process. - **Verify member addresses periodically.** Ask members to prove they still control their key by signing a challenge message. - **Immediately remove departed team members.** Stale members are a security liability — they may still have the hardware wallet and could approve transactions. --- ## 4. Transaction Workflow ### 4.1 How Proposals Work The Squads transaction lifecycle: ``` Create Proposal → Approve (M times) → [Time Lock] → Execute ↘ Reject / Cancel ↗ ``` 1. **Create:** Any member creates a proposal containing one or more Solana instructions 2. **Approve:** Members review and approve. Each approval is an on-chain transaction signed by the approving member. 3. **Time lock (if configured):** After M approvals are reached, the time lock countdown begins. The proposal cannot be executed during this period. 4. **Execute:** After the time lock (or immediately if no time lock), any member can execute the proposal. This submits the actual transaction to the Solana network using the vault PDA as the signer. A proposal can be **rejected** or **cancelled** at any point before execution. Rejection requires a threshold of reject votes. Cancellation can be done by the proposer or through a separate cancel vote. ### 4.2 Transaction Simulation Before Approval **Never approve a transaction you have not simulated and reviewed.** Before approving any proposal in Squads: 1. **In the Squads UI:** Click on the proposal to view transaction details. The UI shows the instructions, program IDs, accounts, and (for known programs) decoded instruction data. The Squads UI provides transaction simulation — use it. 2. **Using the RPC `simulateTransaction` method for independent verification:** You can simulate the transaction independently by sending a `simulateTransaction` RPC request to your RPC provider. This gives you the execution result, logs, and any errors without actually executing. 3. **Using Helius or other simulation services:** For more detailed simulation including balance changes: ```bash curl -X POST https://api.helius.xyz/v0/transactions/?api-key=<YOUR_KEY> \ -H "Content-Type: application/json" \ -d '{"transactions": ["<base64-encoded-tx>"]}' ``` 4. **Check the following in every proposal:** | What to Check | Why | |---------------|-----| | Program ID(s) being called | Verify you are interacting with the expected program, not a malicious clone | | Accounts being written to | Understand which accounts will be modified | | Transfer amounts | Verify the amount matches the stated intent | | Authority changes | Any change to upgrade authority, mint authority, freeze authority, or admin keys is critical | | Instruction data | For known programs, verify decoded parameters. For unknown programs, this is a reason to reject. | | SOL balance changes | Watch for unexpected SOL drainage | ### 4.3 Signing Discipline **Rules for every signer:** 1. **Never approve a transaction you do not fully understand.** If you cannot explain what the transaction does in plain language, reject it and ask the proposer for clarification. 2. **Verify intent out-of-band for high-value transactions.** If someone proposes a $1M treasury transfer, confirm via a separate channel (Signal, phone call, in-person) that the request is genuine and expected. Do not rely solely on the Squads UI or the same chat where the request was made. 3. **Check your hardware wallet screen.** The Squads UI can be spoofed or compromised. Your hardware wallet (Ledger, Keystone) shows the raw transaction details. Verify program IDs and amounts on the hardware wallet display, not just in the browser. 4. **Do not sign in a rush.** Social engineering often involves urgency. "We need to sign this in the next 10 minutes or we lose the opportunity." If an action is truly urgent, it should be an emergency guardian action (which is scoped to risk-reducing operations). Anything else can wait for proper review. 5. **One approval at a time.** Do not batch-approve a queue of pending proposals without individually reviewing each one. ### 4.4 Stale and Pending Proposals Old proposals that were never executed or rejected accumulate in the multisig. These are a risk: - **Context drift:** A proposal created weeks ago may no longer be appropriate given current conditions (token prices, protocol state, team composition) - **Pre-signed risk:** If M-1 members have already approved and the proposal is waiting for one more signature, a single compromised member can execute it at any time - **Confusion:** A large backlog of pending proposals makes it harder to spot new malicious proposals **Best practices:** - Review pending proposals weekly - Cancel any proposal that is more than 7 days old and has not been fully approved - Cancel any proposal whose context has changed (e.g., a treasury transfer proposed at a different token price) - After any member change, review all pending proposals — a removed member's prior approvals may still count --- ## 5. Squads as Program Upgrade Authority This is the highest-stakes use of Squads. The upgrade authority can deploy arbitrary new code to your program address. An attacker who controls the upgrade authority owns the protocol completely. ### 5.1 Transferring Upgrade Authority to Squads To transfer a program's upgrade authority to a Squads vault: 1. **Identify your Squads vault address.** This is the vault PDA derived from your multisig. In the Squads UI, go to your multisig and find the vault address (it is displayed in the Settings or Vault section). It is a PDA derived from the multisig account and a vault index (typically index 0). 2. **Transfer the upgrade authority using the Solana CLI:** ```bash solana program set-upgrade-authority <PROGRAM_ID> \ --new-upgrade-authority <SQUADS_VAULT_ADDRESS> \ --upgrade-authority <CURRENT_AUTHORITY_KEYPAIR> ``` 3. **Verify the transfer:** ```bash solana program show <PROGRAM_ID> ``` The output should show the upgrade authority as your Squads vault address. **WARNING:** This is irreversible in practice. Once the upgrade authority is the Squads vault, only the Squads multisig can change it. If you lose quorum on the multisig, the program becomes effectively immutable. There is no recovery path outside of the multisig. **Before transferring:** - Verify the Squads vault address is correct — triple-check, ideally from multiple independent sources - Ensure all multisig members are correctly configured and can sign - Test the full upgrade workflow on devnet first with a test multisig and test program - Confirm that you have spare capacity in the multisig (N-M >= 2 recommended) - Document the vault address in your authority map ### 5.2 The Buffer Account Workflow Program upgrades on Solana use a buffer account pattern. The new program code is written to a temporary buffer, and then the upgrade instruction swaps the program's executable data to point to the buffer contents. **Full upgrade workflow through Squads:** 1. **Build the program:** ```bash anchor build # or cargo build-sbf ``` 2. **Create a buffer and write the program to it:** ```bash solana program write-buffer <PROGRAM_SO_PATH> ``` This outputs a buffer address. Save this. 3. **Set the buffer authority to the Squads vault** (so only the multisig can use it): ```bash solana program set-buffer-authority <BUFFER_ADDRESS> \ --new-buffer-authority <SQUADS_VAULT_ADDRESS> ``` 4. **Verify the buffer contents.** Before proposing the upgrade, verify that the buffer contains the expected program: ```bash solana program dump <BUFFER_ADDRESS> buffer_dump.so # Compare hash with your local build sha256sum buffer_dump.so sha256sum target/deploy/<program>.so ``` The hashes should match. If they do not, do not proceed. 5. **Propose the upgrade via Squads UI:** - In the Squads UI, create a new proposal - Use the "Program Upgrade" instruction type - Specify the program ID and the buffer address - All other signers should independently verify the buffer hash before approving 6. **Approve and execute** according to your signing workflow. 7. **Post-upgrade verification:** ```bash # Verify the program was updated solana program show <PROGRAM_ID> # Dump the deployed program and verify hash solana program dump <PROGRAM_ID> deployed_program.so sha256sum deployed_program.so ``` If you use verified builds (OtterSec/Ellipsis Labs Solana Verified Builds), verify that the deployed bytecode matches the verified build hash. ### 5.3 Pre-Upgrade Checklist Before approving any program upgrade proposal: - [ ] The source code has been reviewed (and ideally audited for significant changes) - [ ] The program has been built from a clean, reviewed commit - [ ] The program has been deployed and tested on devnet - [ ] The buffer hash has been independently verified by multiple signers - [ ] Transaction simulation shows the expected upgrade behavior - [ ] A rollback plan exists (even if rollback means deploying the previous version via another upgrade) - [ ] If using verified builds, the build hash matches the verified build output - [ ] The proposal time lock (if any) provides adequate review time - [ ] All signers have confirmed out-of-band that this upgrade is expected --- ## 6. Squads as Token Authority ### 6.1 Mint Authority If your protocol has a token with an active mint authority, you can transfer it to a Squads vault: ```bash spl-token authorize <MINT_ADDRESS> mint <SQUADS_VAULT_ADDRESS> ``` Verify the change: ```bash spl-token display <MINT_ADDRESS> ``` **Considerations:** - If your mint authority is a PDA of your program (common for programmatic minting), transferring it to a Squads vault means minting now requires multisig approval instead of programmatic execution. This changes your protocol's design significantly. - If mint authority is currently a PDA, the true root authority is your upgrade authority (which controls the program that owns the PDA). Make sure the upgrade authority is properly secured rather than trying to move the PDA mint authority. - If you do not need to mint more tokens, **revoke the mint authority entirely** rather than transferring it to a multisig: ```bash spl-token authorize <MINT_ADDRESS> mint --disable ``` This is permanent and irreversible. It guarantees a fixed supply. ### 6.2 Freeze Authority The freeze authority can freeze any token account holding your token, preventing transfers. This is a powerful and sensitive authority. ```bash spl-token authorize <MINT_ADDRESS> freeze <SQUADS_VAULT_ADDRESS> ``` **Considerations:** - The freeze authority is a double-edged sword. It can be used to comply with legal requirements or freeze stolen funds, but it can also be used maliciously to lock user funds. - If your protocol does not need freeze capability, **revoke it**: ```bash spl-token authorize <MINT_ADDRESS> freeze --disable ``` - If you keep freeze authority, it should be on a high-threshold multisig with a time lock. Freezing is a high-risk action that can affect user trust. - Consider using a separate multisig for freeze authority vs. mint authority if both are needed. The risk profiles and operational requirements differ. ### 6.3 Metadata Update Authority If using Metaplex Token Metadata, the update authority can change token name, symbol, URI, and other metadata. While less dangerous than mint or freeze, a compromised metadata authority can be used for phishing (e.g., changing the token URI to a malicious site). Transfer to Squads if you expect to make metadata changes. Revoke if metadata is finalized. --- ## 7. Operational Security for Squads ### 7.1 Accessing the Squads UI | Rule | Details | |------|---------| | **Use a dedicated signing device** | Access app.squads.so from a dedicated signing laptop or admin workstation. Not your daily-driver browser with 47 extensions. | | **Bookmark the URL** | Bookmark `https://app.squads.so` directly. Never follow links from Discord, Telegram, X, email, or any chat to reach the Squads UI. | | **Verify the domain** | Every time you sign, check the browser address bar. The domain must be `app.squads.so` with a valid HTTPS certificate. Watch for homoglyph attacks (e.g., `app.squαds.so` with a Greek alpha). | | **No browser extensions except your wallet** | On the signing device browser, the only extension should be your wallet (Backpack, Phantom, etc.) connected to your hardware wallet. Remove all other extensions. | | **Use a dedicated browser profile** | Create a separate browser profile for signing. This profile should have no other bookmarks, no saved passwords for other sites, no other extensions. | ### 7.2 Phishing Awareness Known phishing vectors targeting Squads users: - **Fake Squads domains:** Sites that look identical to app.squads.so but submit transactions to a malicious program instead - **Malicious proposals shared via link:** Someone shares a "please approve this" link that goes to a phishing site instead of the real Squads UI - **Compromised frontend:** In theory, even the real frontend could be compromised (supply chain attack on the Squads web app). This is why hardware wallet verification of transaction details matters. - **Impersonation in chat:** "Hey, the Squads UI is down, can you approve this transaction by signing this raw message?" — never sign raw messages or transactions outside the Squads UI ### 7.3 Hardware Wallet Verification Your hardware wallet is the last line of defense. Even if the Squads UI is compromised, the hardware wallet shows the raw transaction that will be signed. **On your Ledger/Keystone, verify:** - The program ID being called - The accounts involved - The amounts (for transfers) - That you are not signing something unexpected (e.g., a `setAuthority` instruction when you expected a simple transfer) **Limitation:** Hardware wallet displays for Solana transactions are still limited in what they can show for complex transactions. Some transactions may show as "blind sign" on the hardware wallet. This is a known gap. At minimum, verify that the transaction hash shown on the hardware wallet matches what the Squads UI shows. At L3+, blind signing of root transactions is unacceptable — use simulation and independent verification to compensate. ### 7.4 RPC Considerations The Squads UI connects to an RPC endpoint to read on-chain state and submit transactions. If the RPC is malicious or compromised, it could: - Show stale proposal data (hiding a malicious proposal or making a cancelled one look active) - Fail to submit your rejection transaction while claiming it succeeded - Show incorrect member lists or threshold values **Mitigation:** - Use a trusted RPC provider - For critical operations, independently verify on-chain state using a different RPC: ```bash solana account <MULTISIG_ADDRESS> --url https://different-rpc.example.com ``` - If something looks wrong in the UI, do not sign — investigate using an independent data source --- ## 8. Recovery and Contingency ### 8.1 Losing a Signer (Below N, Above Threshold) If a signer loses their device or departs the team, but M signers remain: 1. **Immediately create a proposal to remove the lost/departed member** — this prevents the lost key from being used if it falls into the wrong hands 2. **Optionally add a replacement member** in the same or a subsequent proposal 3. **Assess whether the new N and M are still adequate** — if removing a member drops you to a configuration like 3-of-4, you have very little spare capacity 4. **Update your signer register** with the change ### 8.2 Losing Quorum (Catastrophic) If you lose enough signers that fewer than M remain, **the multisig is permanently locked**. There is no recovery mechanism. No one — not Squads, not Solana Labs, not anyone — can recover the funds or authorities controlled by that vault. **What this means in practice:** - For a 3-of-5 multisig: losing 3 or more members = permanent loss - For a 4-of-7 multisig: losing 4 or more members = permanent loss **What is lost:** - All SOL and tokens in the vault - Any program upgrade authority held by the vault (program becomes immutable) - Any token mint/freeze authority held by the vault (permanently unrecoverable) **Prevention:** - Maintain N-M+1 spare capacity at minimum. For a 3-of-5, you can afford to lose 2 members. For a 4-of-7, you can lose 3. - Every signer MUST have a backup hardware wallet pre-provisioned with the same key, stored in a different physical location from the primary - The backup hardware wallet should be tested periodically (e.g., sign a devnet transaction annually) - Document the recovery procedure for each signer: where is the backup wallet? Where is the seed backup? Who can access it? ### 8.3 Signer Device Failure If a signer's hardware wallet breaks or is lost but the seed phrase is available: 1. Obtain a new hardware wallet of the same type 2. Restore from the seed phrase 3. Verify the restored wallet produces the same public key 4. Test by signing a low-risk transaction 5. Destroy the old device if recovered (factory reset + physical destruction) If the seed phrase is also lost, the key is gone. Proceed to member removal and replacement as described above. ### 8.4 Recovery Documentation Every multisig MUST have a recovery document that includes: | Information | Details | |-------------|---------| | Multisig address | On-chain address of the Squads multisig account | | Vault address | The vault PDA address | | Current members | Public keys, names, contact info | | Current threshold | M-of-N | | What the vault controls | List of authorities, token holdings, programs | | Backup wallet locations | Where each signer's backup hardware wallet is stored | | Recovery procedure | Step-by-step for signer replacement, including who to contact and in what order | | Emergency contacts | Phone numbers and Signal handles for all signers | | Quorum loss protocol | What to do if quorum is lost (legal, communications, technical steps) | Store this document in encrypted form. Multiple signers should have access to it, but it should not be accessible to non-signers. A good approach is to store it in a shared password manager vault accessible only to the multisig members. --- ## 9. Common Mistakes ### 9.1 Configuration Mistakes | Mistake | Why It Is Dangerous | Fix | |---------|--------------------|----| | **2-of-3 for upgrade authority or high-value treasury** | Two compromised signers (social engineering, same household, same conference) = full compromise. Single spare capacity means one signer loss = lock risk. | Use 3-of-5 minimum for upgrade authority. Use 4-of-7+ for >$10M. | | **All signers in the same location** | A physical attack, office raid, or natural disaster can eliminate quorum simultaneously. | Geographic distribution. At minimum, signers should be in different buildings. At L3+, different cities or countries. | | **All signers in the same household** | Hidden quorum. Two people living together is effectively one point of failure for coercion, device theft, or social engineering. | No two signers should share a residence. | | **Using daily-driver wallets as Squads members** | A wallet used for DeFi, NFTs, and general browsing is exposed to malicious dApps, phishing sites, and token approvals. A compromise of the daily driver wallet is a compromise of the multisig member. | Dedicated hardware wallet for multisig signing only, never connected to other dApps. | | **Same hardware wallet for multiple multisig member slots** | One person or one device controlling multiple votes defeats the purpose of M-of-N. | One wallet per member. One member per person. | ### 9.2 Operational Mistakes | Mistake | Why It Is Dangerous | Fix | |---------|--------------------|----| | **Not cleaning up stale proposals** | Pre-approved proposals can be executed by a single compromised member later. Context may have changed. | Cancel proposals older than 7 days. Review all pending proposals weekly. | | **Not verifying buffer contents before approving upgrades** | The buffer could contain malicious code that differs from what was reviewed and audited. | Every signer should independently verify the buffer hash. See [[#5.2]]. | | **Changing threshold and members simultaneously without planning** | Intermediate states during multiple sequential config changes may create unexpected security postures. | Plan the final desired state. Model each intermediate step. Execute carefully. | | **Not testing the upgrade workflow on devnet** | The first time you discover a problem with your multisig upgrade process should not be during a mainnet emergency. | Run a full rehearsal on devnet: buffer creation, authority transfer, proposal, approval, execution, verification. | | **Using Squads with durable nonces without understanding implications** | Durable nonces allow transactions to be signed asynchronously and executed at any future time (no blockhash expiry). A pre-signed durable nonce transaction can be held by an attacker and executed when convenient. This was a contributing factor in the Drift hack. Durable nonces are currently supported but under active replacement discussion (see Solana release notes). | If you use durable nonces with Squads, understand that signed-but-unexecuted transactions are a persistent threat. Keep strict records of all pending durable nonce transactions. Cancel/void nonce accounts when transactions are no longer needed. | | **Approving transactions from a phishing link** | Attacker sends a link that looks like a Squads proposal but leads to a malicious site that drains the signer's wallet or submits a different transaction. | Always navigate to app.squads.so via your bookmark. Never follow links from chat or email. | | **Not verifying on-chain state after execution** | The transaction may have failed, partially executed, or produced unexpected results. Without verification, you may believe an action was taken when it was not. | After every execution, verify the resulting on-chain state matches your intent. | --- ## 10. Integration with SOS Levels The following table maps Squads configuration requirements to SOS certification levels. These are minimum requirements — higher configurations are always acceptable. ### Multisig Configuration Requirements by Level | Control | L1 | L2 | L3 | L4 | |---------|----|----|----|----| | Program upgrade authority on Squads multisig | MUST (3-of-5 min) | MUST (3-of-5 min) | MUST (4-of-7 min) | MUST (5-of-9 min) | | Treasury on Squads multisig | MUST (2-of-3 min) | MUST (3-of-5 min) | MUST (3-of-5 min, 4-of-7 for >$10M) | MUST (4-of-7 min, 5-of-9 for >$100M) | | Time lock on upgrade authority multisig | MAY | MAY | MUST (24h min) | MUST (48h min) | | Time lock on high-risk operational multisig | MAY | MAY | SHOULD (24h) | MUST (24h min) | | Separate multisig for upgrade vs. treasury | SHOULD | MUST | MUST | MUST | | Separate multisig for emergency/guardian actions | MAY | SHOULD | MUST | MUST | | Signer independence verification (no hidden quorum) | SHOULD | MUST | MUST | MUST | | Geographic distribution of signers | MAY | MAY | SHOULD | MUST | | Dedicated signing devices for all members | SHOULD | MUST | MUST | MUST | | Transaction simulation before every approval | SHOULD | MUST | MUST | MUST | | Out-of-band confirmation for high-value proposals | MAY | SHOULD | MUST | MUST | | Buffer hash verification before upgrade approval | SHOULD | MUST | MUST | MUST | | Stale proposal cleanup (weekly review) | MAY | SHOULD | MUST | MUST | | Recovery documentation maintained | SHOULD | MUST | MUST | MUST | | Signer register with backup wallet status | SHOULD | MUST | MUST | MUST | | Quarterly member list audit | MAY | SHOULD | MUST | MUST | | Post-execution on-chain state verification | SHOULD | MUST | MUST | MUST | | Verified builds for program upgrades | SHOULD | SHOULD | MUST | MUST | ### Authority Separation by Level | Level | Minimum Multisig Setup | |-------|----------------------| | **L1** | Single Squads multisig (3-of-5) controlling upgrade authority and treasury is acceptable as a starting point. Emergency authority should be documented even if not separately configured. | | **L2** | At minimum, separate upgrade authority multisig from treasury multisig. Document emergency procedures. Guardian multisig is recommended. | | **L3** | Full separation: vault (upgrade), operational (treasury + config), guardian (emergency pause/halt), and optionally cancellation guardian. Time locks on vault and operational. Spending limits for routine operations. | | **L4** | All of L3, plus: higher thresholds, longer time locks, geographic signer distribution, entity-level independence verification, formal authority risk classification, verified builds mandatory, cancellation guardian required. | ### Quick Reference: Minimum Squads Configurations by Level | Level | Upgrade Authority | Treasury | Guardian | Time Lock | |-------|------------------|----------|----------|-----------| | **L1** | 3-of-5 | 2-of-3 | Optional | Optional | | **L2** | 3-of-5 (separate from treasury) | 3-of-5 | Recommended | Optional | | **L3** | 4-of-7 (separate, dedicated) | 3-of-5 / 4-of-7 for >$10M | 2-of-5 or 3-of-5 (required) | 24h+ on upgrade | | **L4** | 5-of-9 (separate, dedicated) | 4-of-7 / 5-of-9 for >$100M | 3-of-5 (required) | 48h+ on upgrade, 24h+ on ops | --- ## References - [Squads Protocol v4 Documentation](https://docs.squads.so/) - [Squads Protocol v4 Program Source Code](https://github.com/Squads-Protocol/v4) - [Squads UI](https://app.squads.so) - [[authority-design]] — In-protocol authority architecture - [[upgrade-authority]] — Program upgrade authority management - [[signing-workflow]] — Transaction review and signing procedures - [[general/sos-standard|SOS Standard]] — Full standard with level definitions - [[references/authority-structures|Designing Better In-Protocol Authority Structures]]