Smart contract auditfor 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.
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.
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.
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.
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.
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.
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.