Simple Base SwapSimple Base SwapOpen app
← All articles
Nov 26, 2026·5 min read

A Protocol You Use Got Exploited: What to Do in the First Hour

basedefisecurity
base

A notification shows up, or someone in a chat posts a link: a protocol you use has been exploited. Before you know whether your own funds are actually at risk, it is easy to either panic into a bad decision or assume it is someone else's problem and do nothing. Neither is the right first move. This is a plan for the first hour, when the information is still incomplete and the clock matters more than usual.

This guide is about something a protocol's own contracts, not your wallet itself, getting hacked. If your wallet or recovery phrase is the thing that was compromised, the right first steps are different. See your wallet was compromised, here is what to do right now instead.

First, work out if you are actually exposed

An exploit headline does not automatically mean your funds are gone. Before reacting, figure out which of these situations you are in.

If you only swapped through a protocol's router and the tokens landed in your own wallet afterward, a hack of that protocol's other contracts, such as a lending pool or a staking vault, usually does not touch your wallet balance at all. If you have an active token approval to the exploited contract, but no funds deposited in it, your tokens are not directly at risk from the exploit itself, though the approval is still worth clearing, which is covered below. If you have funds deposited, staked, or supplied as collateral in the specific contract that was exploited, you are in the group that needs to act fastest, and the rest of this guide is mainly for you.

When in doubt, check the protocol's own contract address on Basescan and see whether your wallet has any transaction history with it. That takes less than a minute and settles most of the uncertainty.

Revoke the approval before you do anything else

If your wallet has ever approved the exploited contract to spend a token, even one you do not currently have deposited, revoke that approval first, before investigating further or trying to withdraw anything. An active approval is a standing permission, and in the middle of an active exploit it can be used by an attacker's script the moment a new balance appears in your wallet, not only against funds already there.

Do this through a block explorer or a dedicated revocation tool rather than through the protocol's own front end, since in many exploit cases the front end is also compromised or temporarily taken down. For the step by step process, see how to check and revoke token approvals.

If you can still withdraw, do that next

Some exploits only drain a portion of a protocol's funds, or hit one specific pool while leaving others untouched. If the protocol's withdrawal function still works and your funds have not already been swept, getting them out is usually worth doing immediately rather than waiting for an official statement, since that statement can take hours and the exploit may still be active during that time.

Be careful here: this is exactly the moment when fake "emergency withdrawal" sites and copycat front ends appear, pointing to drainer contracts instead of the real protocol. Only interact with a contract address you can confirm independently, ideally one you already used before the exploit, not a new link someone just posted in a chat.

Do not trust the first explanation you see

In the minutes after an exploit becomes public, social media fills with guesses, some from people who genuinely know what happened and plenty from people who do not. Wait for a statement from the protocol's own verified account or its official Discord or Telegram before making decisions based on someone else's theory of what was hacked and how.

This window is also prime time for impersonation. Accounts that look like the protocol's team, or like "support," may appear offering to help you recover funds if you connect your wallet to a link or share your recovery phrase. No legitimate team needs your recovery phrase to help you, during an exploit or otherwise. See fake support and impersonation scams and crypto fund recovery scams explained for what these attempts typically look like.

Document what you had, and where

If funds are affected and cannot be withdrawn, write down what you had in the protocol, the approximate value at the time, the relevant contract addresses, and any transaction hashes from your own wallet's history. Some protocols run compensation plans or snapshots after major incidents, and having your own record ready makes it easier to verify a claim later, rather than reconstructing everything from memory weeks afterward. It can also matter for how you report the loss depending on your local tax rules.

Afterward, look at what kind of bug it was

Once a post mortem comes out, it is worth a few minutes to understand roughly what category of bug caused the loss, whether that is a reentrancy issue, an access control mistake, or an oracle manipulation attack, covered in common smart contract vulnerabilities. This is not about becoming an auditor. It helps you judge future protocols more usefully than "has it been audited," since audits, discussed in what is a smart contract audit, reduce this kind of risk without eliminating it, and a protocol's bug bounty program, covered in bug bounty programs explained, is one sign that a team takes it seriously on an ongoing basis.

Consider cover for the next one

None of this prevents an exploit from happening in the first place. If you regularly keep meaningful balances in DeFi protocols rather than just passing through them during a swap, it is worth understanding how DeFi cover works before you need it, not after. See DeFi cover and smart contract insurance, explained for what that kind of coverage actually protects and where its limits are.

Ready to try it yourself?

Create a non-custodial wallet on Base in seconds. No account, no sign-up.

Open the web app