Audit vs bug bounty vs contest: what each one covers

Audit vs bug bounty vs audit contest vs formal verification: how each review works and what a protocol's security page proves.

Published · Updated · Last verified · Audit firms · Bug bounties and audit contests · Due-diligence checklists

A protocol can list four kinds of security review on its site and still have never had its live contracts reviewed by anyone outside the team. The difference between an audit vs bug bounty vs audit contest is about timing and scope. Audits and contests review a fixed version of the code before or around launch. Bug bounties pay for reports on live code. Formal verification proves that code meets a written specification.

This guide explains how each one works and what evidence it leaves behind, then shows how to read them together in a due diligence file. For reading the reports themselves, see how to read a smart-contract audit report.

What is the difference between an audit and a bug bounty?

An audit is a paid, time-boxed review of a defined scope of code by a chosen team. A bug bounty is an open offer to pay any eligible researcher who reports a valid vulnerability in listed assets, for as long as the program runs.

The Security Alliance framework describes external reviews as “time-boxed expert assessments” and says they are “not a certificate of safety”. A bounty covers the period after the audit ends, which is when the code holds deposits. Immunefi’s product menu draws the same line: it presents bug bounty programs as ongoing tests of live code and audit competitions as a way to retest audited code.

The TradFi parallel is an external audit of a fund’s controls versus a standing whistleblower reward. One is a scheduled review with a report. The other is an incentive that stays open.

How do the four review types compare?

The table summarises how each method works, based on the platforms’ and frameworks’ own descriptions. It compares methods and does not rank firms.

Private audit Audit contest Bug bounty Formal verification
Who reviews A team chosen by the firm or the protocol Many independent researchers Any eligible researcher Engineers writing specifications and proofs
When Before launch or before an upgrade Before launch, often after an audit After deployment, open-ended Before launch, for named properties
Scope Files and commit named in the report Repositories and commits set at the start Assets and impacts listed on the program page Properties written in the specification
Payment Fixed engagement fee Prize pool split by judged findings Reward per valid report, by severity Engagement fee
Evidence left Report with findings and fix status Results page and judged findings Program page; payouts if disclosed Specification and verification report

How does a private audit work?

A private audit is a confidential engagement in which one firm or solo auditor reviews the code over an agreed period. The Security Alliance vendor guide says private audits involve one or more researchers that the protocol team picks or the firm assigns.

The output is a report naming the scope and each finding with its status after fixes. Firms such as Trail of Bits and OpenZeppelin publish reports their clients allow them to share. Trail of Bits notes that, because reviews are time-boxed, engineers may not find every bug.

How does an audit contest work?

An audit contest is a public, time-bound review in which many researchers examine the same code and compete for a share of a prize pool. The Security Alliance guide describes “tens or hundreds of security researchers” in this format.

Cantina’s competition docs say the scope is fixed in a submission template that sets target repositories and commit hashes. Judges score findings by impact and likelihood. Immunefi publishes a results page for each finished competition. Formats change, so read the current docs: Sherlock’s docs now mark its audit contests as deprecated and replaced by its Audit Engine.

A contest gives breadth, since many reviewers see the code. Each reviewer’s time on it varies, and the report reflects what was judged valid within the contest window.

How does a bug bounty work?

A bug bounty is a standing program that pays researchers who report valid vulnerabilities in assets the program lists. Each program sets its own scope and reward rules.

On Immunefi, a program’s Scope tab lists the assets and impacts in scope and states that impacts missing from the list do not count. Sherlock’s bounty docs say Sherlock triages each report first, and that the protocol team then has the final say on validity and severity. Both points matter for diligence. A bounty covers what its page lists, and the party paying the reward decides what qualifies.

Check that the contracts holding deposits appear in the asset list. A program that covers a token contract and leaves out the vaults says little about where the money sits. Our bug bounty category lists the platforms and how each sets scope.

What does formal verification prove?

Formal verification proves that code satisfies properties written in a formal specification, for every possible input covered by the model. ethereum.org defines it as “the process of evaluating the correctness of a system with respect to a formal specification”.

The limit sits in the specification. ethereum.org notes that formal verification checks execution against the formal specification and no further, so a missing or wrong property leaves a gap. It also describes the method as more expensive than testing and audits, because writing specifications takes skill and manual work.

When a protocol cites formal verification, ask which properties were proven and for which contracts and commit. A proof that total supply equals the sum of balances says nothing about oracle handling.

What do these reviews leave out?

All four methods look at code. None of them tells you who can change that code after the review, or how fast. Upgrade rights and admin multisigs sit outside most review scopes, and some audit severity rules assume privileged roles act in good faith, as our guide to what an audit does not cover shows.

That is why a security page needs a second pass on control. Our guides to multisig admin keys and the timelock controller cover how to read those settings onchain.

How to read a protocol’s security page

A security page is a list of claims, and each one needs a report, a program page or a specification behind it. Use this order:

  1. Match every listed audit to a report hosted by the firm, and note its commit and date.
  2. Compare the latest audited commit with the deployed code. Our guide to upgradeable smart contracts covers how to find the current implementation.
  3. For each contest, open the results page and note the scope and the findings judged valid.
  4. For the bounty, open the program page and compare its asset list with the contracts that hold funds.
  5. For formal verification, list the properties proven and the contracts they cover.

Record anything without a primary document as “not verified”. The due diligence checklists category links the related steps.

Questions

Is a bug bounty better than an audit?
They do different jobs. An audit reviews a fixed scope of code before or around launch over a set period. A bug bounty pays outside researchers for valid reports on live code, for as long as the program runs. Most security pages list both.
What is an audit contest?
An audit contest, also called a competitive audit, is a time-bound review in which many independent researchers examine the same code and are rewarded from a prize pool according to the findings judged valid. Immunefi and Cantina both run them.
Does formal verification replace an audit?
No. ethereum.org explains that formal verification checks code against a written specification, so it can miss problems the specification does not describe. It proves stated properties, while an audit looks for problems nobody wrote down.
Who decides if a bug bounty report is valid?
It depends on the platform rules. Sherlock's bug bounty docs, for example, say the protocol team has the final say on validity and severity after Sherlock's triage. Read the program page before relying on a bounty as evidence.

Sources

  1. Security Alliance, external security reviews frameworkaccessed
  2. Security Alliance, smart contract audit vendor selectionaccessed
  3. Immunefi, audit competitionsaccessed
  4. Immunefi, example program scope pageaccessed
  5. Sherlock docs, introduction (updated October 2026)accessed
  6. Sherlock docs, bug bounty overviewaccessed
  7. Cantina docs, competitionsaccessed
  8. ethereum.org, formal verification of smart contractsaccessed
  9. Trail of Bits, evaluating blockchain security maturity (14 July 2023)accessed