Pre-auditThree days of senior audit time for $1,500, credited in full toward your Zealynx audit.3 audit days, credited toward your auditSee how →
Audited and Still Hacked: What 8 Real Cases Teach Buyers

Audited and Still Hacked: What 8 Real Cases Teach Buyers

40 min
On this page▾

TL;DR

  • Audited is not the same as safe. The video cites AnChain.AI: 91.96% of hacked smart contracts had been audited. It also cites Halborn's top 100 DeFi hacks: only 20% of hacked protocols were audited, and they accounted for 10.8% of the value lost. Both are true: almost everything worth attacking has been audited, and audits cut losses without removing them.
  • The audit format has five limits that no budget removes: it is a snapshot, it is time-boxed, it lacks your team's context, it can't see attacks that don't exist yet, and it reviews your protocol in isolation. Each one needs a control outside the audit.
  • Euler had ten audits from six firms and still lost $197 million, through a function added later as a fix that skipped one health check. Every function that lowers collateral or raises debt must end with that check, and every fix needs the same review as the launch.
  • Euler, Mango and Beanstalk lost $496 million between them, and none of it was a code bug. The design was the flaw. A function that touches a ratio, a leverage position or an oracle needs an adversarial read, not only a code review.
  • The audit covers one commit, on one day. Code you added to a fork and settings chosen at deploy time were never in it, and the world keeps moving after it: Kava Lend lost about 53.9 million KAVA from a BUSD market that had gone almost empty.
  • Some of the biggest losses never touched a code bug. Ronin's keys were taken and nobody noticed for six days; Bybit's signers saw a screen that lied; Drift's attackers spent six months posing as a trading firm; Fluidkey's servers wrote session tokens into a logging tool. Monitoring, signing, hiring and your own servers are separate work.
  • The first hour decides how much comes back. Euler's team moved in minutes, with its co-founder away, because the procedure was written down, and it kept a channel to the attacker open until the funds came back. Write the incident plan, save the emergency contacts and rehearse the pause before launch.

Video · 57 minPlays from YouTube (privacy-enhanced mode) when you press play.

About the video

This article goes with our long video 92% of Hacked Protocols Were Audited: 8 Real Cases, which joins ten of our earlier videos into one. Each section below matches one part, in the same order, and gives the takeaways in text. You don't need to watch the video to use it.
It is written for the people who buy audits: founders, CTOs and the investors who ask "has it been audited?" and stop at the answer. Eight real hacks run through it. Three of them, Euler, Mango and Beanstalk, were audited and lost money to design flaws. The other five are about what sits outside the code an audit reads: a dead market, stolen keys, a signing screen, a patient social engineer and a logging server. Where we already have a deeper article on a case, the section links to it.

1. Five things an audit can't do

We sell audits. This part is about why buying one is not enough.
An audit is a photograph of your code on one day, and nobody attacks you in a photograph. The function that took $197 million out of Euler was added after one of its audits, to fix a different bug.

What the numbers say

Two statistics get quoted at each other:
  • AnChain.AI puts it at 91.96%: that share of hacked smart contracts had been audited (cited in the video).
  • Halborn looked at the top 100 DeFi hacks and found only 20% of the hacked protocols were audited, and those accounted for just 10.8% of the value lost (cited in the video).
They fit together. Audited protocols get hacked a lot because almost everything worth attacking has been audited: an audit is table stakes, so this is selection, not cause. And audited protocols lose a much smaller share of the money. Audits reduce risk substantially. They do not eliminate it, and the industry keeps hearing "audited" as if they do.

Five limits of the format

These are not mistakes auditors make. They are constraints of the format, and they hold at any price.
LimitWhat it meansWhat covers the gap
The snapshotThe audit reviews code at one moment. Later changes, deployment parameters and configuration are unreviewed. That is Euler exactly.A re-audit trigger on every major change, and a check that deployed code matches the audited commit.
TimeAudits run two to six weeks. On a complex protocol there is more code than any team can review deeply in that window, so auditors decide where the days go, and sometimes decide wrong.Your own internal review first, and a scope that puts the days where the money is.
ContextYour team has months of context on why the design is the way it is. The auditor gets a spec, if they are lucky, and a few weeks. The assumptions you find too obvious to write down are the ones they can't see.A written spec with invariants, trust assumptions and known risks, sent before the engagement.
New attacksAn audit can't protect against a technique that doesn't exist yet. Flash-loan governance attacks were not well understood before Beanstalk.Periodic review even when the code has not changed, and a bug bounty.
ComposabilityThe audit reviews your protocol in isolation. Mango was exploited through manipulation across venues outside the audited system.Monitoring in production, and a threat model of every external dependency.
Read those five as a list of gaps you have to cover some other way.

Two beliefs to drop

Three statements about audits hold up: audited protocols are less likely to lose funds than unaudited ones; several audits from different firms cover more than one, because different teams have different blind spots; and audits work best layered with monitoring, bounties and formal verification.
Two do not:
  • "An audit guarantees the protocol is safe." If anyone selling you an audit implies that, buy from someone else.
  • "An audit from six months ago on unchanged code is still fully valid." The report is still accurate about what it examined. It is no longer complete about what could happen, because new techniques exist now that did not exist then. Unchanged code in a changed environment is not the same risk. This is audit decay.
A structural engineer inspecting a building does not stamp it safe forever. They report its condition on a date and tell you when to look again. An audit is a risk assessment, not a certification, and it is the one layer of your defense in depth that happens once.

What mature teams do differently

  • They schedule audits as recurring events: the initial audit, a re-audit after major changes, and a periodic review even when nothing changed.
  • They send the auditors a full spec, with invariants, trust assumptions and known risks, before the engagement starts. This is the highest-leverage item on the list and almost nobody does it. You get a materially better audit for the same fee.
What immature teams do: get one audit, put the badge on the website and move on, and treat the report as the map of their risk. The report is a list of what was found in one window.
The shift is a change of noun. Not "get audited" but build a security posture: threat modelling, internal review before the external audit, monitoring and real-time response, bug bounties, formal verification where it applies, and an incident plan. Then, when an investor asks "has your protocol been audited?", the answer is longer than one word.
Do this week: write the spec you will hand an auditor, even if the audit is months away. You will find problems while writing it. Our post-audit security playbook covers the layers that come after the report.

2. Euler: 10 audits, 6 firms, $197 million gone

Euler Finance had ten audits from six firms and lost $197 million in March 2023. Nobody was lazy; every firm was competent. The function that drained it was one nobody thought was dangerous: it let you give the protocol your own money. If your security plan is "we'll get audited", you have a receipt, not a plan.

A threat model is three questions

Who would attack you? What would they go after? What resources would they bring? A threat model is not a document you buy or a checkbox. Most founders never sit down with these questions because they think security means writing good code. Euler's code did exactly what it was written to do. The flaw was a design decision.

Six attackers, not one

Founders tend to model one of these and forget the other five.
Threat actorWhat they wantWhat they bring
External attackerProfitFlash loans, MEV and tooling written for you specifically. Euler sits here.
MEV searcherTo get in front of your users, not to break youRelationships with block builders, private mempools, sandwich attacks
Oracle manipulatorTo move a price somewhere else and let your contract believe itCapital on other venues. Mango lost $117 million this way.
Governance attackerControl of your treasuryBorrowed votes. Beanstalk lost $182 million to one.
InsiderWhatever their access reachesSource code, deployment keys and the trust you extended when the team was four people
Nation stateYour fundsDedicated teams, months of reconnaissance, social engineering aimed at your developers rather than your code
If your threat model has one row labelled "hacker", you have modelled about a sixth of the problem. The two that founders underestimate most are insiders and nation states. By the video's figures, DPRK-linked theft went from about $660 million in 2023 to $2.02 billion in 2025. Most teams have no row for a state-level adversary; the adversary has a row for them.

Write down your trust assumptions

A trust assumption is something your protocol's logic depends on being true that the protocol cannot check. For a protocol with a Chainlink price feed and on-chain token voting:
  • "Chainlink nodes will provide accurate, timely prices": a trust assumption.
  • "No single entity can accumulate enough tokens to pass a malicious proposal": a trust assumption, and exactly what Beanstalk assumed and got wrong.
  • "The timelock gives users enough time to exit": a trust assumption.
  • "Users will read the documentation first": not an assumption, a hope. Teams build safety arguments on it.
  • "Gas prices will stay low": an operational concern. It affects your economics, not your logic.
If you can check it, it is a requirement. If it doesn't affect correctness, it is a preference. Everything else goes on the list.

The exercise that does the work

For every external function, write down the most value that could leave if that one function misbehaves. This is where Euler comes back. donateToReserves let you donate your own collateral to the protocol. Nobody could think of a reason to call it, so nobody attacked it hard. Combined with leveraged positions, it let an attacker push their own account underwater and walk out with $197 million. "Harmless" is not a security property. It is a feeling about a function you have not attacked yet.
Beanstalk is the same lesson in governance. The attacker flash loaned over a billion dollars, took 67% of the voting power, and called emergencyCommit to execute their own proposal in the same transaction. They never bought the tokens; they borrowed them for one transaction and gave them back. If your governance counts tokens rather than time, that is not a vote, it is a rental. More in our DAO governance attacks breakdown.
Start with three security domains, not all of them at once:
  1. Access control. Who can call what. Boring, and still the most common critical finding.
  2. Economic security. Can the math be gamed? This is where the design bugs live, the ones audits miss because the code is correct.
  3. External dependencies. What happens when an oracle returns a stale price, a bridge goes down or a protocol you compose with gets exploited.
Two approaches that feel responsible and are not:
  • Trusting the governance multisig and leaving insiders out of the model. Trusting it is fine; trusting it implicitly is not. Write it down as a trust assumption and design the safeguard anyway.
  • Hiring the auditor to write the threat model for you. An auditor can refine your threat model. We can't create it. Only the team that designed the protocol knows what it was supposed to do, and a threat model is a document about intent as much as code. Hand us one and you get far more for your money.
Do this week: open a spreadsheet, one row per external function, one column: what is the most that can leave if this misbehaves? Don't fix anything yet; fill it in. In the video's example the sheet has 47 rows and three of them are a problem. Those three go on the security backlog months before anyone is paid to look at the code.

3. Euler replayed: the one missing line

Every call the attacker made on 13 March 2023 was allowed by the code. We rebuilt the market they drained in Foundry and ran the attack again locally, to show the one line that allowed it.

How Euler worked

You deposit DAI and get eDAI, your collateral. You borrow and get dDAI, your debt. Euler's mint gives you both at once: you borrow against yourself. Your health factor is your weighted collateral divided by your debt; below 1, anyone can liquidate you.
Every function that can make an account weaker ends the same way. withdraw sends you the tokens, lowers your balance, then runs checkLiquidity(account). If your health is now below 1, the whole transaction reverts.
donateToReserves lets you give your eDAI to the protocol. It lowers your balance just like withdraw. Read it to the end: there is no check. It arrived later than the rest of the code, as part of a fix for an earlier bug report.

The attack in nine steps

The DAI market, from the attacker's own transaction:
StepWhat the attacker did
1Flash loan of 30 million DAI
2Deposit 20 million DAI into Euler
3mint 200 million: 200 million of debt and almost as much eDAI
4Repay 10 million of the debt
5mint 200 million again. After every step so far, the health check runs and passes.
6Donate 100 million eDAI to the reserves. Collateral drops to about 310 million against 390 million of debt. The account is underwater on purpose, and nothing checked.
7A second contract liquidates the first
8It withdraws 38.9 million DAI, everything left in the pool
9Repay the flash loan
In our rebuild, health reads 1.04 and then 1.02 through step 5, and 0.77 after the donation. The liquidator takes all 310 million of collateral and only 259 million of the debt, then withdraws everything in the pool: the 8.9 million DAI it held before the attack plus the 30 million the attacker had put in. After repaying the flash loan, the attacker keeps about 8.9 million from this one pool. Every figure lands within a tenth of a percent of the real transaction.

Why it paid

Euler's liquidation discount grows the sicker the account is, up to 20%. That is good design: the worse a position gets, the faster liquidators show up. But here the attacker made the account as sick as they wanted, then bought it from themselves at the maximum discount, a self-liquidation. The donation created the bad debt; the discount turned it into profit.

The fix is one line

The fix in the post-mortem is the line withdraw already had: at the end of the donation, check the donor's liquidity. On the fixed rebuild, steps 1 to 5 pass, step 6 reverts, the whole attack reverts with it, and the pool keeps its 8.9 million DAI.
Your check: list every function that can lower someone's collateral or raise their debt. withdraw and borrow, but also the quiet ones: a donation, a transfer, a rewards claim, anything added later as a small fix. Every one must end with the health check. Then ask whether a user can make their own position worse on purpose and liquidate it themselves; if your liquidation discount grows as health falls, that question matters even more. A small change to a lending protocol needs the same review as the launch. The code and the numbers side by side are in Euler Finance hack replayed.

4. $496 million lost, zero code bugs

Three protocols, $496 million, and no typo or anything a linter catches. Every line did what it was written to do. The design was the vulnerability.
ProtocolLossWhat happenedAudited
Euler Finance (March 2023)$197MdonateToReserves, added to fix a first-depositor problem, created a new attack vector10 audits from 6 firms
Mango Markets (October 2022)$117MOracle manipulation across venues, combined with leveraged positionsMultiple audits
Beanstalk (April 2022)$182MFlash loan a billion dollars, take 67% of the voting power, call emergencyCommit, all in one transactionAudited
Every one was audited. Section 3 calls Euler's flaw one missing line, and it is, but the line was missing because nobody imagined a reason to donate your own collateral: a design question before it is a code one. That is not an argument against audits. It is an argument that this class of problem lives somewhere an audit does not automatically look.

Your tests encode what you expect

A design-level vulnerability is a flaw in the logic or the economics that you can't catch by reading the code. The code compiles, passes the tests and does what the developer intended. The developer did not consider what happens when a well-funded adversary uses the system in a way nobody on the team imagined. Your tests encode what you expect; an attacker is, by definition, what you did not expect. Full coverage of your assumptions is no coverage of theirs. "95% test coverage and OpenZeppelin best practices" is an answer about code quality, not about this.
Euler's function was a fix. The team was doing the right thing, closing a known first-depositor risk, and the fix opened a bigger hole than the one it closed, because donating collateral let an attacker manipulate the exchange rate between eTokens and dTokens. Every security change is itself a change. It gets the same scrutiny as a feature, or it gets less, which is how this happens.

The dangerous function sounds harmless

donateToReserves sounds like charity. emergencyCommit sounds like a safety feature. At Mango, opening large leveraged positions was not a corner of the product; it was the product. You read a function and see what it is for. An attacker reads the same function and sees what it can do. Your documentation answers the first question. Your attacker only cares about the second.
Two instincts that are sound:
  • "We added a way to burn LP tokens without withdrawing. We should threat model it." Yes: it changes a ratio.
  • "Our oracle has a one-hour heartbeat. What happens if the price moves hard inside that hour?" Yes: a heartbeat is a promise about updates, not about truth.
Two that sound responsible and are not:
  • "Governance can execute arbitrary code, but only after a 48-hour timelock, so it's safe enough." A timelock is a window, not a control. It only helps if somebody is watching during it and can act.
  • "All admin functions are behind a multisig, so insider risk is handled." A multisig moves the risk; it does not remove it. You now depend on the signers, their key hygiene and their laptops.

Three signals, and two that are not

A feature may carry a design-level vulnerability when:
  1. It changes the ratio between shares and underlying assets. That is Euler.
  2. Its behaviour changes when it is called with flash-loan capital. That is Beanstalk.
  3. It relies on an external price feed for a critical calculation. That is Mango. See our breakdown of oracle manipulation.
Unchecked arithmetic and a missing access control modifier are real problems, but they are code-level bugs: a linter finds the first, an auditor finds the second in an afternoon. Putting them on this list would make you feel you had covered design risk while you were reviewing code again.
Ratio, leverage, oracle. For each feature, ask two questions: what is the most someone could extract by using this in a way we didn't intend, and does it change a ratio, balance or voting power another part of the protocol depends on? If either answer is "a lot", the feature needs a design review before it needs a code review. If you only look in one place first, look at share ratios: functions that change the relationship between your internal accounting and the assets actually held.
Do this week: add one column to the function list from section 2: does this function touch a share ratio, a leverage position or an oracle? Everything with a mark gets an adversarial read before the next release, not a code review but someone genuinely trying to take money out of it.

5. Audited fork? Your code wasn't in scope

If you launch on an audited fork, that audit read the original team's code. The contracts you added on top were never in it.
Open the audit report. The scope section prints a commit hash, and that hash is the whole audit. Ship anything after it and the audited badge stops describing what users touch. On a forked lending market, that is the liquidation logic, the oracle wiring and the permissions you added: the code that decides who can take collateral, and at what price.
Library code you never edited still has settings you must get right: which contracts on other chains it trusts, which checks it accepts, how amounts convert between chains. None of that shows up as changed code, so it never feels like scope.
Two checks before launch:
  1. Compare your deployed code against the audited commit.
  2. List every owner, admin and setter value you set at deploy, and check whether the report mentions any of them.
Anything outside both was never reviewed. Decide the audit scope around what holds the money; our guide to scoping a smart contract audit lists what auditors need from you to do it.

6. Kava Lend: a near-empty market

Kava Lend lost about 53.9 million KAVA, and nothing was minted. It all came out of a market that had gone almost empty after its stablecoin stopped being issued, through a division that only checked for exactly zero.

What happened

Kava Lend, also called HARD Lend, is a lending app on Kava Chain. One of its markets was for BUSD, the stablecoin Paxos stopped minting in 2023. By November 2026 that market was all but empty. According to The Block's on-chain analysis, the attacker ran test deposits and borrows there from 8 November, then struck late on the 13th, New York time. In a little over an hour and a half, Kava Lend's account went from about 55 million KAVA to almost nothing.

How one division did it

When borrowers pay interest, Kava Lend shares it with depositors. Its code divides the new interest by the market's total supply and adds one. That is the supply interest factor, and every deposit is multiplied by it. There is one guard: if the supply is exactly zero, skip the update.
So the attacker didn't make it zero. With a small BUSD loan, they pushed the net supply down to a tiny fraction of a cent, and dividing by almost nothing gives you almost anything. Over the next three minutes, every BUSD deposit grew about 243,000 times, and the protocol saw roughly $1.25 billion of collateral. Against it, the attacker borrowed KAVA 127 times, with a second account clearing each loan, so the borrowing cap never stopped them. About 49 million KAVA then went over the LayerZero bridge to BNB Chain, and most of it was sold within the hour.

Where it stands

Kava's own report, published on 16 November, says about 53.9 million KAVA was taken through a lending accounting flaw that inflated the value of BUSD collateral; the chain itself wasn't compromised, no new KAVA was created, and part of the attacker's funds is frozen. The Block counted 55.2 million. Kava's report doesn't name the line of code; the division comes from Kava's public code and The Block's analysis. Kava said it would put a proposal to a seven-day vote to switch off new lending and borrowing for good. (Status as of the video, 17 November 2026.)

Four fixes to check this week

  1. Guard the division with a minimum, not zero. If the supply is below a floor, don't pay interest per unit of it: skip the update or send the interest to reserves. This is a precision loss problem at the edge, not an exotic one.
  2. Put a ceiling on how fast an index can move. Interest can't honestly grow a deposit a thousand times in three minutes, so an update that tries should freeze the market, not pay out.
  3. A market nobody uses is still attack surface. If an asset is dead, as BUSD was after 2023, set its collateral value to zero, cap it or close it.
  4. Test the edges. Run your interest update with one unit of supply, and use fuzzing to push the supply down to dust and assert that no deposit can jump in a single update.
For an audit buyer, this is the snapshot limit from section 1 in its purest form: a market that was busy when the code was written can be nearly empty years later. Ask your auditors to test at edge states like a near-empty market, and review listed assets when the world around them changes, not only when your code does.

7. Ronin: $624 million, six days unnoticed

In March 2022 the Ronin bridge lost $624 million. Five of its nine validator keys were compromised and the bridge was emptied. It took six days to detect, and the way it was found is the point: a user tried to withdraw 5,000 ETH and the transaction failed because there was nothing left. The detection system was a customer, by accident, on day six.
Part of the access the attacker used was a permission granted temporarily for an integration and never revoked. Temporary access nobody removes is permanent access with an optimistic name. If you grant something for a launch, put the revocation in the same ticket.
The monitoring gap did not cause the theft. It turned the theft into six days of certainty for the attacker and zero information for the team. An audit is about reducing the chance of a bug; this part assumes you eventually fail at that and asks how long it takes anyone to know.

What to alert on

First decide what you want to happen when an alert fires at 3:00 on a Sunday morning: a message, or the protocol paused. Monitoring tools split along that line: detection networks that send alerts, platforms that can act on their own, and developer tools that trace and simulate. Pick by the job, not the feature list.
Alerts that deserve to wake someone:
  • A single withdrawal above 5% of pool value. Relative movement is the most reliable signal there is: 5% scales with you, a fixed dollar threshold does not.
  • An admin function called from an address that has never called it before. That is the Ronin shape exactly.
  • An oracle deviating more than 10% from a second source in one block. You need a second source to have this alert at all, which is itself the point.
  • Value dropping more than 20% in an hour.
Alerts that should never page anyone: a gas price spike, which is a network condition, and a $50 deposit, which is a Tuesday.

Alert fatigue kills monitoring quietly

Set thresholds too low and the team gets 200 alerts a day; within a week everyone has muted the channel, and the real attack arrives in a stream nobody reads. Set them too high and attacks pass underneath. The answer is tiers, and the numbers matter more than the structure:
TierWhat fires itWhere it goes
1Fund drains, admin key usage, oracle manipulation, pause eventsPages a human. One or two a week at most in normal operation.
2Unusual withdrawal patterns, permission changes, upgradesA channel reviewed daily
3Everything else worth keepingLogged, read when something else makes you curious
If your top tier fires 20 times a week, it is not a top tier, it is a feed, and feeds get ignored. The discipline is being willing to demote an alert.

A pause, and then a circuit breaker

The old argument that a pause function undermines trustlessness has been settled by losses. Ronin had no pause: $624 million over six days. Wormhole paused quickly after detection and limited further losses. Euler had no automated pause: $197 million in hours.
The next step is a circuit breaker: not a person deciding to pause, but an automatic trigger. If withdrawals exceed a threshold in a window, deposits stop, and a person decides afterwards whether to resume. The objection is that an automated pause is a denial of service someone can trigger on purpose. That is a design problem, not a reason to have no brake: tune the threshold, make resuming cheap, and accept the occasional false stop.
What protects you:
  • Detection bots paired with automation that can pause when a drain is detected. Watching plus acting.
  • A circuit breaker that pauses deposits if more than 30% of value is withdrawn in an hour. A specific number, an automatic action, no meeting required.
What doesn't:
  • All alerts going to a shared inbox checked in business hours. Exploits are not scheduled, and a shared inbox is an inbox nobody owns.
  • Deciding monitoring is unnecessary because the audit found nothing critical. An audit is a statement about a moment. Monitoring is a statement about every moment after it.
Given $10,000 for one post-launch security investment, the video's answer, from a firm that sells audits, is monitoring with pause capability. A second audit finds more bugs before launch. Monitoring catches what comes after: bugs from your own upgrades, economic attacks no code review models, and integrations with protocols that don't exist yet. One buys a partial second opinion on today's code; the other buys the difference between four hours and six days.
Do this week: write down the single number that would tell you something is wrong: value locked, a withdrawal size, an admin call from an unknown address. Then find out how you would learn it moved at 3:00 on a Sunday. If the honest answer is that someone would message you, you don't have monitoring; you have friends. For bridges specifically, our bridge security checklist covers validator sets and withdrawal limits.

8. Bybit and Drift: nothing on-chain was wrong

Bybit: the screen lied

In February 2025 Bybit lost about $1.5 billion in a single incident. It used a multisig, cold storage and the industry-standard signing tooling. The attacker, linked to North Korea's Lazarus Group, compromised a developer's machine at the wallet tooling provider and injected JavaScript that activated only when Bybit's multisig started a transaction. The signers opened the interface, saw a legitimate-looking transaction and approved it, while the code changed what was actually signed.
This was not a smart contract exploit. Nothing on-chain was wrong, and every control the organisation had worked. The screen lied. Which is why one practice matters more than the rest: verify on the hardware wallet's own screen, never on the web interface. The device is the only surface the attacker did not own, and it only helps if it shows the transaction in readable form rather than a hash. We cover that failure in blind signing: the Bybit lesson.

Drift: six months as a good customer

By the video's figures, DPRK-linked groups stole $2.02 billion in 2025 alone, and their tactics are not phishing emails. They run fake recruiter campaigns and place IT workers with fabricated backgrounds inside companies.
At Drift, attackers posed as a quantitative trading firm for about six months, and deposited more than $1 million of their own money into a Drift vault as a trust signal, before an attack on 1 April 2026 that took about $285 million (Drift's own estimate was about $280 million). Those details match Drift's post-incident account as reported by Cointelegraph and Unchained. They spent a million dollars and half a year being a good customer.
That changes how you hire and how you treat unusually helpful strangers. You are not defending against opportunists. You are defending against a funded organisation with a payroll and a six-month planning horizon. No code review covers who holds your keys, how transactions are signed or who your team trusts; that is separate work, and our article on why clean audits don't stop key hacks walks through the Drift case step by step.

9. Fluidkey: the logs gave away $1.6 million

Fluidkey lost about $1.6 million from 52 accounts, and the private keys never left users' phones. The way in was a logging tool missing two fixes from September. If your servers prepare what a user signs, this case is about you.

What happened, in four steps

Fluidkey is an app for holding and sending crypto; the keys that move funds live on each user's device, never on Fluidkey's servers. On the evening of 19 November 2026, in 37 minutes, an attacker made unauthorised transfers from 52 accounts on six chains. Fluidkey switched off transaction processing and came back online the next afternoon. From Fluidkey's own report, as the video summarises it:
  1. A self-hosted logging tool. Fluidkey ran its own copy of SigNoz, an open-source tool for logs and traces, on an old version. In September SigNoz had published fixes for two high-severity flaws: some query endpoints answered without any login, and the same analytics queries were open to SQL injection. Fluidkey says the attacker used them to read its internal logs from 12 November.
  2. Session tokens in the logs. Some of Fluidkey's services had written users' session tokens there. A session token is what tells the servers you are logged in.
  3. Transfers created on the server. With those tokens, the attacker created transfer requests on Fluidkey's servers, marked them as approved, and raised users' two-factor spending limits.
  4. The app was made to sign. A prepared transfer still needs the user's key, and the key is on the phone. So the attacker sent small payments to trigger a notification. When a user opened and unlocked the app, it signed the waiting transfer, the way it signs any transfer the user has approved. No key was stolen.
Fluidkey's report says the keys were not compromised, personal data for 70 accounts was taken from the logs, and about 887 ETH went into a mixer that evening; it has gone to law enforcement and an investigations firm is tracing the funds. Reimbursement and which services wrote the tokens to the logs were not public as of the video (24 November 2026).

Four fixes to check this week

  1. Only the user's key approves a transfer. That is Fluidkey's main fix: its servers now accept a transfer request only when it is authorised with the user's own key, and two-factor limit changes are checked on the server too.
  2. Unlocking the app is not approving a payment. Anything the device signs should come from something the user did on their own screen.
  3. Keep secrets out of your logs. No session tokens, no keys, no personal data. Search your logs today, and add a test that fails when a token shows up.
  4. Your tools are attack surface too. Every logging, monitoring and admin tool you host yourself: keep it off the public internet, keep it patched, and make sure someone reads its security advisories.
None of this was in a smart contract. If your backend prepares transactions, it belongs in the scope conversation, and so does the infrastructure around it. Our piece on supply chain attacks in Web3 covers the wider version of the "your tools are attack surface" problem.

10. After the hack: how $240 million came back

On 13 March 2023, Euler Finance was drained of $197 million while a co-founder was on paternity leave. The team mobilised in minutes without him. That doesn't happen because people are heroic. It happens because somebody wrote the procedure down while nothing was wrong. When it is your turn, you will be reading a block explorer on a phone with your hands shaking. You will not be researching who to call.

The Euler timeline

  • 13 March: exploit detected, team mobilises, on-chain messages sent to the attacker.
  • 14 March: a $1 million on-chain bounty for information leading to recovery; law enforcement engaged.
  • From late March: the attacker sends funds back.
  • Early April: Euler says all recoverable funds have been returned. The video puts the recovery at about $240 million, more than was taken in dollar terms, because the returned assets rose in value while the negotiation ran.
The video's reading of that timeline: what moved the attacker was not the law or the bounty on its own, but a team that had kept the channel open long enough to negotiate. You can't plan for the luck. You can plan for having the channel.

The first hour is the variable

ExploitLossDetected inWhat came back
Euler (2023)$197MMinutesAll recoverable funds, after a coordinated response and on-chain negotiation
Wormhole (2022)$326MHoursJump Crypto backstopped the full amount at once, so users were whole while about $140M was later recovered through a UK court process
Ronin (2022)$624MSix daysPartial recovery through law enforcement, over years
All three were competent attacks on real protocols. The variable is what the team could do in the first hour, and whether there was a first hour at all.

Write it before launch

Save the contact for SEAL 911, the volunteer emergency group of security researchers with a 24-hour Telegram hotline that gives real-time help while a protocol is under attack. Not "know that it exists": save the contact before launch.
The pre-launch incident document needs five things:
  1. Emergency contacts and time zones for every team member. The incident will happen during somebody's night, and you need to know who is awake.
  2. Pre-drafted messages for Discord, X and your site. Nobody writes well under those conditions.
  3. The exact steps to pause: which keys, where they are, who holds them. If pausing needs a signer who is asleep and unreachable, find that out now.
  4. Contacts for SEAL 911, your auditors, legal counsel and law enforcement.
  5. A runbook per deployed contract: what it does, what can go wrong, how to intervene.
What does not belong: a template for a post-mortem published within an hour. An hour in, you don't know what happened, and corrections are what turn an incident into a credibility problem.

Six phases, and the one against the clock

Incident response runs detection, assessment, containment, communication, recovery and post-mortem. The most time-critical is containment: every minute between knowing and stopping is money leaving. So the thing you rehearse first is the pause, not the messaging.
What helps:
  • Pause the affected contracts immediately and post something short: "We are aware of an ongoing issue. We have paused. We are investigating. Updates to follow." Four lines buy room to work without the vacuum filling with rumours.
  • Send SEAL 911 the transaction hashes, not a description. They read the chain faster than you can explain it.
  • Send an on-chain message to the attacker offering a white-hat bounty. It feels absurd the first time, and it is the thing that recovers money.
What hurts:
  • A team member posting a detailed technical breakdown while the attack is still running. That is a tutorial, published live, for everyone else watching.
  • Waiting 48 hours hoping to fix it quietly. It will not stay quiet, and the story becomes the silence.
An unpracticed playbook is barely better than none, because the failures it hides are exactly the ones a rehearsal finds: the signer who lost their key, the document nobody can open without the CTO's account, the Telegram group the on-call engineer was never added to. Rehearse it quarterly, like a fire drill.
Do this week: run the smallest possible drill. Pick a random hour, message the team without warning, and time how long it takes to get enough signers online to pause the protocol on a testnet. That number is your real containment time, and it is almost always worse than your guess.

What to run alongside the audit

Before the audit:
  • A threat model: one row per external function, with the most value that can leave if it misbehaves
  • Written trust assumptions, invariants and known risks, sent to the auditors before kickoff
  • A design review of every feature that touches a share ratio, a leverage position or an oracle
  • A scope that covers what you added: fork changes, deploy-time settings, and the backend if it prepares what users sign
At deployment:
  • Deployed code compared against the audited commit hash
  • Every owner, admin and setter value listed and checked against the report
  • Dead or near-empty markets capped, set to zero collateral value or closed
After launch:
  • Tiered monitoring, with a top tier that fires once or twice a week, and a pause the team can actually trigger
  • A circuit breaker with a specific threshold
  • A re-audit trigger on every major change, including small fixes, and a periodic review even when nothing changed
  • Signing on hardware wallets that show the real transaction; no secrets in logs; self-hosted tools patched and off the internet
Before anything goes wrong:
  • The incident document, SEAL 911's contact saved, and a pause drill run without warning
For choosing the auditor and budgeting around the audit, see our smart contract audit buyer's guide. When you want a real number for your code, send us the repo, the language and your launch date, and we'll tell you how many people for how many days, and why: zealynx.io/quote.

FAQ

1. If 92% of hacked protocols were audited, is an audit worth paying for?
Yes. The 92% figure, which the video cites from AnChain.AI, mostly reflects that almost every protocol worth attacking has been audited. Halborn's look at the top 100 DeFi hacks, also cited in the video, found that the audited protocols among them accounted for only 10.8% of the value lost. Audits reduce risk substantially; they don't remove it. Buy one, and run monitoring, a bounty and an incident plan alongside it.
2. What can't a smart contract audit catch?
Five things, by the nature of the format: code and settings that change after the audited commit; whatever didn't fit in the time box; assumptions your team never wrote down; attack techniques that don't exist yet; and interactions with protocols outside the audited system. It also doesn't cover stolen or misused keys, a compromised signing interface, social engineering of your team or your own servers, unless they are explicitly in scope.
3. Is an old audit still valid if the code hasn't changed?
The report is still accurate about what it examined, but no longer complete about what could happen, because attack techniques and the environment move. Kava Lend's loss came from a BUSD market that had gone quiet after Paxos stopped minting BUSD in 2023, a state its interest code did not handle. Schedule periodic reviews even when nothing changed, and re-audit after every major change.
4. Does an audit of the original protocol cover my fork?
No. An audit covers the code at the commit hash in its scope section. The contracts you added, the oracle wiring and permissions you changed, and the settings you chose at deploy were never reviewed. Compare your deployed code against that commit, list every owner, admin and setter value, and get anything outside both reviewed before launch.
5. What should we set up besides the audit before launch?
Monitoring with tiered alerts and a pause the team can trigger, ideally an automatic circuit breaker; a written incident plan with contacts, pause steps and pre-drafted messages; SEAL 911's contact saved; a rehearsed pause drill; and signing practices that verify transactions on a hardware wallet's own screen. If money is short, the video's answer for the first post-launch spend is monitoring with pause capability.

Glossary

TermDefinition
Audit DecayThe loss of an audit's coverage over time as code, configuration and known attack techniques change after the audited commit.
Threat ModelingWorking out who would attack a system, what they would go after and what resources they would bring, before deciding what to defend.
Self-LiquidationAn attack in which the borrower and the liquidator are the same party, so the liquidation reward pays the attacker for the bad position they created.
Circuit BreakerAn automatic trigger that pauses part of a protocol when a threshold is crossed, such as withdrawals above a set share of value in an hour.
Incident ResponseThe prepared process for detecting, containing and recovering from an active exploit, from the pause to the published post-mortem.
Blind SigningApproving a transaction on a device that shows only a hash or unreadable data, so the signer can't see what they are authorising.

Start with three days, not a five-figure commitment

The Founder Security Sprint is how teams start working with Zealynx: a senior three-day pre-audit of your highest-risk contracts and an audit report you can show investors, for $1,500. Every dollar is credited toward your full audit.

No spam. Unsubscribe anytime.

Or see the Sprint and book now →
Carlos (Bloqarl)
Written by

Founder at Zealynx

Keep reading
Smart Contract Audit Buyer's Guide: From Proposal to Report
Audit opsNov 23

Smart Contract Audit Buyer's Guide: From Proposal to Report

27 min read
Post-audit security: why the audit is a commit hash, not a security posture
Audit opsApr 22

Post-audit security: why the audit is a commit hash, not a security posture

21 min read
When to audit a smart contract: The 2026 security timeline
Audit opsApr 27

When to audit a smart contract: The 2026 security timeline

26 min read