What an audit does not cover
The parts of a protocol a smart-contract audit usually leaves open, in the auditors' own words, and where to look for each one instead.
An audit is a review of named files at one commit, done over a fixed period. Everything outside that boundary is unreviewed by that report, however the report is cited. This guide lists what usually falls outside it, using what auditors and security frameworks say about their own work, and points to where you can check each item yourself. For reading the report itself, see how to read a smart-contract audit report.
An audit is not a guarantee
The firms say this plainly. ChainSecurity’s guide states that “The promise of an audit is not bug-free code” and notes that auditors can miss attack vectors. Trail of Bits writes that, given the time-boxed nature of reviews, security engineers may not identify all bugs. The Security Alliance framework calls an external review “not a certificate of safety” and describes it as a recurring commitment rather than a one-time badge.
Treat an audit as evidence that some named code was examined by named people for a stated period, and as no more than that.
Code that changed after the review
Quantstamp’s guide explains that any change to the code produces a new commit hash, and code after the audited hash was not reviewed. In a diff audit, only the changes between two versions were in scope. ChainSecurity adds that separate audits may have covered different versions, commits or scopes, so several audits do not automatically reinforce each other.
Where to check: compare the audited commit with the current release, and read the diff in files that move funds, set prices or grant permissions.
Deployed code that does not match the report
The report describes source code in a repository. What runs is bytecode at an address. Zellic’s guide advises comparing onchain code with the verified source on an explorer. For upgradeable contracts the gap can open later: Etherscan’s proxy page explains that an implementation can be upgraded behind a fixed proxy address, and that Etherscan does not automatically verify that the implementation code it displays is what executes.
Where to check: the verification status on Etherscan or Sourcify, and the current implementation address for each proxy.
Dependencies and external contracts
ChainSecurity’s guide says external contracts a project relies on are usually out of scope, and files left out of scope may still contain exploitable flaws. Libraries, price feeds and integrations with other protocols often sit there.
Where to check: the scope section’s file list. If the oracle adapter, a maths library or an integration is not named, that report says nothing about it.
Forks of audited code
Zellic’s guide says not all audits of an upstream project can attest to the security of a fork’s current version, because changes can add vulnerabilities. A fork that links the original protocol’s audit is citing a review of different code.
Where to check: whether the report names the fork’s own repository and commit.
Admin keys, upgrades and trust assumptions
Who can upgrade, pause or change parameters is often treated as an assumption rather than a finding. Code4rena’s severity rules, for example, state that privileged roles are assumed to be trustworthy, with admin-privilege concerns usually graded in QA reports. A report written under that assumption tells you little about the people or multisigs that hold those roles.
Where to check: the protocol’s own documentation on roles and timelocks, and the owner and admin addresses on an explorer.
Findings the team chose not to fix
A finding marked acknowledged is still in the code. Quantstamp defines it as unresolved, with the client’s explanation in the report. Zellic reads it as risk the team accepted.
Where to check: the status column of every finding, and the fix review if one exists.
What a bug bounty adds and what it does not
A live bounty gives outside researchers a reason to report problems after launch. It has its own boundary. On Immunefi, for example, a program page lists the assets in scope and the impacts in scope, and states that only the listed impacts count. Sherlock’s docs say the protocol team has the final say on validity and severity in its bounties.
Where to check: whether the bounty’s asset list includes the contracts that hold funds.
A short record to keep
For each protocol, note the audited commits, the deployed implementation addresses, any finding not fixed, which components were out of scope, and who holds admin rights. Anything you could not confirm goes on the list as a gap, not as a pass.
Questions
- Does an audit mean the code has no bugs?
- No. ChainSecurity's guide says "The promise of an audit is not bug-free code", and Trail of Bits says time-boxed reviews may not identify all bugs.
- Does an audit of the original protocol cover a fork?
- Not necessarily. Zellic's guide says not all audits of an upstream project can attest to the security of the current version of a fork, since changes can add vulnerabilities.
- Are admin keys and upgrade rights covered by an audit?
- Often only in part. Code4rena's severity rules, for example, assume privileged roles are trustworthy. Check who holds those roles yourself on an explorer and in the protocol's docs.
Sources
- ChainSecurity, how to read smart contract audit reports (3 April 2023)accessed
- Trail of Bits, evaluating blockchain security maturity (14 July 2023)accessed
- Security Alliance, external security reviews frameworkaccessed
- Quantstamp, how to read an audit report (22 June 2021)accessed
- Zellic, choosing a DeFi protocol (14 February 2025)accessed
- Code4rena docs, severity categorizationaccessed
- Etherscan Information Center, proxy contractsaccessed
- Immunefi, example program scope pageaccessed