We manage your security to weather the AI storm →

← Resource Hub

Do Audits Prevent Hacks? What the Loss Data Shows

By Ashkan KhamsehpourPublished 11 min read

Do Audits Prevent Hacks? What the Loss Data Shows

Quick answer. Not on their own: a 2026 study of over 4,000 DeFi protocols found having an audit at launch was not significantly linked to fewer breaches. At audited victims, most losses came through keys, signers or code outside audit scope.

Watch: Do Audits Prevent Hacks? What the Loss Data Shows 1:42
Video transcript

Do audits prevent hacks? Not on their own. Most money lost at audited protocols left through keys, signers or unreviewed code.

An audit covers named files at one commit, at one point in time. It is not cover for code written later.

By Guardian's sum of ack3's 2026 ledger, about 92.6 percent of known losses at audited victims came from outside audit scope.

Among the 20 largest DeFi hacks, six audited protocols lost about 710 million dollars through keys, signers or infrastructure. Others fell to code outside scope or changed after the audit.

In a 2026 study of more than 4,000 protocols, an audit at launch was not significantly linked to fewer breaches. Its working paper tied top-tier audits and bounties to fewer, smaller breaches. These are observational estimates.

Each layer catches what others miss: two independent teams, one running Guardian's Helix AI auditor, then invariant fuzzing, fix review for every change, and a bug bounty after launch.

Guardian's Vanguard adds a public contest, a hosted bounty with Critical matching, and six months of review for changes to the audited scope, within stated limits.

Buy coverage, not a badge. Ask for files, libraries and a commit hash, review of every fix, and separate scoping for keys and signers.

Read the full article for the data and checklist, or talk to Guardian about an audit paired with offchain and OpSec reviews.

The Short Answer

No, not on their own. Ethereum.org says audits raise the chance of finding bugs but will not catch every bug. Ethereum.org

An audit reviews named files at one commit, at one point in time. It is not cover for the whole project or for code written later. arXiv, Ethereum.org

Across the public counts, most money lost at audited protocols left through paths outside that review. arXiv, ack3, Guardian Resource Hub, ack3

In ack3's H1 2026 study of 135 incidents, outside-scope paths carried 94.4% of losses where audit history was known, and 72.1% without its two largest incidents. arXiv

Half of Guardian's 512 incidents hit protocols missing from DefiLlama's listing, so their audit status is unknown. Our audited vs unaudited exploits analysis holds the incident tables. Guardian Resource Hub

These ledgers count hacked protocols only, so they cannot measure how much an audit lowers the odds of a hack. Guardian Resource Hub

A study in the Journal of Accounting and Economics (2026) tried. It covers more than 4,000 DeFi protocols launched from 2020 to 2025, unhacked ones included. Duke University Scholars

Having an audit at launch was not significantly associated with later breach odds or hack-related losses. Duke University Scholars

Its October 2025 working-paper version also linked top-tier audits to lower breach odds and smaller losses when breached. Wharton-hosted working paper

These are observational estimates from one study, not proof that a given audit will work. Wharton-hosted working paper

DatasetWindowResult
Guardian, DefiLlama listingJan 1, 2024 to Nov 2, 2026156 of 512 hacks hit listed-audited protocols: 48.6% of losses
Guardian, top 20 checked by handJan 1, 2024 to Nov 2, 202613 audited; 77% of their losses came outside audited code
ack3 H1 2026 studyJan 1 to Jun 29, 202646 of 68 audited-history incidents outside every scope; 94.4% of losses
ack3 incident ledger v2.0Jan 1 to Sep 30, 2026106 of 148 audited victims outside scope: 92.6% of known losses, Guardian sum

What Audits Catch and Miss

Inside scope, audits find serious bugs. Guardian's Dolomite GMX V2 module review recorded six High or Critical issues in its main review. Guardian

The remediation review then found three Critical issues in later code changes. A fix is new code and needs the same scrutiny. Guardian

Audits also miss bugs in code they cover. ack3's 2026 ledger counts 35 incidents where the exploited path sat inside a confirmed or probable audit scope. ack3

By Guardian's sum of ack3's published data, those 35 carried about $56.2 million, or 5.5% of known audited-victim losses. ack3

The bigger gap is what never entered scope. On May 22, 2025, Cetus lost about $223 million through a bug in integer-mate, a math library its pools relied on. Guardian Resource Hub, Rekt

Zellic told Rekt the library was not in its audit scope. Cetus released checked_shlw fixes to integer-mate on GitHub the same day. Rekt, CetusProtocol on GitHub

Our Cetus hack breakdown has the overflow check details. Code and systems that commonly sit outside an audit:

Offchain Causes Audits Do Not Cover

Many of the largest losses at audited protocols never touched a contract bug. Guardian's hand check of the 20 largest DeFi hacks shows why. Guardian Resource Hub

Among those audited, six lost about $710 million through keys, signers or infrastructure. Two lost $268 million through code outside scope, and one lost $42 million through code changed after the audit. Guardian Resource Hub

Guardian's audit page lists these surfaces as separate engagements: infrastructure, API, web app, automation and OpSec. Guardian

Scope them alongside the audit. Our audit vs pentest guide shows how to split one threat model between both.

CauseCase in the dataSeparate review
Signers tricked into pre-signingDrift, April 2026OpSec audit
Signer devices compromisedRadiant, October 2024OpSec audit
Key stolen through CI/CDResolv, March 2026Infrastructure pentest
Bridge trusting a single verifierKelp DAO, April 2026OpSec audit
Offchain price infrastructureOstium, July 2026Offchain automation pentest
Five of seven validator keys usedAFX, July 2026OpSec audit

What Layered Programs Add

No dataset here ranks layers by hacks prevented. Each layer earns its place by catching what the others structurally miss.

Two teams on one scope give two independent reads of the same commit. Guardian pairs manual review and fuzzing with a second team running Helix, its AI auditor. Guardian

Each team cross-checks the other, and only human-verified findings reach the report. Guardian

Invariant fuzzing turns safety properties into tests. Ethereum.org describes fuzzing as running contracts with random inputs to find violations of stated properties. Ethereum.org

Guardian's suite fuzzes accounting, solvency and rounding across reachable states. It stays with your team for every later change. Guardian

In DollarStore's October 2026 fix review, fuzzing found that a fix made swaps through a paused or off-peg asset fail with a generic liquidity-shortage error instead of naming the cause. Guardian

The finding was Informational, with no funds at risk, and unresolved in the report. Guardian

Bug bounties extend review to independent researchers after launch, Ethereum.org notes. Ethereum.org

In the study's October 2025 working paper, decentralized bounty audits were linked to fewer and smaller breaches. Its published abstract adds that hacked protocols often hired decentralized auditors afterward. Wharton-hosted working paper, Duke University Scholars

Vanguard, Guardian's enterprise audit, adds a public contest with a $100,000 Critical pot funded by Guardian, and a hosted bounty with $50,000 of Critical matching. Guardian

It also includes six months of review for changes to the audited scope, within stated SLOC limits. Guardian

Buying an Audit That Works

Buy coverage, not a badge. These checks apply to any firm, Guardian included.

For how many reviews to buy by novelty, value and change rate, see how many audits a protocol needs.

CheckEvidence to ask forRed flag
ScopeFile list, libraries and commit hashCore contracts named, no files listed
DependenciesWhich libraries and integrations are in or outShared math libraries left out silently
MethodsManual, fuzzing and AI passes, and who verifies findingsUnverified tool output in the report
InvariantsWritten safety properties and the runnable suiteNo properties, or the suite stays with the vendor
Fix reviewEvery fix reviewed at a named commitFixes merged after the final report
Later changesA plan and price for each upgradeAn old report cited for new code
DeploymentDeployed bytecode matched to the final commitNo commit hash anywhere in the report
OffchainKeys, signers, CI/CD and keepers scoped separatelyAn audit sold as full-system cover
After launchA bug bounty sized to funds at stakeNo bounty or response plan

Frequently Asked Questions

How many DeFi protocols get an audit before launch?

In the October 2025 working-paper sample of the Journal of Accounting and Economics study, about 46% of protocols engaged an auditor before launch and 23% hired a top-tier firm. The published abstract does not restate these shares. Wharton-hosted working paper

Does formal verification replace an audit?

No. Ethereum.org notes that formal verification proves only the model you specify, so a wrong or missing property still passes. It presents testing, audits and bug bounties as layers that complement each other. Ethereum.org, Ethereum.org

What happens if an audited protocol is hacked anyway?

Outcomes vary by chain and team. After Cetus, Decrypt reported that validators froze about $162 million, the Sui Foundation lent $30 million, and pools reopened in June 2025 with 85% to 99% of liquidity restored. Decrypt, Rekt

Sources

Scope Your Audit to Where Losses Start

Guardian's smart contract audit puts two independent teams on one scope: manual review with the invariant suite, and Helix. Pair it with offchain and OpSec reviews for the keys and systems around your code.