A Solana incident response plan is a short written document that says who decides, what you can switch off, whom you call and what you tell users when something goes wrong on a live program. Write it before launch, name one owner for each step, and test it once, because during an incident there is no time to design a process.
| Part | What to write down | Decide before launch |
|---|---|---|
| Roles | Incident lead, technical lead, communications, legal contact | Names and backups, not job titles |
| Severity levels | What counts as critical, high or low | Which level triggers a pause |
| Containment | What you can pause, freeze or disable, and who holds the keys | Which instruction or key does it |
| Fix path | How a patch is built, reviewed and deployed | Emergency route if upgrades sit behind a multisig or timelock |
| Contacts | Auditor, RPC provider, security researchers, exchanges, legal | A reachable channel for each, tested |
| Communication | Where and how often you update users | Draft messages and one official channel |
| Review | Timeline, root cause, follow-up actions | Who writes it and when it is published |
One page that people can follow under stress is worth more than a long document nobody has read.
- Name an incident lead and a backup, and agree who is allowed to pause the program.
- Know in advance what you can switch off: an on-chain pause, a frontend, a keeper or a single market.
- Plan the emergency fix path, because a multisig and a timelock slow an upgrade on purpose.
- Keep a tested list of contacts: your auditor, RPC provider, legal adviser and security researchers.
- Publish one official channel for updates, and write the post-incident review after the fix.
Most teams think about security before launch and about incidents only when one happens. A live program holds user funds or controls something users depend on, so a bug, a leaked key or a failing dependency can turn into a loss within hours. A response plan does not prevent that, but it removes the delay and the confusion that make an incident worse.
1. Assign roles and decision rights
Pick an incident lead who can make the call to pause or contain, a technical lead who investigates and builds the fix, a person who communicates with users and partners, and a legal contact. Name a backup for each, since incidents do not wait for holidays. Write down who is allowed to trigger a pause without asking anyone, and for what kind of event.
2. Define severity levels
- Critical: funds are at risk or being drained, or a privileged key is compromised. Contain first, investigate after.
- High: a confirmed bug that could cause loss but is not being exploited, or a key that may be exposed. Fix quickly and decide whether to pause.
- Medium: degraded behaviour, such as stale oracle data, failing keepers or an unreachable RPC provider, without direct loss.
- Low: a report or an anomaly that needs a look but does not change how the program runs.
The point is to agree in advance which level triggers which action, so the first hour is not spent arguing about whether this is serious.
3. Know what you can contain
List every switch you have and who holds it. Some programs include a pause instruction or a way to disable a single market. Some depend on a keeper or a frontend that can be turned off. Others have no switch at all and the only option is a program upgrade or doing nothing. Check this before launch, because adding a pause later is itself a code change that needs review. A pause is also a trust decision, so tell users who can use it and when.
If the upgrade authority sits in a multisig, make sure the signers can actually be reached quickly. Our guide on securing the upgrade authority covers the setup.
4. Plan the fix path
- Build and review: who writes the patch, who reviews it, and whether your auditor can look at it on short notice. A rushed fix can add a new bug.
- Deploy: how the new program version is built and deployed, and how users can verify it came from the published source (see the glossary entry on a verifiable build).
- Emergency route: a timelock delays upgrades on purpose. Decide whether you have a separate emergency path, who may use it and how you explain it to users.
- Recovery: how you check balances and state after the fix, and whether anything needs to be migrated or refunded.
5. Keep a contact list that works
- Your auditor: a direct contact and the terms for urgent work, ideally agreed before you need them.
- Infrastructure: your RPC and node provider, because rate limits and failover matter during a spike.
- Security researchers: a published way to reach you, such as a security.txt in the program or a bug bounty page, so a report reaches a person and not a public thread.
- Exchanges and token issuers: some can flag or freeze funds when they are contacted quickly. Know whom to reach and what evidence they need.
- Legal adviser: disclosure duties and communication rules differ by country, so ask a lawyer who knows your setup. This is not legal advice.
6. Prepare the communication
Choose one official channel, such as a status page or a pinned post, and tell users where it is before anything happens. Keep early messages short and factual: what you know, what you have done, what users should do and when the next update comes. Do not guess about the cause or promise a result you cannot control. Draft templates in advance so the person writing is not starting from a blank page.
7. Test it and review afterwards
Run a short tabletop exercise before launch: pick a scenario, such as a leaked admin key or a bug in a withdraw instruction, and walk through the plan with the people named in it. You will find missing contacts and unclear decisions in an hour. After a real incident, write a review with the timeline, the cause, what worked, what did not and who owns each follow-up. Publishing a version of it builds trust.
How this fits with the rest of your security work
An audit lowers the chance of a bug, a bug bounty gives researchers a way to tell you, and monitoring tells you that something is wrong. The response plan is what you do next. If you are still preparing for launch, use the pre-launch security checklist. To find an adviser for the legal side, read how to choose a Web3 lawyer, and browse the Solana smart contract audit providers we have checked.
Not sure who can upgrade your program today? Paste its address into the free upgrade authority checker.
Frequently asked questions
What is an incident response plan for a Solana program?
A short written document that says who decides, what you can pause or switch off, whom you contact, what you tell users and how you ship a fix when something goes wrong on a live program. It is written and tested before launch.
What should a Solana incident response plan include?
Named roles with backups, severity levels, the list of containment options and who holds them, the emergency fix and deploy path, a tested contact list, communication templates and an official channel, and a post-incident review.
Should a Solana program have a pause switch?
It depends on the design. A pause lets you contain a problem quickly but is also a trust decision, because someone holds the power to use it. Decide before launch, have it reviewed and tell users who can use it and when.
How do a timelock and a multisig affect incident response?
They slow upgrades on purpose, which protects users from a rogue or compromised key but also delays an urgent fix. Plan an emergency path in advance and make sure the multisig signers can be reached quickly.
Need an auditor or a legal adviser on call?
Tell us what you are launching. We suggest providers we checked by hand that can support a live program, with a reason for each. Free for teams.
Get matched →Looking for help with this? Browse Solana infrastructure and RPC providers, or describe your project and get matched for free.
Related reading
- Solana program monitoring: what to watch and alert onWhat to monitor on a live Solana program: failed transactions, upgrade and authority changes, keeper balances, oracle freshness and RPC lag, plus how to get the data and who should own each alert.
- How to choose a Solana RPC provider: 10 questions to askHow to pick a Solana RPC provider: shared vs dedicated nodes, rate limits, streaming, transaction landing, failover and security, with questions to ask and a way to test.
- Solana indexer vs RPC: what to use, and when to add an indexerWhen RPC is enough on Solana and when you need an indexer: history, filters and totals, Geyser streaming, decoding, build or buy, and questions to ask a provider.