How to read a smart-contract audit report
A method for reading an audit report from scope to finding status, and for checking that the code it describes is the code you would be using.
An audit report describes one review of one version of some code. Reading it well means answering three questions in order: what was reviewed, what was found and what happened to it, and whether the reviewed code is the code that is deployed. This guide takes those in turn. It explains method only. It does not assess any auditor.
Get the report from the auditor
Start with the copy the auditor publishes. Zellic’s guide on choosing a DeFi protocol warns that fake or doctored reports circulate and advises downloading them from the firm’s official website or GitHub. Several firms keep public lists: Trail of Bits in a GitHub repository, ChainSecurity on an audit reports page, OpenZeppelin in its Research section and Cantina in its portfolio. If the protocol links a report, check that the title and date match the auditor’s copy.
Read the scope before the findings
The scope tells you what the findings can speak for. Quantstamp’s guide points to the repositories and commit hashes listed on a report’s first page and explains that a commit hash fingerprints the code: any later change gives a new hash, and newer code was not reviewed. It also describes diff audits, where only the differences between two versions were reviewed and everything else is out of scope.
ChainSecurity’s guide adds that files left out of scope may still contain exploitable flaws, and that external contracts a project relies on are usually out of scope. When you read the file list, ask whether it includes the contracts that hold funds, the price or oracle path, and the code that controls upgrades and admin rights.
Sherlock’s docs describe a final report that lists both the audited commit and the final post-fix commit. Where a report gives two hashes, note both.
Note the effort and the review window
Trail of Bits puts the engagement period and level of effort on the report cover, and its report guide calls effort the most important number for weighting a finding. A short review of a large codebase means fewer hours per line. Record the dates of the review so you can compare them with the deployment history later.
Read severity on the firm’s own scale
Severity labels are not shared across firms. Quantstamp’s guide defines High, Medium, Low, Informational and Undetermined levels. Trail of Bits scores each finding twice: severity, described as what could happen, and difficulty, described as how hard the bug is to reach. Code4rena’s docs define High and Medium by impact on assets and function, put low-risk issues into QA reports, and assume privileged roles are trustworthy, so admin-key concerns are usually graded as QA.
So do not add up counts across reports from different firms. Read each finding’s description and impact, and read the firm’s definitions before drawing a conclusion from a label. ChainSecurity’s guide also asks readers to check that ratings are justified and that findings are substantive rather than inflated.
Read the status of every finding
A finding’s status decides what it means for the deployed code. Quantstamp separates three:
- fixed
- mitigated, where the issue remains but a workaround reduces the chance of harm
- acknowledged, where the issue remains unresolved and the client explains why
Zellic’s guide reads an acknowledged but unfixed issue as accepted risk. ChainSecurity tells readers to check whether the team fixed each issue or chose not to, and whether the auditors confirmed the fix. Trail of Bits appends its fix review to the same report, with statuses such as fixed or open with risk accepted. If a report has no fix review, treat the fix status as the team’s claim, not the auditor’s.
Check that the deployed code is the audited code
This is the step most readers skip. Zellic’s guide advises comparing what is onchain with the verified source on an explorer, and comparing the audited commit with the current code.
- Open each contract that holds funds on an explorer such as Etherscan or a verifier such as Sourcify and note the verification level. Sourcify’s exact match covers the metadata hash; its match does not, and neither covers linked library addresses or immutable values.
- For a proxy, find the current implementation address. Etherscan’s own proxy page says it does not automatically verify that the implementation code it displays is what executes.
- Compare the verified source with the repository at the audited commit. Differences in files that move funds, set prices or grant permissions mean those parts were not covered by that report.
Write down what you could not confirm
Keep a short record: the report link, the scope and commit, the review dates, any finding not marked fixed, and whether the deployed code matched. If a step could not be completed, write that down as a gap. The companion guide, what an audit does not cover, lists the areas a report usually leaves open.
Questions
- What is the first thing to check in an audit report?
- The scope. Find the repository, the commit hash and the list of files reviewed. Anything outside that list, or changed after that commit, was not reviewed.
- What does an acknowledged finding mean?
- In Quantstamp's definitions, the issue remains unresolved and the client gives its reasoning. Zellic's guide reads an acknowledged but unfixed issue as risk the team accepted rather than resolved.
- Can I compare severity counts between two audit firms?
- Not directly. Firms use different scales. Trail of Bits rates severity and difficulty separately, Quantstamp includes an undetermined level, and Code4rena groups low-risk and centralization issues into QA reports.
- Where should I download an audit report from?
- From the auditor's own site or repository where possible. Zellic warns that fake or doctored reports circulate, and advises downloading them from the firm's official website or GitHub.
Sources
- Quantstamp, how to read an audit report (22 June 2021)accessed
- ChainSecurity, how to read smart contract audit reports (3 April 2023)accessed
- Trail of Bits, anatomy of a reportaccessed
- Code4rena docs, severity categorizationaccessed
- Zellic, choosing a DeFi protocol (14 February 2025)accessed
- Sourcify docs, exact match versus matchaccessed
- Etherscan Information Center, proxy contractsaccessed