What is an audit contest in smart contracts?
An audit contest is an open, time-boxed review in which many independent security researchers examine the same snapshot of code and compete for a prize pool paid out for valid findings. Contests happen before launch, during the audit phase, while bug bounties cover code that is already live (Sherlock).
How does an audit contest run?
Phases differ by platform, and CodeHawks runs these (CodeHawks):
- Kick-off, 48 hours: the code, scope and rules go public.
- Auditing: researchers review and submit findings privately, for a window set mainly by the size of the codebase.
- Judging: the platform team or appointed judges validate findings and rank them by severity.
- Appeals, 48 hours: researchers can contest rulings.
- Rewards: payouts within 72 hours of the escalation period closing, based on validity, quality and severity.
Severity rules differ by platform as well. Code4rena, for one, rates a finding High when assets can be stolen, lost or compromised directly, and Medium when assets aren't at direct risk but the function or availability of the protocol could be hurt (Code4rena).
Code4rena also expects every role the system assigns to be trustworthy, so a finding that only works if an admin misuses its powers goes to the QA report instead of High or Medium (Code4rena).
A strong submission states the impact in its title, points to the exact lines, includes a runnable proof of concept and proposes a fix, which lets a judge validate it without guessing.
How do you prepare code for a contest?
- Freeze the code at a commit and list exactly which files are in scope.
- Write down trust assumptions, privileged roles and known issues, so nobody is paid to report them again.
- Make the test suite run with one command, so researchers can build a proof of concept on it.
- Fix what your own tests and tools already find, so the prize pool pays for new bugs.
- Plan a review of the fixes after the contest.
FAQ
Is an audit contest a replacement for a private audit?
No, because the two answer different needs. A contest puts many reviewers on the code for a short window, while a private audit gives you a fixed team, a direct line to it and a report you scope together. Some teams run both, one after the other.
Sources
- What is the difference between bug bounties and audit contests, Sherlock checked 3 December 2026
- What is a competitive audit, Cyfrin CodeHawks docs checked 3 December 2026
- Severity categorization, Code4rena docs checked 3 December 2026