The exact code an audit covers: repository, commit, programs and the features in and out of review. Anything outside the scope, including later commits, is not covered by the report.
Why it matters
Price, timeline and the value of the report all follow from the scope. Teams often learn too late that the admin instructions, an off-chain keeper or a later commit were never reviewed.
What to check
- Ask the auditor to confirm the repository, commit and every program in writing before the start.
- List what is out of scope and decide whether it needs its own review.
How it works in practice
A scope names the repository URL, the commit hash, the programs or files in review and the documentation the auditor gets. Quotes and dates are given for that scope, so changing it during the audit moves both.
Code freeze means no commits to in-scope code during the review, except agreed fixes.
Common mistakes
- Changing in-scope code after the audit starts.
- Leaving out admin instructions, upgrade scripts or off-chain components that hold keys.
- Calling a program audited when the deployed commit is not the one in the scope.
Related terms
- Audit (smart contract audit)An independent security review of a program at a specific commit, usually by a specialised firm, that reports vulnerabilities and recommendations before launch.
- Fix reviewA follow-up check in which the auditor confirms that the fixes for reported findings work and add no new problems.
- Verifiable buildA reproducible build that lets anyone confirm the program deployed on-chain was compiled from a specific public commit of its source code.
- Bug bountyA public program that pays security researchers for responsibly reporting vulnerabilities in deployed code.
Guides
- How to write an RFP for a smart contract auditHow to write an RFP for a smart contract audit: scope and commit, out-of-scope items, materials, dates, deliverables, fix review and the questions to ask every firm.
- How to choose a Solana smart contract auditor: a practical checklistWhat actually matters when picking a Solana auditor: Anchor and native Rust experience, methodology, scope, timelines, red flags in quotes and what a good report looks like.
- How to read a smart contract audit report (without being an auditor)What the parts of a Solana smart contract audit report mean: scope and commit, severity levels, finding statuses, the fix review, and the questions to ask before you call the code audited.
Describe your project in plain English. Smart Match suggests verified Solana providers with a reason for each match. Free for teams.
Get matched →