Join our Newsletter — 33% off our NHI Course
Home› Guides› Smart Contract Audit Firm: How to scope, compare…
Buyer's Guide Application Security

Smart Contract Audit Firm: How to scope, compare and contract an auditor

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, under the editorial direction of Lalit Choda Updated 24 November 2026 12 min read
On this page

Choosing a smart contract auditor is a procurement decision with an irreversible downside: once code is deployed and funded, a missed flaw cannot be patched quietly, and a weak engagement can cost far more than the audit fee. Teams face private audit firms, solo reviewers, competitive audit contests and formal verification specialists, with prices and timelines that vary by an order of magnitude. This vendor-neutral buyer's guide explains how to write requirements, compare engagement models, evaluate proposals, negotiate terms that protect you, and pay for re-audits sensibly. It is for protocol founders, engineering leads, security leads and the risk and treasury teams who sign off launches. Audit readiness, report triage and post-launch controls are covered in the Smart Contract Audit Readiness and Choosing an Auditor Guide; this page goes deeper on the buying decision.

Key takeaways

  • Buy reviewer time on a frozen scope. An audit is a time-boxed review of a specific commit, not a certificate. Anything changed after that commit is unaudited code.
  • Match the engagement model to risk. Private audits give named, accountable reviewers; competitive audits give breadth from many researchers; formal verification gives proofs of properties you specify. High-value protocols often need more than one.
  • Judge auditors by evidence, not logos. Read their published reports on code like yours. Security Alliance (SEAL) guidance notes that comparing two firms that reviewed the same code at the same time is far fairer than comparing sequential audits.
  • Fix review is part of the price. Agree the mitigation review window, re-review scope and final report in the contract, or you may pay twice.
  • Price follows size, complexity and urgency. SEAL's rough industry estimates run from one to two weeks for under 1,000 lines to five weeks or more above 4,000 lines, at USD 1,000 to 60,000 per week. Treat quotes far outside the range with questions, not delight.

Define requirements

  • Scope: exact repositories, contracts and commit hash; in-scope and out-of-scope files; libraries and inherited code; deployment and upgrade scripts; and whether off-chain components (keepers, oracles, front end, signing infrastructure) need a separate review.
  • Protocol type and risk: lending, exchange, bridge, staking, L2, vault or token. Note total value expected at launch, upgradeability (proxy pattern), privileged roles and external dependencies such as oracles.
  • Language and platform: Solidity, Vyper, Rust, Move or others, and the target chains. Reviewer experience must match.
  • Assurance goals: which invariants must never break (for example, total supply equals the sum of balances, only the timelock can upgrade). These drive whether you need fuzzing or formal verification.
  • Timeline: code freeze date, audit window, fix window, re-review and launch. Book early: reputable reviewers are often scheduled weeks ahead.
  • Standards: whether findings should be mapped to the OWASP Smart Contract Top 10 or another checklist. See the OWASP Smart Contract Top 10 Guide.
  • Publication: whether the final report will be public, which is common in web3, and who controls the wording.

Roles and ownership

  • Protocol lead: owns the decision to launch and accepts any residual risk the audit leaves, in writing.
  • Engineering lead: owns the code freeze, the fix branch and the rule that nothing merges to audited files without a re-review decision.
  • Security lead: runs the relationship with the auditor, triages findings, and decides which findings are fixed, mitigated or acknowledged.
  • Legal and treasury: negotiate the engagement terms, approve the budget and confirm who may sign off a launch.
  • Key and signer owners: hold deployer keys, multisig signing and upgrade authority. Their access is outside most code audits, so assign someone to review it separately. See the Web3 Incident Response Playbook.

Capability areas

Engagement modelBest forLimits
Private audit by a firmComplex or high-value protocols needing named, accountable reviewers and direct communicationHigher cost; coverage depends on the specific people assigned
Solo or small independent reviewersSmall, well-tested codebases; a second opinion alongside a firmCapacity and continuity risk; less formal process
Competitive audit (contest)Breadth of perspective on code that is already reviewed and fixed; tens or hundreds of researchers compete for a prize poolCode is exposed to many people before launch; less personalised; quality depends on participation and judging
Formal verificationProving that critical invariants hold under every executionNeeds skilled specification writing and significant effort; a poor specification gives false confidence; some properties cannot be proved
Fuzzing and invariant testing engagementsStress-testing state transitions and economic edge casesFinds what the invariants describe; not a substitute for manual review
Bug bounty after launchContinuous coverage once code is live. See the Bug Bounty and VDP Platform Buyers GuidePays for findings, not coverage; not a pre-launch substitute

A common sequence for high-value code is a private audit to clear the bulk of issues, a competitive audit or second review on the fixed code, and a bounty at launch. Formal verification is usually targeted at the few properties whose failure would be catastrophic, such as accounting and access control, because ethereum.org notes it is more demanding and expensive than testing and audits.

Evaluation criteria

Weights are illustrative. A small token contract will weight price and speed higher; a bridge will weight depth and formal methods higher.

CriterionWeightEvidence to request
Relevant published work20%Two or three public reports on the same protocol type and language; read the findings, not the summary page
Named reviewers and time allocation20%Names, roles and reviewer-days per person written into the proposal
Methodology15%Manual review approach, static analysis, fuzzing, invariant testing, formal verification where proposed, threat modelling of privileged roles
Report quality and severity scheme10%Sample report with proof of concept for high findings, clear severity definitions, actionable fixes
Fix review and re-audit terms10%Included fix-review window, rules for what counts as a fix versus new code, re-audit pricing
Scope clarity and price10%Price tied to defined files, lines and duration; change control for scope creep
Communication10%Shared channel, response times, mid-engagement updates, walkthrough sessions
Operational security5%How they handle your private repository access, confidentiality, and disclosure of critical issues found before launch

Worked example: a lending protocol with an upgradeable proxy

A team plans to launch a lending market with an oracle dependency, a governance timelock and an upgradeable proxy. It has a modest budget and a launch date set by a partner.

  1. Shortlist: three firms are asked for proposals. Two have public reports on lending code, and the third has strong formal methods work but only on token contracts.
  2. Scoring: the team applies the weights above. The firm without lending reports loses most of the relevant published work score, but is kept as a candidate for a targeted review of the accounting invariants.
  3. Design of the engagement: a private audit covers the core contracts, the proxy initialisation and the oracle integration. A smaller second review covers the timelock and upgrade path. The invariants list becomes the brief for fuzzing.
  4. Schedule: the freeze date is set early enough to leave a fix window and a re-review before the partner date. If the date cannot move, the team narrows the launch scope, for example by launching with fewer markets, rather than compress the review.
  5. Outcome: findings are fixed on a branch, the auditor reviews only the changed lines, and the team launches the audited commit. Anything added later goes through a new review.

Contract terms to negotiate

TermWhat to agreeWhy it matters
Scope and commitRepository, commit hash, in-scope files and exclusions listed in the statement of workDefines what the final report covers and what it does not
Named reviewersNames, reviewer-days and a substitution clause needing your consentPrevents a bait and switch after signing
DeliverablesDraft report, fix review and final report, each with a delivery dateLets you plan fixes and launch
Severity schemeWritten definitions for critical, high, medium and low findingsAvoids disputes about how findings are rated
Critical findingsImmediate private notice for critical issues, not at the end of the engagementLets you act before the report lands
Change controlHow added files or changed code are re-quotedStops scope creep becoming an unplanned bill
Confidentiality and publicationTreatment of your code, who approves wording, and when the report may be publishedProtects unreleased code and your reputation
Liability and paymentLimits on liability, deposit and balance schedule, rescheduling and cancellation termsSets realistic recovery expectations and protects cash flow

Do not expect an auditor to accept liability for losses after launch. The contract protects the process, not the outcome, so the real protection is the combination of review, fixes, monitoring and a bounty.

Questions to ask vendors

  • Who exactly will review our code, how many days each, and can we have that written into the contract with a substitution clause?
  • Which comparable protocols have your proposed reviewers audited, and where are the public reports?
  • How will you test our stated invariants: manual reasoning, fuzzing, formal verification or a mix? What will you not cover?
  • How do you treat privileged roles, upgrade paths and deployment scripts? Are proxy initialisation and storage layout in scope?
  • What is included in the fix review, how long is the window, and how do you price changes that go beyond fixes?
  • For a competitive audit: how are findings judged and deduplicated, how is the prize pool split, and what confidentiality applies to participants?
  • For formal verification: who writes the specification, how will we review it, and which properties will be proved versus only tested?
  • What happens if you find a critical issue in code that is already deployed?
  • Can we publish the final report, and do you require any wording or approval?
  • Will critical findings be reported to us as soon as they are confirmed, and through which private channel?
  • How do you review the access and signing arrangements around the contracts, such as deployer keys, multisig set-up and timelock configuration?
  • What do you need from us to start efficiently: documentation, tests, a specification, a walkthrough?
  • How do you handle code changes during the engagement, and who decides whether they are in scope?
  • How will you tell us about residual risks you could not assess, such as external dependencies and economic assumptions?

Common failure patterns

  • Code changes after the audit: a late optimisation or feature lands on audited files, and the report no longer describes what is deployed.
  • Unreviewed fixes: findings are patched in a hurry and the patches introduce new flaws that no one has read.
  • Narrow scope: proxy set-up, deployment scripts or admin functions are left out, and the exploit path runs through them.
  • Weak tests handed over: an auditor spends scarce days understanding poorly documented code instead of testing it. Good specifications and tests make an audit deeper.
  • Acknowledged and forgotten: findings marked as acknowledged have no owner and no follow-up, even when conditions change after launch.
  • Operational keys ignored: deployer, upgrade and CI credentials are poorly protected, so an attacker bypasses the audited code entirely. See the Smart Contract Security Guide.
  • Audit as marketing: the report is used to reassure users while the team has no monitoring or incident plan.

Red flags

  • Guarantees: any promise to find all vulnerabilities or to make code "secure". SEAL lists this as a red flag.
  • Very low price with vague scope: a quote that does not tie to lines, files and reviewer-days.
  • Logos instead of reports: client lists with no readable findings.
  • Bait and switch: senior staff on sales calls, no names in the contract.
  • No fix review: a report with no re-review, leaving fixes unaudited.
  • Badges and certificates: marketing that presents an audit as a permanent seal of safety.
  • Refusal to share a sample report: an auditor who will not show any past work cannot be assessed.
  • Pressure to sign quickly: artificial deadlines or discounts that expire before you have compared proposals.
  • No stance on scope limits: proposals that never state what will not be reviewed.

Proof of concept

Few teams can trial an auditor on live code, but you can test fit before committing the full budget.

  1. Send a scoping pack to two or three shortlisted firms. Include architecture notes, the invariants list, line counts, test coverage and the target commit. Compare how each proposal reflects your real risks.
  2. Hold a technical scoping call. Ask each team to explain the attack paths they would look at first for your design. Weak answers here predict weak coverage.
  3. Read one recent report per firm closely. Check whether high findings include a proof of concept and whether fixes were re-reviewed.
  4. Consider a short paid pilot. For large programmes, commission a small, time-boxed review of one module before booking the main engagement.
  5. Freeze the commit and agree terms. Contract named reviewers, scope, fix window, re-review and publication rights.
  6. Check the handover. Confirm that the auditor receives a clean build, working tests and documentation, so reviewer time goes into analysis and not set-up.
  7. Measure the outcome. Track findings by severity, fixes verified, issues found later by others in audited scope, and time from report to launch. Use this to choose auditors next time.

Tracking results after launch

  • Findings by severity and status: fixed, mitigated, acknowledged, with a named owner for each acknowledged item.
  • Fix verification rate: the share of high and critical findings with a reviewed fix.
  • Code drift: a check that the deployed bytecode matches the audited commit, repeated after every upgrade.
  • Later discoveries: issues found by bounty hunters, contests or users inside audited scope, which show what each auditor missed.
  • Schedule accuracy: time from report to launch against plan, and the cost of rescheduling.

Keep these records in a single register. Reviewing them before each new engagement turns the next procurement into a comparison of evidence.

How NHI Mgmt Group can help

We provide independent advice on web3 security, key management and identity for protocol teams and crypto businesses, including requirements and evaluation support. Browse vendors in our products directory or contact us.

Related NHI Mgmt Group resources: Smart Contract Audit Readiness and Choosing an Auditor Guide · Smart Contract Security Guide · Formal Methods for Security Guide · Web3 Incident Response Playbook

PDF for subscribers

Take this guide with you

Every section, table and checklist in one PDF, with links to the sources and related guides. Subscribe to our weekly NHI & AI Identity Journal and we’ll email you a download link.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

PDF Downloads for Newsletter Subscribers

Get the guide

Enter your details and we’ll email you a download link.

The full guide is free to read online. The PDF is a thank you for subscribing.

Fill in all fields marked * and tick both boxes to continue.