Qevra logo

Smart contract audit for code preparing to hold value.

For protocol teams approaching a code freeze, mainnet launch, or material upgrade. Qevra reviews the contracts, commit, roles, and integrations named in the agreed scope — and records what remains outside it.

Read the FAQ

What a smart contract audit is.

A manual review of named contracts at one pinned commit, against a written scope and threat model. Engineers work out what the code is meant to do, then look for the paths that break it.

It is

  • Engineers reading the named contracts line by line, with tooling alongside.
  • Findings tied to exact code at the pinned commit, each with a concrete fix.
  • Evidence of work performed within a written, versioned scope.

It is not

  • A certification, a badge, or a guarantee that no other issue exists.
  • Formal verification, unless that discipline is named in the engagement.
  • Coverage of code changed after the scoped commit.

What we audit.

Contract systems that hold value or change protocol state. Each kind raises its own questions, and these are the ones a review starts from.

  • Vaults and yield strategies

    Share accounting, the rounding direction on each conversion, and how far the vault trusts the strategy it deposits into.

  • Lending and liquidations

    Collateral pricing, stale or manipulable oracles, liquidation incentives, and the edge cases that leave bad debt behind.

  • Tokens and launches

    Supply and owner controls, fee-on-transfer and rebasing behaviour, and the hand-over of ownership and liquidity at launch.

  • Upgradeable contracts and admin roles

    Proxy initialization, storage layout across upgrades, role hand-offs, and every function a privileged key can reach.

  • Cross-chain messaging

    Aliased senders, replayed messages, and finality assumptions at the boundary where value or instructions cross chains.

  • Tokenized real-world assets

    Issuer controls such as mint, freeze, and pause, and oracle prices that go stale while the underlying market is closed.

Languages and chains

RustSolana programs

Shipping on another EVM or non-EVM network? Ask during scoping.

What is in scope — and what is not.

A typical audit follows the contract system that can move value or change protocol state. Other layers are separate disciplines unless they are named in the engagement.

Typical scope

Covered in a standard engagement of this type.

  • Contract logic, state transitions, access control, and privileged functions.
  • Upgrade and initialization paths, including role handoffs visible in the contracts.
  • Token accounting, precision, rounding, external calls, callbacks, and visible oracle assumptions.

Added when agreed

Available, but only when named in the scope agreement.

  • Economic invariants when they are expressible and included in the agreed review method.
  • Tests, static analysis, and fuzzing where they help examine the named risk.
  • Inherited dependencies and deployed integrations when their versions and addresses are identified.

Not included unless explicitly scoped

Outside this engagement type by default.

  • Frontend, backend, cloud infrastructure, security monitoring, and formal verification.
  • Third-party contracts and services unless they are explicitly named as an integration boundary.
  • Changes made after the scoped commit unless the engagement is re-scoped.

A typical review covers the repositories, contracts, endpoints, roles, and integrations listed in the agreed scope. Third-party systems and changes made after the scoped commit are excluded unless added explicitly.

How an audit runs.

Six phases, from the first call to verified fixes. The review stays pinned to one commit throughout, and tooling runs alongside the manual work, never instead of it.

Read the methodology in full
  1. 01

    Scope and threat model

    Before any code is read, we agree what is being protected and from whom.

  2. 02

    Plan and timeline

    Coverage is agreed in writing before work starts, not discovered halfway through.

    The review is pinned to a named commit here; later changes are re-scoped.

  3. 03

    Manual code review

    Engineers read the code and reason about what it is meant to do. This is the part tooling cannot do for you.

  4. 04 · alongside 03

    Automated analysis

    Tooling runs alongside the manual work to widen coverage where machines are genuinely exhaustive.

  5. 05

    Report delivery

    A finding is only useful if it leads to a fix.

  6. 06

    Fix verification

    The engagement does not end at the report.

What we need from you

  • Repository access and a frozen or named commit.
  • Protocol documentation, specifications, and intended invariants.
  • Deployment configuration, addresses, roles, and integration context when relevant.
  • Known concerns and prior audit reports when they affect the scope.

What you receive

  • Scoped repository and commit, or deployed contracts.
  • Severity-ranked findings with their affected components.
  • Recommended remediation and residual-risk notes.
  • Final report and a remediation-status handoff or review plan.

What the report contains.

Five sections, each written for a different reader. Your engineers work from section 03, the findings; one is opened here.

  1. 01Executive summaryFor decision makers
  2. 02Scope and versionFor the record
  3. 03FindingsFor your engineersOpened
  4. 04Remediation statusFor everyone
  5. 05Severity definitions and limitsFor anyone citing it
QEV-04

Withdrawal rounds in favour of the caller on both conversions

Severity
Medium
Affected components
src/Vault.sol — withdraw(), lines 182–204, at commit a3f19c2
Description
withdraw() converts shares to assets rounding down, then burns the caller's shares rounding down as well. Both roundings favour the caller, so every withdrawal leaves the vault fractionally short against totalAssets(). deposit() already rounds in the vault's favour, so the two paths disagree. Any depositor can trigger it, and it becomes profitable once the rounding remainder exceeds gas, which happens as the vault grows.
Recommendation
Round the share burn up in withdraw(), matching the direction deposit() already uses. ERC-4626 specifies that rounding favour the vault on both paths. The change is one mulDiv rounding flag and does not alter the external interface.
Team response
Acknowledged. Fixed in c81be40 by rounding the share burn up, as recommended.
Status
Resolved. Fix verified at commit c81be40.

Every finding is rated on one five-step scale, against published definitions.

  • Critical
  • High
  • Medium
  • Low
  • Informational

Every completed report is public.

The report is published on Qevra's audits index and attached to the project's page in Aegis, our public project index. Anyone checking your contracts can read what was reviewed, at which commit, and what was found.

Listed on
The audits index on this site, and the project's page in Aegis, where the report sits in the project's audit history.
Version
Normally the fix-verified one, so readers see each finding's resolved status rather than a snapshot of open issues.
Held until fixed
Unresolved critical or high findings affecting a live system, and any detail that would help an attacker while the issue is open.
Never published
Credentials, keys, and internal infrastructure detail, and the identities of individual reviewers.

The right engagement for the question you have.

A contract audit answers whether the named contract code behaves safely under the assumptions in scope. Adjacent engagements answer different questions about the product around it.

  • dApp Security Review

    Follows the wallet, frontend, RPC/API, relayer, and backend path that constructs or triggers contract transactions.

  • Remediation Review

    Verifies reported fixes against the original findings instead of re-auditing the whole repository.

  • Formal verification

    Uses a formal method to prove specified properties. It is a different discipline and is not automatically part of an audit.

Questions about smart contract audits.

What teams ask before they share code. If yours is not here, ask it on the scope call.

Start with the commit that matters.

Share the release boundary, the value flows you need examined, and the assumptions your contracts make. We will turn that into a review plan before work begins.

Before the code freeze

The scope call sorts what you bring against your named commit. It is a conversation, not an assessment of your repository.

  • ReadyThe review can start

    Repository access, a frozen or named commit, the protocol specification, and the deployment context are available for the agreed scope.

  • ClarifyThe review needs a decision

    An invariant, privileged role, upgrade path, inherited dependency, or integration assumption is not yet precise enough to test.

  • OutsideThe review needs another owner

    Frontend, backend, cloud infrastructure, monitoring, formal verification, or third-party code is not automatically part of a contract audit.

Work through the audit readiness checklist

Need the surrounding transaction path too? See dApp Security Review.