What a smart contract audit is, what it costs in 2026, what audits miss, how contests, bug bounties and formal verification fit in, and how to read a report.

A smart contract audit is an independent security review of a protocol's code before (or after) it holds user funds. Specialist reviewers read the contracts line by line, run automated tools, and write a report that lists vulnerabilities by severity so the team can fix them. In 2026 a typical DeFi audit costs roughly $25,000 to $100,000, according to Sherlock's February 2026 pricing reference, though simple tokens cost far less and bridges far more.
An audit lowers risk; it does not remove it. This guide explains how the process works, what audits catch and miss, what they cost, how contests, bug bounties and formal verification fit in, and how to read an audit report as a user.
Smart contracts are programs that hold and move money without a human in the loop. Once deployed, a bug can be exploited in a single transaction, and on-chain transfers cannot be reversed. An audit is the closest thing DeFi has to a pre-flight inspection.
A standard engagement with an audit firm follows the same broad steps:
The output is a public or private PDF. The most important line in it is often the one people skip: the commit hash. An audit applies to that code only.
Audits are good at finding known bug classes: reentrancy, missing access controls, broken maths and rounding, unchecked return values, and logic that lets one user take another user's funds. They also catch design problems, such as an oracle that can be moved with a flash loan or a price oracle that can go stale.
They are much weaker at the following:
Euler Finance, a lending protocol, lost about $197 million on 13 March 2023 in a flash-loan attack, The Block reported. The flaw was in a function added in a later code change, donateToReserves, which lacked the health check that other functions ran, according to CertiK's analysis. Euler had completed 10 audits from six firms between May 2021 and September 2022, Cointelegraph reported, and Sherlock, whose review had covered that change, agreed to pay a $4.5 million claim. The attacker later returned all recoverable funds, a total of over $177 million, by early April 2023, per The Block.
The lesson is not that audits are useless. It is that a single missed check in a single change can be enough, and that "audited" describes a moment in time.
Prices depend on code size, complexity, language, the firm's reputation and how urgently you need the work. Published ranges come mostly from audit firms themselves, so treat them as market signals rather than fixed rates.
| Scope | Typical range quoted in 2026 |
|---|---|
| Simple ERC-20 token | $5,000 to $20,000 (Sherlock); $1,000 to $10,000 (QuillAudits) |
| Mid-complexity DeFi protocol | $40,000 to $100,000 (Sherlock) |
| Most DeFi protocol audits | $25,000 to $100,000 (Sherlock) |
| Enterprise or multi-chain systems | Routinely above $150,000 (Sherlock) |
| Re-audit after fixes | $5,000 to $20,000 per pass (Sherlock) |
Sources: Sherlock, 18 February 2026 and QuillAudits' 2026 cost guide.
Sherlock also says quotes for functionally similar scopes can range from $15,000 to $150,000 between firms, that urgent timelines add 20 to 40 percent, and that protocols with meaningful TVL often spend $150,000 to $500,000 a year on security in total. One audit is rarely the whole budget: serious teams pair it with a contest, a bug bounty and monitoring.
In a contest, a protocol posts a prize pool and many independent researchers review the same code for a fixed window. Payouts go to whoever finds valid issues, weighted by severity. More eyes for a set budget is the appeal; uneven coverage and noisy submissions are the trade-off.
The market has shifted in 2026. Code4rena, the platform that popularised the model, announced in May 2026 that it would wind down, with Immunefi taking on its bug bounty customers, AMBCrypto reported on 14 May 2026. As of 17 October 2026, Sherlock lists more than 300 contests, and Cantina shows a live competition and reports $56 million paid out to researchers across its programmes.
A bug bounty is a standing reward for anyone who responsibly discloses a vulnerability in live code. It covers the period after launch, which is exactly where audits stop. Immunefi, the largest Web3 bounty platform, says it has paid more than $110 million in bounties, including $10 million for a critical Wormhole bug and $6 million for one in Aurora (figures from its site as of 17 October 2026). A bounty that is small compared with the funds at risk gives a finder little reason to report rather than exploit.
Formal verification proves mathematically that code satisfies written rules, such as "total deposits always equal the sum of user balances". It can rule out whole classes of bugs, but only for the properties someone thought to write down. Tooling has become cheaper: Certora open-sourced its Prover on 24 February 2025 and made it free to use.
There is no licence or regulator for auditors, so reputation rests on track record, published reports and the people doing the work. Well-known names include Trail of Bits, OpenZeppelin, ChainSecurity, Spearbit (which built the Cantina platform), Zellic, Certora and OtterSec. Move-based chains such as Sui have a smaller pool of specialists; Sui named OtterSec and Zellic as ecosystem audit partners in a December 2023 announcement.
When judging any firm, look at three things rather than the logo:
You don't need to read Solidity or Move to get value from an audit report. Check these points in order:
Then step back. An audit is one input. Our guide on how to check a DeFi protocol is safe covers the rest: track record, TVL history, governance and exit liquidity. For cover against a hack, see DeFi insurance.
We think users should know a product's audit status before depositing. JewelSwap's Ember Loop vault on Sui is a public beta and is unaudited, which we state on the Ember Loop page. It is not available to US or UK residents. Treat any unaudited contract, ours included, as higher risk and size positions accordingly.
It is an independent security review of a protocol's smart contract code. Auditors combine manual review with automated tools, then publish a report listing vulnerabilities by severity and recommended fixes.
Published 2026 ranges run from about $5,000 for a simple token to over $150,000 for complex multi-chain systems. Sherlock puts most DeFi protocol audits between $25,000 and $100,000, with re-audits adding $5,000 to $20,000 per pass.
It depends on code size and complexity. A small token can take days, while a full DeFi protocol often takes several weeks of review plus time for fixes and a fix review.
No. An audit covers specific code at a specific commit. It can miss bugs, and it does not cover later upgrades, economic attacks, leaked keys or a dishonest team. Euler was audited and still lost about $197 million in 2023.
An audit is a paid review by one firm. A contest pays many independent researchers to review the same code for a fixed period. A bug bounty is a standing reward for vulnerabilities found in live code after launch.
Code4rena announced in May 2026 that it would wind down operations, with Immunefi onboarding its bug bounty customers. Sherlock and Cantina continue to run audit contests.
This article is educational and is not financial, legal or security advice. Prices and platform figures are as of 17 October 2026 and come from the sources linked; audit quotes vary widely between firms and projects. JewelSwap operates the Ember Loop vault mentioned here, which is an unaudited beta.