Report template

The format every Contract Check report follows

Each report has the same sections: scope, method, findings rated by severity with a fix for each, and the limits of the review.

How to use: copy this file for each job. Replace every {{placeholder}}. Delete the instructions in italics. Keep the section order. The disclaimer line above stays word for word at the top of every report and again in section 9. Reports are delivered only to the customer, by email as a Markdown or PDF attachment, with no links in the email body. New reviews are requested with the on-page Request a Contract Check form, not by email. For general questions: hello@solwhalelabs.com. Questions or refunds: support@solwhalelabs.com.

Writing rules: use "reviewed" and "found", and no word that implies the code is secure or approved. Say "no Medium or higher findings in the reviewed scope" if that is true, never "no vulnerabilities". Use only numbers that appear in the logs. Write file paths relative to the repository root. Never include keys, wallet addresses that are not part of the code, the customer's contact details, or paths from our own machines.

---

{{Project name}}: Contract Check report

1. Header

Project{{project name}}
Repository{{repository URL, or "customer-provided archive, not published"}}
Commit reviewed{{full 40-character commit hash}}
Chain / language{{Solana (Rust, Anchor x.y) / EVM (Solidity x.y) / other}}
Tier{{Quick / Standard / Custom}}
Order ID{{SWP-XXXXXXXX}}
Review datesStarted {{date, time zone}}. Delivered {{date, time zone}}.
Prepared bySolWhale Labs (AI-assisted review team)
Delivered to{{customer contact email}}, by email only

Scope

FileLines
{{path/to/File.sol}}{{count}}
{{path/to/Other.sol}}{{count}}
Total in scope{{count}}

Line counts are physical lines (wc -l) of the file at the reviewed commit.

Out of scope: {{list: tests, mocks, vendored libraries, off-chain code, deployment scripts, economic design, anything the quote excluded}}.

2. Disclaimer

Written by our AI review system, not an independent audit firm.

This report describes what we found when we read the code listed above, at the commit above, within the time we had. It is not a certificate. A report with few or no findings does not mean the code has no bugs. For code that will hold significant value, get a full review by an established firm as well.

3. Summary

{{Two to five sentences, plain language. State the result honestly: for example "We found 0 Critical, 0 High, 1 Medium, 2 Low and 3 Informational issues in the reviewed scope" or "No Medium or higher findings in the reviewed scope".}}

SeverityCount
Critical{{n}}
High{{n}}
Medium{{n}}
Low{{n}}
Informational{{n}}

4. Methodology

  1. Scope check. Confirmed the commit builds and the in-scope files and line counts match the quote.
  2. Line-by-line reading. Read every in-scope file at least once, following value flows, authority checks and external calls. For Solana: signer and owner checks, account validation, PDA seeds and bumps, CPI targets, rent and close handling. For EVM: access control, reentrancy, external-call handling, rounding and arithmetic, upgrade and initialisation, signature and replay handling.
  3. Existing tests. Ran the project's own tests where they run.
  4. Extra tests. Wrote local tests or fuzz tests for the claims that mattered most. All ran on our own machines, in-process, with no network access to live systems and no keys.
  5. Tools. {{list tools and versions, for example forge x.y.z, cargo x.y, slither x.y, semgrep x.y; or "none beyond the compiler and test runner"}}.
  6. Write-up and second check. A separate AI review pass checked every number, location and claim against the logs before delivery.

{{Environment notes: any local change needed to build, for example a changed compiler setting, and any directories of tests skipped and why.}}

5. Severity scale

Severity is our judgement of impact (how bad if it happens) combined with likelihood (how easy and how probable). It is a judgement, not a measurement.

Impact

  • High: loss or permanent lock of user or protocol funds, takeover of admin powers, or breaking a core invariant.
  • Medium: bounded loss of funds, temporary lock of funds, or a broken feature that an attacker can trigger at a cost to others.
  • Low: minor loss, loss limited to dust, or an issue that needs unusual conditions or a trusted party to misbehave.
  • None: no direct effect on funds or correctness.

Likelihood

  • High: any user can do it now, cheaply, with no special conditions.
  • Medium: needs some conditions, capital, timing, or a specific but plausible state.
  • Low: needs unlikely conditions, a trusted role to act against its interest, or a large cost to the attacker.
Likelihood HighLikelihood MediumLikelihood Low
Impact HighCriticalHighMedium
Impact MediumHighMediumLow
Impact LowMediumLowLow
Impact NoneInformationalInformationalInformational

Definitions

  • Critical: funds at direct risk now, or the protocol can be taken over, by anyone. Fix before any use.
  • High: significant loss or lock of funds is plausible. Fix before launch.
  • Medium: limited loss or broken behaviour under realistic conditions. Fix before launch if possible.
  • Low: small or unlikely issue. Fix when convenient.
  • Informational: no direct harm. Observations, design notes, test issues, code quality, and things we checked that you may wonder about.

6. Findings

One block per finding. Order by severity, then by ID. If there are no findings of a severity, say "None" under that heading. Do not publish exploit detail for an unfixed finding anywhere except this report to the customer.

{{F-01}}: {{short title}}

ID{{F-01}}
Title{{short title}}
Severity{{Critical / High / Medium / Low / Informational}} (impact {{x}}, likelihood {{y}})
Location{{path/File.sol:LINE}} (function {{name}})
Status{{Open / Acknowledged / Disputed / Fixed (re-checked at commit {{hash}}) / Accepted as is}}

Description. {{What the code does, and what is wrong with it. Quote the few lines that matter.}}

Impact. {{Who loses what, and under which conditions. Be honest about what an attacker needs.}}

Proof or test. {{A failing test, a trace, or reasoning. Name the test file and the run command. If there is only a code-reading argument, say "Reasoning only, no test".}}

Recommended fix. {{Concrete change, with a short code sketch if useful. We suggest, we do not edit your repo.}}

Status values: Open until you reply; Acknowledged when you agree but have not changed the code; Disputed when we disagree, with both views stated; Fixed only after we re-check your fix commit and record its hash; Accepted as is for informational notes that need no change.

7. Tests run

RunCommand or toolTestsResultLog
{{project's own tests}}{{command}}{{n}}{{n pass, n fail}}{{log name}}
{{extra tests we wrote}}{{command}}{{n}}{{n pass}}{{log name}}

Explain every failure, even if it is a test problem and not a contract bug. Use only numbers that appear in the logs. If a seed was not recorded, say so.

8. Not covered

{{Plain list of what was not reviewed, for example: other modules, economic and governance design, off-chain components, dependencies, deployment configuration, formal verification, mutation testing.}}

9. Limitations

Written by our AI review system, not an independent audit firm.

  • Time-boxed. The review took the time in the tier you bought. Some bugs need much longer to find.
  • Scope-limited. We reviewed only the files, at the commit, listed in section 1. Other files, other commits, and the deployed state may differ.
  • Limits. We do not promise the code has no bugs. A report with no findings is not a promise.
  • No economic or off-chain review unless section 1 says so. We did not model incentives, tokenomics, oracle behaviour off-chain, governance, front ends, back ends or key management.
  • Source only. We read source code. We did not interact with deployed contracts, send transactions, deploy anything, or touch anyone's keys or funds.
  • Assumptions. Third-party dependencies, the compiler, and the chain are assumed to work as documented.
  • AI-assisted. Written by our AI review system, not an independent audit firm.
  • Severity is a judgement. We rate by our reading of impact and likelihood. Reasonable reviewers can disagree.
  • This report is confidential to the customer. We do not publish it. A registry listing happens only with your registry opt-in checkbox and the written confirmation typed into the form's confirmation box (see the registry rules).

10. Follow-up

You get one round of follow-up questions within 7 days of delivery, and one re-check, at no extra cost, of the listed findings if you send a fix commit within 14 days. Reply to the email this report came from, or write to support@solwhalelabs.com. Questions or refunds: support@solwhalelabs.com. To request a new review, use the on-page Request a Contract Check form; we do not take orders by email.

SolWhale Labs

Request a Contract Check