A smart contract audit is a structured review of a fixed scope by a hired team before launch, while a bug bounty pays anyone who reports a bug later. A bounty cannot replace an audit, because nobody is obliged to look. The usual order is audit, fix review, launch with a bounty, then re-audit major changes.
- An audit is a structured review of a fixed scope before launch. A bug bounty rewards anyone who reports a bug later.
- A bounty cannot replace an audit: nobody is obliged to look, and bugs are often found after funds are at risk.
- Rewards for critical bugs should make reporting clearly more attractive than exploiting.
- The usual order: audit, fix review, launch with a bounty, then re-audit major changes.
"Do we need an audit if we run a bug bounty?" comes up whenever a team looks at audit quotes. The two are often compared on price, but they do different jobs at different times. Protocols that hold real value on Solana usually need both.
The comparison
| Audit | Bug bounty | |
|---|---|---|
| When | Before launch, and before major upgrades | After launch, for as long as the code holds value |
| Who looks | A chosen firm or researcher | Anyone who decides to look |
| Coverage | A fixed scope, reviewed systematically | Whatever attracts attention, no guarantee |
| Cost | A fixed fee, paid whether or not bugs are found | Paid only for valid findings |
| Output | A report with findings and a fix review | Individual reports, paid one by one |
| Best at | Finding design and logic flaws early | Catching what audits missed, and new bugs from changes |
What an audit gives you
Auditors review a defined set of programs at a specific commit, systematically and on a deadline. They look for account validation gaps, missing signer and owner checks, unsafe arithmetic, broken invariants and economic attacks, and they deliver a report and a fix review. You get coverage you can plan around before any user deposits a token. See how to read an audit report and what drives audit cost.
What a bug bounty gives you
A bounty is a public promise to pay for valid vulnerability reports. It brings in many researchers with different skills, keeps working after launch, and catches bugs introduced by later changes or by new interactions with other protocols. You pay only for results, but there is no guarantee that anyone looks at a given part of the code.
Designing a bounty that works
Step by step, see how to set up a bug bounty for a Solana program.
- Clear scope: list the program addresses, repositories and what is out of scope.
- Rewards that match the risk: scale critical rewards with the value at risk, with a fixed maximum, so reporting beats exploiting.
- Severity definitions: say what counts as critical, high and medium, and how proof of concept must be shown.
- Safe harbor: promise not to take legal action against researchers who follow the rules.
- A fast response: acknowledge reports quickly and pay on time. Researchers talk to each other.
The usual order
- 1. Internal review and tests: fix the obvious issues yourself first.
- 2. External audit and fix review: see the Solana pre-launch security checklist.
- 3. Launch with a bounty: announce it at or shortly after mainnet launch.
- 4. Re-audit major upgrades: and update the bounty scope when the code changes.
Before launch, also go through the Solana pre-launch security checklist, and when you compare auditors, use how to choose a Solana smart contract auditor.
Also useful: how to secure the upgrade authority with a multisig.
Frequently asked questions
Can a bug bounty replace a smart contract audit?
No. A bounty only pays when someone chooses to look, usually after launch when funds are already at risk. An audit is a guaranteed, structured review of a fixed scope before launch. A bounty complements an audit; it does not replace it.
How big should a bug bounty reward be?
Large enough that reporting is clearly better than exploiting. A common approach is to scale critical rewards with the value at risk, often a percentage of funds that could be lost, with a fixed maximum. Smaller rewards apply to high and medium findings.
When should a Solana project launch a bug bounty?
After the audit and fix review, at or shortly after mainnet launch, and before total value locked grows. Keep it running for as long as the programs hold value, and update the scope when the code changes.
Find a Solana auditor
Describe your programs and timeline. Smart Match suggests verified Solana security firms with a reason for each match. Free for teams.
Find an auditor →Looking for help with this? Browse Solana smart contract audit providers, or describe your project and get matched for free.
Related reading
- Solana oracle risks: eight checks for protocol teamsSolana oracle risks for protocol teams: stale prices, wrong feed IDs, fake accounts, confidence intervals, exponents, thin sources, update choice and outages.
- Solana audit reports: where to find them and how to check they match the live programWhere to find Solana audit reports (project docs, repositories, auditor publications, the on-chain security.txt) and how to check that a report covers the code that is actually deployed.
- Solana verifiable builds explained: what they prove and how to set one upWhat a Solana verifiable build proves and what it does not, how to set one up with solana-verify and Docker, multisig upgrade authorities, hash mismatches and how to check a program.