DeFi Incident Response for Protocol Teams on EVM Networks
Protofire maps the emergency controls of your Solidity contracts on EVM networks and rehearses pause and rescue scripts before an incident. During or after one, we deliver a reproduction, root cause, fix and simulated transactions. Your signers send them. We deployed Safe on 120+ EVM networks, where it secures $2B+.

Reviewed by Luis Medeiros, Field CTO at ProtofireLast reviewed: November 2026
On this page
Work shipped for 60+ networks and 95+ protocols, including
Who can pause, who signs and what the timelock delays
Three questions decide what your team can do in the first hour of DeFi incident response. They are who can pause, who signs, and what the timelock delays. For example, funds are leaving a vault. Is the pause role held by a Safe or by a deployer key? Do the signers load a tested payload, or does someone write one against live state?
A timelock delays your own fix for as long as it delays other changes. A change to that delay is itself scheduled through the timelock (OpenZeppelin). A guardian can cancel a queued operation but cannot block a direct call to a faulty function. A team that learns these limits during the first hour reads code instead of signing.
Protocol Rescue is Protofire's offer for Solidity contracts on EVM networks. It covers the preparation before an incident and the engineering during or after one. Before an incident, you get a map of your emergency controls, plus pause and rescue scripts with a dated rehearsal log. During or after one, you get a reproduction, a root cause and a fix commit. You also get simulated transactions and a post-incident report.
Protofire holds no pause, guardian, upgrade or rescue key before, during or after an incident. Your Safe, timelock or governance holds the roles assigned to it. A monitoring vendor's keeper acts through a pause role or module that one of those holders granted. Watching live contracts week after week is a separate Protofire service, managed onchain operations.
Decide who leads, how you communicate, and what to freeze before the incident. Web3 response windows are short and many losses are irreversible.
Who owns each part of an incident response
Your signers send the emergency transactions, or a vendor's keeper sends them through a role your team granted. Protofire writes, rehearses and simulates them.
Contracts and emergency functions
Emergency Safe, timelock and governance
Decisions outside the code
Detection and automated pause
Review of the fix
Map of emergency controls and runbook
Rehearsed scripts
Incident engineering
What your team gets before an incident
A map of who can pause, upgrade or move funds
Your team knows which role can pause, cancel, upgrade or move funds out on each contract and chain. Protofire builds the map with each control's holder and delay. We also mark gaps: a role held by a deployer key, one role for both pause and unpause, a contract with no rescue path.
Pause and rescue scripts rehearsed on a fork
The pause is a script in your repository, run on a fork against your current owners and threshold. Protofire writes a runbook for each incident type your team names, then the scripts. Your team keeps a dated rehearsal log with the fork block, each signer and the state each script left.
Alert rules that match your emergency controls
Role grants, upgrades, pauses and large outflows become rules for the monitoring tool you license, such as Hypernative or OpenZeppelin Monitor. Your team loads and owns the rule files. In a notice of 30 June 2025, OpenZeppelin named 1 July 2026 for the final shutdown of its hosted Defender (OpenZeppelin). So rules in Defender's format get rebuilt.
How a prepared response differs from an unprepared one
With preparation, two jobs are done before the incident: finding who holds each emergency role and writing the payloads those holders sign.
Who can pause
Not prepared: The holder is found during the incident and is sometimes a deployer key.
Prepared with a rehearsed runbook: The holder is named per contract and chain, with the functions each pause halts.
The pause transaction
Not prepared: Someone writes it by hand against live state.
Prepared with a rehearsed runbook: It is a script already run on a fork against the current owners.
A fix behind a timelock
Not prepared: The fix waits the full minimum delay while the function is still open.
Prepared with a rehearsed runbook: The fix is planned with a pause first, so the delay runs while the pause holds.
Stuck funds
Not prepared: They depend on the path the deployed code happens to leave.
Prepared with a rehearsed runbook: Rescue functions and upgrade paths are listed before launch.
What your team gets during or after an incident
A reproduction of the exploit and its root cause
The exploit runs again in a test, so your engineers argue about the code instead of a chat log. Protofire replays the exploit at its block and names the faulty function and its weakness class.
A tested fix and payloads your signers can read
Protofire delivers a failing test that now passes, plus the fix commit. You also get a payload for each pause, upgrade, migration or rescue transaction, with its simulation result attached.
A post-incident report built from chain data
Protofire's report gives a timeline of blocks, transactions, the pause and the fix. The report also states the root cause and the changes to your map of emergency controls. Your team writes its notices from that report. The words are yours.
DeFi incident response in six steps
The response runs in six steps, from the hashes your team saved to a fix that an outside firm has read.Your signers send each transaction.
- Step 1
Your team hands over the chain record
Your team hands over the transaction hashes, the block numbers and the affected contracts on each chain. Your team also lists what its signers have already sent. SEAL's exploit runbook asks teams to note block numbers and attacker addresses under "Preserve Evidence" (SEAL). - Step 2
Protofire replays the incident
Protofire replays the exploit at its own block, and the replay becomes a failing test. Foundry's cast run "Runs a published transaction in a local environment and prints the trace" (Foundry). - Step 3
Protofire names the root cause and checks other chains
The trace points to the faulty function. Protofire then checks the same code and roles on the other chains and contracts where they are deployed. - Step 4
Protofire writes the fix against the failing test
The fix makes the test pass and keeps the suite green. For an upgrade, its storage layout is checked against the deployed one. Where state has to move, a migration script moves the balances over. - Step 5
Protofire simulates each payload before anyone signs
Each payload runs on a fork of the latest block. Anvil can "Fork mainnet or any chain at a specific block" (Foundry). Each payload arrives with its simulation, as a file your owners load into the Safe or a proposal your proposer submits to the timelock. - Step 6
An outside audit firm reviews the fix
An audit firm whose staff did not write the fix reads it before deployment. If your team ships first to stop an active exploit, the firm reads it right after. Protofire prepares the commit, the failing test and the notes, and fixes what the firm finds. The smart contract audit page sets out how that handover works.
What each emergency control does and does not cover
- Pause
- Pausable halts the functions that use its whenNotPaused modifier (OpenZeppelin). Other functions can still be called, and so can the same contracts on other chains. A pause cannot return funds that have already moved.
- Guardian
- An AccessManager guardian can "cancel operations that have been scheduled" (OpenZeppelin). A guardian has no effect on a direct call.
- Timelock
- A timelock "gives time for users of the controlled contract to exit before a potentially dangerous maintenance operation is applied" (OpenZeppelin). Your own fix waits the same minimum delay.
- Upgrade path
- By default, UUPSUpgradeable refuses an implementation that lacks the upgrade mechanism. Such an implementation "would lock the upgradeability of the proxy forever" (OpenZeppelin).
- Safe module
- "Safe Modules can be a security risk since they can execute arbitrary transactions" (Safe). A module skips the owners' signing round, so a pause module acts without that round and remains active between incidents.
The rows follow OpenZeppelin Contracts 5.x and the Safe documentation, as checked in November 2026.
Our record: Safe on 120+ networks and a Certora audit
Where your signers are Safe owners, each pause, upgrade or rescue payload from Protocol Rescue is signed and executed as a Safe transaction.Two parts of Protofire's record apply here: Safe, where the payloads are signed, and an outside firm's audit of contracts we built.
Safe, where your signers sign the payload
Protofire deployed Safe on 120+ EVM networks, where it secures $2B+. Our Safe multisig deployment page lists those networks, each with a public source.
Certora audited contracts that Protofire built
Certora audited the Solidity contracts of the ve8020 Launchpad, which Protofire built. Certora's report covers work from 27 November to 15 December 2023 and is dated 6 March 2024. Incident work with Protofire uses the same handover. We send a fix, a failing test and notes to a firm outside the team.
How work with Protofire starts
Preparation with Protofire starts from the deployed addresses on each chain, the repository and the role assignments as they stand today.For an incident, your team also shares the transaction hashes, block numbers and anything already signed. These records are shared under NDA, with users' addresses and personal data taken out. A written scope states the deliverables.
- Proposal
- In writing, one business day after the discovery call: findings, a plan in phases and the first step we recommend.
- Price
- Fixed per phase when you commission it, against written acceptance criteria. Overruns inside them are ours to absorb, invoices follow delivered milestones, and you can stop at any phase boundary. Anything we operate after launch is priced in the proposal as its own recurring line, with the notice to end it.
- Ownership
- Code we write for you, contracts, the keys and credentials this work creates and the accounts your infrastructure runs in are yours by contract, within the license of any third-party software involved. Keys that a custody platform or a staking provider holds under its own key model stay with it under your contract; every other custody key stays with you or the custodian you appoint. Where the scope places something on servers we rent, it says what moves to you and when. An NDA is available from your first message, and we sign a data processing agreement (DPA) together with it.
- After launch
- Delivery closes with a hypercare window and a defect warranty, with their terms written into the proposal. A service we operate continues under its written scope until that scope ends.
- Access
- Read-only by default. A role that can start requests only if your written scope names one; never a signer, approver, administrator, key holder or recovery role on your contracts, wallets or custody platform. Services we build call each platform on credentials your staff issue and keep in your vault. Anything that approves or moves funds runs in your environment, and a scope under which we operate a service lists every write call it makes. Where the scope has us operate nodes, validators, monitors, explorers or indexers, it names the role and any key we hold on those servers, and in your own cloud account you can remove it.
- Licenses
- Protofire is an engineering firm and holds no financial or crypto-asset license; licensed activity stays with you and your providers.
How we work shows a worked proposal.
When incident work with Protofire does not fit
Protocol Rescue ends with files and payloads that your signers send.Protofire does not draft public statements or negotiate with an attacker. We also do not trace stolen funds, give legal advice or prepare Safe Harbor documents.
- Funds are moving, and no engineer is engaged yet. SEAL 911 "operates as a volunteer-based organisation and does not provide paid services" (SEAL 911).
- You want detection and an automated pause. Both run in a vendor's product, on permissions your team grants. Our Hypernative integration page covers the setup, and Hypernative sells its own Expert Incident Response.
- You need stolen funds traced. SEAL 911's README says several of its members offer tracing through their own firms. Our Chainalysis, Elliptic and TRM Labs pages cover screening addresses in your own flows.
- You want code reviewed before launch, or you need work on non-EVM contracts or custodial systems such as exchange hot wallets.
Platforms we integrate for incident preparation
If your team already licenses Hypernative or signs from Safe, Protofire writes the map of emergency controls and the scripts against that setup.
Hypernative
Real-time threat detection with automated response.
Left to you: Which role, module or keeper may act and who revokes it, who can unpause, who administers the Hypernative account, the hooks into your Safe or MPC signing, and the incident runbook.
Hypernative integrationSafe
Multisig smart accounts.
Left to you: Deployment on networks where Safe is not live yet, the Transaction Service that collects signatures, owner and threshold setup, Safe modules and guards, and monitoring.
Safe service pageFAQ
What is DeFi incident response?
Who can build incident tooling and a fix for a DeFi protocol on EVM networks?
Funds are leaving our contract right now. What does our team do first?
Funds are stuck after a failed upgrade. Can they be moved?
Can Protofire get stolen funds back?
We had an audit. Why prepare for an incident as well?
How are affected users repaid after an incident?
Get a proposal
Tell us what you are building. An engineer reads it, we have a short call, and the written proposal follows within one business day.
