# Multisig Security
A multisig (multi-signature wallet) requires M out of N designated signers to approve a transaction before it can execute. On Solana, multisigs are the primary mechanism for securing upgrade authorities, treasuries, token authorities, and protocol configuration. This article covers general multisig security principles. For implementation-specific guidance, see [[squads]] (Squads Protocol v4) and [[realms]] (SPL Governance / Realms).
---
## Why Multisigs Matter on Solana
Most Solana protocols control at least three categories of high-value authority:
1. **Upgrade authority** -- the power to deploy new program code to an existing address
2. **Treasury** -- protocol-owned funds, revenue, reserves
3. **Token authorities** -- mint authority, freeze authority, metadata update authority
A single-key EOA controlling any of these is unacceptable for anything beyond an early testnet deployment. A single compromised key -- whether through phishing, malware, SIM swap, device theft, or insider threat -- means total loss. The attacker gains the exact same power as the legitimate owner with no approval gate, no delay, and no opportunity for intervention.
Multisigs exist to break that single point of failure. They require coordination between independent parties, create time for review and verification, and ensure that no individual compromise can unilaterally execute a privileged action.
**If your protocol has any authority that could drain user funds, modify program logic, or mint tokens, and that authority is controlled by a single key, you have a critical vulnerability.**
---
## Multisig Fundamentals
### M-of-N Threshold Design
A multisig is defined by two parameters:
- **N** -- the total number of signers in the signer set
- **M** -- the threshold, the minimum number of signers required to approve a transaction
The choice of M and N involves two competing tradeoffs:
| Parameter | Higher Value | Lower Value |
|-----------|-------------|-------------|
| **M (threshold)** | More secure: harder for an attacker to compromise enough signers | Faster operations: fewer people needed to coordinate |
| **N (signer set)** | More resilient to individual signer loss or unavailability | Fewer people to vet, manage, and keep operationally secure |
### Common Configurations
| Configuration | Use Case | Notes |
|---------------|----------|-------|
| **2-of-3** | Minimum viable multisig. Only acceptable for low-risk operations or guardian roles (emergency pause, cancel-only). | Losing one signer immediately threatens quorum. A single compromise plus social engineering of one more signer breaks the scheme. |
| **3-of-5** | Baseline for most protocols. Suitable for routine treasury operations and standard configuration changes. | Two signers can be lost before quorum is threatened. Manageable coordination overhead. |
| **4-of-7** | Recommended for high-value protocols ($10M+ TVL/treasury). Appropriate for upgrade authority and large treasury movements. | Three signers can be lost. Requires more coordination but provides meaningful resilience. |
| **5-of-9** | Critical or systemic protocols ($100M+ TVL, bridges, custody). Maximum practical threshold for most organizations. | Four signers can be lost. Significant coordination overhead, but appropriate for the value at risk. |
### Rules of Thumb
1. **M should be strictly greater than 50% of N.** A 2-of-4 means an attacker only needs half the signers. A 3-of-5 means the attacker needs a majority.
2. **N minus M should be at least 2.** This ensures that losing a single signer does not immediately threaten quorum. If N-M is 1, a single signer becoming unavailable (travel, illness, device failure) puts the entire multisig at risk.
3. **N should not exceed the number of truly independent, vetted, operationally reliable signers you have.** Adding warm bodies to inflate N without ensuring independence and reliability is worse than a smaller but genuine signer set.
---
## Signer Independence
**This is the most overlooked and most critical aspect of multisig security.** A 3-of-5 where all 5 signers are co-founders working in the same office is effectively a 1-of-1 for a physical attacker, a social engineer, or a targeted malware campaign against that office network.
Threshold without independence is not resilience.
### Independence Requirements
| Dimension | Requirement | Why It Matters |
|-----------|-------------|----------------|
| **Person overlap** | One human = one signer vote. No individual may control multiple signer keys. | Defeats the entire purpose of multisig. |
| **Household overlap** | Two signers should not live together. | A home intrusion, fire, or coercion event compromises both simultaneously. |
| **Device overlap** | Each signer must use their own dedicated signing device. No shared hardware wallets or shared laptops. | A single device compromise would yield multiple signer keys. |
| **Entity overlap** | For L4, signers should not all be employees of the same company. Include external signers (advisors, community members, partner organizations). | A single legal action, office raid, or corporate compromise could reach all signers. |
| **Recovery overlap** | Seed phrase backups for different signers must not be stored in the same physical location. | A single location compromise (theft, fire, subpoena) could recover multiple keys. |
| **Geographic distribution** | Signers should be in different cities, ideally different countries. | Reduces coercion risk. An attacker cannot physically reach enough signers. |
| **Timezone distribution** | Signers should span multiple timezones. | Ensures someone is awake and reachable for emergency response at any hour. |
### Independence Failure Examples
| Apparent Configuration | Effective Configuration | Problem |
|------------------------|------------------------|---------|
| 3-of-5, all co-founders in one office | 1-of-1 for physical attackers | One location compromise reaches all signers |
| 4-of-7, three signers are one person's hardware wallets | Effectively 2-of-5 | One person controls three votes |
| 3-of-5, two signers are a married couple | 2-of-4 for household threats | Home intrusion compromises two signers at once |
| 5-of-9, all signers are employees of one company | 1-of-1 for corporate-level threats | Legal action, insider threat, or office compromise reaches all |
| 3-of-5, all seed backups in the same safe deposit box | 1-of-1 for backup-layer attacks | One location yields all recovery material |
---
## Action-Based Quorum
Not all privileged actions carry the same risk. Using a single multisig with a single threshold for everything forces a choice between security (high threshold slows down routine operations) and speed (low threshold under-protects critical operations). The answer is to use different thresholds for different action categories.
### Recommended Quorum by Action Type
| Action Category | Risk Profile | Recommended Approach |
|----------------|-------------|---------------------|
| **Program upgrades** | Existential. A malicious upgrade can do anything: drain funds, mint tokens, change all authorities. | Highest threshold. Longest timelock. Cold signing environment. Separate multisig from operational treasury. |
| **Signer set changes** | Meta-risk. Changing who can sign is as powerful as the actions the multisig controls. | Same or higher threshold as the highest-risk action the multisig governs. |
| **Authority transfers** | Permanent loss of control if executed maliciously. | Highest threshold with mandatory delay and cancellation window. |
| **Large treasury movements** | Direct value at risk. | High threshold. Spending limits per-transaction and per-period where supported. |
| **Routine treasury operations** | Bounded value at risk. | Standard threshold (e.g., 3-of-5). Clear memo fields. Second reviewer before execution. |
| **Parameter changes within bounds** | Limited blast radius if bounds are enforced in program logic. | Standard threshold. |
| **Emergency pause / halt** | Risk-reducing only. Speed matters. | Lower threshold (e.g., 2-of-3). Strictly scoped: can pause but cannot resume, cannot move funds, cannot change authorities. |
| **Cancel pending proposals** | Risk-reducing only. | Lower threshold. Can stop bad things without doing positive things. |
### Implementation Approaches
This action-based model can be implemented in two ways:
1. **Multiple multisigs** -- separate multisig accounts for different authority tiers (e.g., a 4-of-7 vault multisig for upgrades, a 3-of-5 operational multisig for treasury, a 2-of-3 guardian multisig for emergency pause). This is the simpler and more common approach.
2. **Per-action thresholds within a single multisig system** -- some multisig implementations (including [[squads|Squads v4]]) support configurable thresholds per action type. This reduces the number of multisig accounts to manage but requires careful configuration.
See [[squads]] and [[realms]] for how each platform supports per-action thresholds.
---
## Timelocks and Delay Mechanisms
A timelock creates a mandatory delay between when a transaction is approved (reaches quorum) and when it can be executed on-chain. During this window, monitoring systems fire alerts and cancellation guardians can intervene if the action is malicious or incorrect.
### Why Timelocks Matter
Without a timelock, a compromised quorum of signers can approve and execute a malicious transaction in a single coordinated moment. With a timelock, even a successful attack on enough signers gives the broader team a window to detect and respond.
### Recommended Minimum Delays
| Action Type | Minimum Delay | Rationale |
|-------------|--------------|-----------|
| Routine treasury operations | None or short (1-6h) | Low risk, frequent operations. Delay adds friction without proportional security gain. |
| High-risk parameter changes | 24 hours | Gives the team a full business day to review and cancel if needed. |
| Program upgrades | 48-72 hours | Critical action. Multiple timezones need time to review. Weekend coverage matters. |
| Authority transfers | 1 week | Permanent, irreversible impact. Maximum review window justified. |
| Signer set changes | 48-72 hours | Meta-risk action. Must be treated at least as seriously as the highest action the multisig governs. |
### Timelocks Require Monitoring
**A timelock without monitoring is security theater.** If no one is alerted when a proposal is created or reaches quorum, the delay window passes unused and the attacker executes freely.
Requirements for effective timelocks:
- **Automated alerts** when any proposal is created on the multisig
- **Automated alerts** when a proposal reaches quorum and enters the timelock window
- **Dedicated alert channel** (not buried in a noisy general channel) with on-call rotation
- **Cancellation guardian** with the ability to cancel proposals during the delay window
- **Response SLA** shorter than the timelock duration -- if your timelock is 24 hours but nobody checks alerts for 48 hours, the timelock provides no protection
### Cancellation Guardians
A cancellation guardian is a separate authority (often a lower-threshold multisig or even a single trusted key) that can cancel pending proposals during the timelock window but cannot create or approve proposals itself.
Properties of a good cancellation guardian:
- Can cancel any pending proposal
- Cannot create proposals, approve proposals, or execute transactions
- Cannot change the signer set, transfer authorities, or move funds
- Lower threshold than the main multisig (speed matters for cancellation)
- Can be distributed more broadly than execution authority (veto power is safer to distribute)
---
## Transaction Review and Signing Discipline
Every signer bears personal responsibility for understanding what they are signing. "I trusted the proposer" is not an acceptable reason for approving a malicious transaction.
### Pre-Signing Checklist
Every signer should verify the following before approving:
| Step | Action | What to Check |
|------|--------|---------------|
| 1 | **Understand the intent** | Read the proposal description. Does it match an expected, previously discussed action? |
| 2 | **Decode the transaction** | Verify program IDs match expected programs. Verify instruction data matches the described action. Verify accounts and amounts are correct. |
| 3 | **Simulate the transaction** | Use transaction simulation (Squads UI, Helius, or the RPC `simulateTransaction` method) to preview the state changes. Do the results match expectations? |
| 4 | **Compare displays** | Compare what the multisig UI shows with what your hardware wallet displays. If they differ, stop. |
| 5 | **Out-of-band confirmation** | Confirm with the proposer through a separate communication channel (e.g., if the proposal was shared on Telegram, confirm via Signal or a phone call) that the request is genuine. |
| 6 | **Check timing and urgency** | Is this expected? Was it previously discussed? If someone is pressuring you to sign urgently, that is a red flag, not a reason to skip review. |
### Signing Discipline Rules
- **Never sign a transaction you received via a chat link or email link** without independently navigating to the canonical multisig UI and verifying the proposal there.
- **Never sign under time pressure without understanding why it is urgent.** Legitimate emergencies are almost always pause/halt actions (which should have a lower threshold anyway). If someone needs your signature urgently for a large treasury transfer or an upgrade, that should raise suspicion.
- **Never "rubber stamp."** The fact that a trusted colleague proposed the transaction does not relieve you of the obligation to review it. The Drift hack succeeded partly because signers trusted the workflow without independently verifying transaction content.
- **Sign from a dedicated device.** Do not sign from your daily-driver laptop or phone. Use a dedicated signing device with minimal software. Close unnecessary applications during signing sessions.
- **One signing session, one action.** Do not batch-approve multiple unrelated proposals. Review and sign each one individually.
---
## Signer Management Lifecycle
Signer sets are not static. People join and leave organizations, devices break, keys get compromised. A mature multisig operation has formal processes for the entire signer lifecycle.
### Onboarding a New Signer
| Step | Action | Details |
|------|--------|---------|
| 1 | **Identity verification** | Verify the person's identity through video call and, for L3+, government ID. |
| 2 | **Device setup** | Ensure the signer has a dedicated hardware wallet and a dedicated signing device (laptop). Verify firmware is up to date. |
| 3 | **Key generation** | The signer generates their key on their own hardware wallet. No one else should ever have access to the seed phrase. |
| 4 | **Test transaction** | Add the signer to a test multisig first. Have them propose, approve, and execute a test transaction to verify their setup works. |
| 5 | **Add to signer register** | Record their identity, public key, primary device model, backup device model, backup storage location, primary and backup contact methods. |
| 6 | **Add to production multisig** | Add the signer via a signer-set-change proposal with the appropriate threshold and timelock. |
| 7 | **Training** | Walk through the signing workflow, transaction review process, and emergency procedures. |
### Regular Verification (Quarterly)
- Confirm each signer still has access to their primary hardware wallet
- Confirm each signer still has a functional backup hardware wallet
- Confirm each signer's backup seed storage is intact and accessible
- Confirm contact information is current
- Confirm each signer can complete a test signing session within an acceptable time window
- Review whether any signers have changed roles, left the organization, or moved to the same location as another signer
### Offboarding a Signer
| Trigger | Action |
|---------|--------|
| Planned departure (resignation, role change) | Remove from multisig via signer-set-change proposal before or concurrent with departure. |
| Unplanned departure or suspected compromise | Immediate removal. If there is any doubt about whether the departing signer's key may have been compromised, treat it as compromised: remove the signer, rotate any shared secrets, and review all transactions approved since the last known-good state. |
| Device loss or theft | Remove the affected key immediately. The signer can be re-added with a new key after setting up a new device. |
> **Critical: The signer rotation partial-execution attack.** When rotating a signer's key (removing the old key and adding a new key), always ensure both operations execute atomically — either as a single transaction or by executing the removal first and the addition second. If the governance system allows multi-transaction proposals without atomic execution, an attacker can execute only the "add new key" transaction while leaving the "remove old key" transaction unexecuted. The result: the signer now controls **two** keys in the multisig, giving them double voting power and potentially enough to unilaterally bypass the threshold. For example, in a 2-of-3 multisig, a signer who gains a second key now holds 2-of-4 total keys — sufficient to approve any transaction alone. See [[governance-proposals#6.2 Multi-Instruction and Multi-Transaction Proposal Attacks]] for more detail.
### Emergency Signer Replacement
Every multisig operation should have a documented plan for what happens when a signer becomes suddenly unavailable (medical emergency, device destruction, unreachable). The plan should answer:
- Can the remaining signers still meet quorum? (This is why N-M >= 2 matters.)
- How quickly can a replacement signer be onboarded?
- Who are the pre-vetted backup signer candidates?
- Where are the backup hardware wallets, and who can provision them?
### Signer Register
Maintain a secure document (stored in the team's password manager or equivalent secure store) with the following for each signer:
| Field | Purpose |
|-------|---------|
| Full name | Identity verification |
| Public key(s) | Which multisig(s) and which key |
| Primary hardware wallet model and serial | Device tracking |
| Backup hardware wallet model and serial | Recovery planning |
| Seed backup storage location | Recovery planning (store the location, never the seed itself) |
| Primary contact method | Operational coordination |
| Backup contact method | Emergency contact |
| Geographic location (city/country) | Independence verification |
| Date added | Audit trail |
| Last verification date | Staleness tracking |
---
## Common Pitfalls
| Pitfall | Why It Is Dangerous | Mitigation |
|---------|-------------------|------------|
| Threshold too low relative to value protected | A 2-of-3 protecting $50M in treasury is one compromise away from total loss. | Match threshold to value at risk. See the configuration table by SOS level below. |
| All signers in same location or organization | A single physical event, legal action, or corporate compromise reaches all signers. | Enforce signer independence requirements. |
| Using personal daily-driver wallets as multisig signers | The signer key shares a device with email, chat, browser extensions, and malware vectors. | Dedicated hardware wallets on dedicated signing devices only. |
| No backup hardware wallets provisioned | A single device failure can make a signer permanently unavailable, potentially breaking quorum. | Every signer should have a provisioned backup hardware wallet stored separately. |
| Signer set never reviewed or updated | Departed employees remain as signers. Contact information goes stale. Devices are not verified. | Quarterly signer verification. Immediate removal on departure. |
| No timelock on high-risk operations | A compromised quorum can approve and execute instantly with no intervention window. | Timelocks on upgrades, authority transfers, signer set changes, and large treasury movements. |
| No monitoring for new proposals | Timelocks are useless if no one knows a proposal was created until after it executes. | Automated alerts on proposal creation and quorum reached. On-call rotation. |
| Stale proposals sitting around | Old, forgotten proposals can be executed later, potentially in a changed context where they are no longer appropriate or safe. | Regular review and cleanup of pending proposals. Expiration policies where supported. |
| Treating the multisig UI as source of truth | The UI can be compromised, display incorrect data, or hide details. | Verify on-chain state independently. Decode transactions. Compare UI with hardware wallet display. |
| Rubber stamping | Signers approve without reviewing because they trust the proposer. This is exactly what attackers exploit. | Every signer reviews independently. Out-of-band confirmation. No approval without understanding. |
| Same multisig for treasury and upgrade authority | Different risk profiles, different required thresholds, different operational cadences. Combining them forces compromise on all dimensions. | Separate multisigs for separate authority tiers. |
| Non-atomic signer rotation | If "add new key" and "remove old key" are separate transactions, partial execution gives a signer double voting power, potentially bypassing the threshold. | Always execute key removal and addition atomically (single transaction) or execute removal first. |
---
## Solana-Specific Considerations
### Durable Nonces
Solana transactions normally expire after a 150-slot expiry window (roughly 60--90 seconds depending on slot timing). Durable nonces override this: a transaction signed with a durable nonce can be executed at any time until the nonce account is explicitly advanced.
This is useful for asynchronous multisig signing where signers are in different timezones and cannot all sign within that window. However, it introduces risk:
- **A signed transaction with a durable nonce is a live weapon.** It can be held and executed at any time, including much later when the context has changed.
- **The Drift hack exploited durable nonces.** The attacker collected signatures asynchronously and executed all the malicious transactions at once.
- **Mitigation:** If using durable nonces, ensure all signers understand the transaction content, implement execution time bounds where possible, and monitor for unexpected nonce advances. Consider advancing (invalidating) nonces for any proposal that should no longer be executable.
> **Note:** Durable nonces are currently supported but under active replacement discussion (see Solana release notes).
### Versioned Transactions (v0)
Solana versioned transactions (v0) use address lookup tables to support more accounts per transaction. Hardware wallet support for parsing v0 transactions varies:
- Some hardware wallets cannot parse v0 transactions at all and present them as opaque blobs for blind signing.
- **Blind signing a root transaction is unacceptable at L3+.** If your hardware wallet cannot display the transaction details, you are signing something you cannot verify.
- **Before adopting a multisig platform or transaction format, verify that your signers' hardware wallets can parse and display the transactions.**
### Fee Payer and Execution
On Solana, someone must pay the transaction fee and provide the compute budget for multisig operations:
- The **executor** (the person who submits the final transaction after quorum is reached) pays the fee. Ensure the executor's wallet has sufficient SOL.
- Complex multisig transactions (especially those involving multiple instructions, CPIs, or address lookup tables) may require an **increased compute budget**. Set compute unit limits and priority fees appropriately to avoid transaction failures.
### Squads v4 vs Realms
The two primary multisig platforms on Solana are:
- **[[squads|Squads Protocol v4]]** -- the standard multisig for most Solana protocols. Purpose-built for operational multisig with features like spending limits, time locks, and sub-accounts. See [[squads]] for configuration and security guidance.
- **[[realms|Realms (SPL Governance)]]** -- DAO governance framework with multisig capabilities. More suited for governance-style decision-making with proposals and voting. See [[realms]] for configuration and security guidance.
Choose based on your operational model. Most protocol teams use Squads for operational multisig (treasury, upgrades) and Realms only when they need broader governance mechanics (token voting, council governance).
---
## Multisig Configuration by SOS Level
The following table maps SOS certification levels to specific multisig requirements. These are minimums; protocols should exceed them where the value at risk warrants it.
### Threshold and Signer Set
| Requirement | L1 | L2 | L3 | L4 |
|-------------|----|----|----|----|
| Multisig for upgrade authority | MUST (2-of-3 minimum) | MUST (3-of-5 minimum) | MUST (4-of-7 minimum) | MUST (5-of-9 minimum) |
| Multisig for treasury | MUST (2-of-3 minimum) | MUST (3-of-5 minimum) | MUST (3-of-5 minimum) | MUST (4-of-7 minimum) |
| Multisig for token authorities (mint, freeze) | SHOULD | MUST | MUST | MUST |
| Separate multisigs for upgrade and treasury | SHOULD | MUST | MUST | MUST |
| Guardian multisig for emergency actions | MAY | SHOULD | MUST | MUST |
| Cancellation guardian | MAY | MAY | SHOULD | MUST |
### Signer Independence
| Requirement | L1 | L2 | L3 | L4 |
|-------------|----|----|----|----|
| No person overlap (one human = one vote) | MUST | MUST | MUST | MUST |
| No household overlap | SHOULD | MUST | MUST | MUST |
| No device overlap | MUST | MUST | MUST | MUST |
| Geographic distribution (different cities) | MAY | SHOULD | MUST | MUST |
| Entity diversity (not all same employer) | MAY | MAY | SHOULD | MUST |
| Recovery path independence (no shared backup locations) | SHOULD | MUST | MUST | MUST |
| Timezone distribution for emergency coverage | MAY | MAY | SHOULD | MUST |
### Timelocks and Monitoring
| Requirement | L1 | L2 | L3 | L4 |
|-------------|----|----|----|----|
| Timelock on program upgrades | MAY | MAY | MUST (48h minimum) | MUST (72h minimum) |
| Timelock on signer set changes | MAY | SHOULD | MUST (48h minimum) | MUST (72h minimum) |
| Timelock on authority transfers | MAY | SHOULD | MUST (1 week minimum) | MUST (1 week minimum) |
| Timelock on large treasury movements | MAY | MAY | SHOULD (24h) | MUST (24h minimum) |
| Automated monitoring for new proposals | MAY | SHOULD | MUST | MUST |
| On-call rotation for multisig alerts | MAY | MAY | SHOULD | MUST |
| Alert response SLA shorter than timelock | MAY | MAY | MUST | MUST |
### Signing Discipline
| Requirement | L1 | L2 | L3 | L4 |
|-------------|----|----|----|----|
| Hardware wallet for all multisig signers | MUST | MUST | MUST | MUST |
| Dedicated signing device (not daily driver) | SHOULD | MUST | MUST | MUST |
| Transaction simulation before signing | SHOULD | SHOULD | MUST | MUST |
| Out-of-band confirmation for high-risk actions | MAY | SHOULD | MUST | MUST |
| No blind signing of root transactions | SHOULD | SHOULD | MUST | MUST |
| Backup hardware wallet per signer | MAY | SHOULD | MUST | MUST |
| Signer register maintained | SHOULD | MUST | MUST | MUST |
| Quarterly signer verification | MAY | MAY | MUST | MUST |
### Lifecycle and Governance
| Requirement | L1 | L2 | L3 | L4 |
|-------------|----|----|----|----|
| Documented signer onboarding process | MAY | SHOULD | MUST | MUST |
| Documented signer offboarding process | SHOULD | MUST | MUST | MUST |
| Emergency signer replacement plan | MAY | MAY | MUST | MUST |
| Pre-vetted backup signer candidates | MAY | MAY | SHOULD | MUST |
| Signer set review after any departure | MUST | MUST | MUST | MUST |
| Annual tabletop exercise including signer compromise scenario | MAY | MAY | MUST | MUST |
| Stale proposal cleanup policy | MAY | SHOULD | MUST | MUST |
---
## Related Articles
- [[squads]] -- Squads Protocol v4 configuration and security
- [[realms]] -- Realms / SPL Governance configuration and security
- [[upgrade-authority]] -- Program upgrade authority management
- [[authority-design]] -- In-protocol authority architecture and separation
- [[hardware-wallets]] -- Hardware wallet selection, setup, and operational use
- [[signing-workflow]] -- Transaction review, simulation, and signing procedures
- [[monitoring]] -- On-chain and off-chain monitoring and alerting
- [[incident-response]] -- Incident response framework and playbooks