Skip to main content
Avana logo

Audits

Audit status, areas under internal review, internal review runs, the findings register and accepted risks.

Status

Project status. Avana is going through an internal audit: an internal manual review of the code and an AI-assisted audit. There has been no external audit yet. When those steps finish, the audit opens to external auditors and to the public.

The bug bounty has not started; it will be announced. Once the external audit opens, its findings are added to the official register in the same format as the internal ones, with the raw reports kept with the audit evidence.

Scope

These are the areas under internal review now, written from the specification. The same list sets the scope of the external audit that follows:

In scopeNotes
Every Avana contract written from the specificationLPVault, Collateralization, vault tokens and VaultTokenFactory, PositionProxy and ProxyManager, AaveAdapter, RiskModule, MarketRegistry, ParameterStore, LPOracle, DebtOracle, LPVaultSwap with SettlementMath, swap route contracts, the flash source, PayoutEscrow, Lock, AvanaTimelock and AvanaRoles
Deployment scripts and AvanaTimelock operationsDeployment and initialization order, the role map, the short-delay list and the listing batches
Configuration review of the Aave DAO deployment and listing payloadsThe Hub and Spoke settings Avana depends on
Calldata building in the protocol packageTargets, approvals, receivers and amounts
Keeper and backendReviewed separately, with a lighter review

Out of scope

  • The unmodified Aave V4 contracts. The deployment check proves that their bytecode equals the audited Aave release named in the deployment manifest.
  • External protocols Avana integrates with (Uniswap v3, Aerodrome Slipstream, Chainlink, the Aave V3 Pool, GHO and OpenZeppelin), whose assumptions are listed as external dependencies on the Security page.

Reviewer Entry Point

ItemWhere
Pinned versionsSolidity 0.8.28, EVM cancun; Aave V4 commit a3ef63ea6415d25237a9775bf66e76e9993561c2; Uniswap v3-core, v3-periphery, gho-core and OpenZeppelin Contracts pinned by commit
Build and verification commandsforge build, forge test, the fork profiles in the contracts folder, and the spec-stage run_all.sh
Privilege mapSpecification 1.4 Permissions and Roles, and the role table and restricted-function matrix in 2.15
Deployment and initialization orderTimelock roles and delays set, every upgradeable contract initialized in its deployment transaction with roles only for the timelock, the deployer left with no role, all before any market is activated; then the listing order of 3.8 Market Lifecycle
Integration assumptionsSpecification 4.3 External Dependencies; the assumptions each model or proof makes are listed under the verification limitations of 5.2
Requirement coverageThe traceability matrix regenerated by trace.py
Required audit testsThe hostile-component tests: a hostile AaveAdapter, LPVaultSwap, RiskModule, MarketRegistry or ParameterStore installed through the real timelock path at the 5-day delay, each shown to stay within its stated blast radius

Internal Review Runs

Each review or verification run keeps its report, its run log (date, exact command, tool versions, seeds and bounds, result counts, the findings it produced and the specification state it ran against) and the code or models needed to reproduce it. Together these runs produced 197 findings.

SourceDateMethodFindings
Custody formal verification9–10 Nov 2026 (runs R1 to R7)Z3 and Quint models of Collateralization, the vault token and factory, the LPVault and the Adapter's mint and burn paths10
Control formal verification9–10 Nov 2026 (runs R1 to R9)Z3, enumeration and Quint models of access control, the timelock, pause, gates, parameters, registry, oracle, upgrades and breakers28
Liquidation formal verification9–10 Nov 2026 (runs R1 to R8)Z3, Hypothesis and Quint models of LPVaultSwap, settlement math, routes, Coverage Spokes and the payout escrow19
Design risk review9 Nov 2026Adversarial design risk review with its required tests20
User simulation9–10 Nov 2026 (runs R1 to R12)1,000 users and bots over 90 days, including six stress episodes14
Spec-stage Z3, SymPy and Hypothesis models9–10 Nov 2026Counterexamples found by the spec-stage formula and property models11
CVL rules against the formal properties10 Nov 2026Checking the Certora rules against the final formal-property text7
AMM-neutral review: red team10 Nov 2026Adversarial pass over the AMM-neutral architecture16
AMM-neutral review: flow walkthroughs10 Nov 2026Step-by-step walkthrough of every user and keeper flow26
AMM-neutral review: gas and DoS10 Nov 2026Gas limits and denial-of-service paths16
AMM-neutral review: integration assumptions10 Nov 2026Integration assumptions checked against live chain data8
AMM-neutral review: architecture options10 Nov 2026Comparison of deployment topologies and contract splits10
AMM-neutral review: state machine10 Nov 2026Cross-contract state machine review6
AMM-neutral review: final re-check10 Nov 2026Re-check of the whole design after the fixes3
Spec-stage simulation and Quint counterexamples9 Nov 2026Counterexamples from the stress simulations and the Quint model with no earlier finding3

Findings by Severity and Status

The internal findings register records every finding from these runs, with the run that found it, its severity, status, resolution and the check that verifies the fix. 197 findings: 8 Critical, 36 High, 60 Medium, 51 Low and 42 Informational.

SourceCriticalHighMediumLowInformationalTotal
Custody formal verification0011810
Control formal verification00581528
Liquidation formal verification00271019
Design risk review04114120
User simulation0374014
Spec-stage Z3, SymPy and Hypothesis models0019111
CVL rules against the formal properties002327
AMM-neutral review: red team2851016
AMM-neutral review: flow walkthroughs210113026
AMM-neutral review: gas and DoS1355216
AMM-neutral review: integration assumptions241018
AMM-neutral review: architecture options0242210
AMM-neutral review: state machine122106
AMM-neutral review: final re-check001203
Spec-stage simulation and Quint counterexamples002103
All836605142197

By status: none open, 99 resolved in the specification with re-verification pending, 91 resolved in the specification, 7 accepted risks and none rejected.

SourceOpenResolved, re-verification pendingResolved in specAccepted riskRejected
Custody formal verification01900
Control formal verification052300
Liquidation formal verification001900
Design risk review091010
User simulation001310
Spec-stage Z3, SymPy and Hypothesis models011000
CVL rules against the formal properties00700
AMM-neutral review: red team016000
AMM-neutral review: flow walkthroughs024020
AMM-neutral review: gas and DoS016000
AMM-neutral review: integration assumptions08000
AMM-neutral review: architecture options010000
AMM-neutral review: state machine06000
AMM-neutral review: final re-check03000
Spec-stage simulation and Quint counterexamples00030
All0999170

Severity and Status Definitions

SeverityMeaning
CriticalLoss of collateral or unbacked debt with no precondition beyond an upgrade or a public call
HighLoss or a protocol-wide halt under a plausible condition
MediumBounded loss, griefing or liveness loss in one market
LowDust-level loss or a narrow condition
InformationalConfirms a decision; no loss
StatusMeaning
OpenThe finding stands against the specification as written.
Resolved in spec — re-verification pendingEvery rule the fix changes carries the decision in the specification, and the finding is mirrored in the official register; the proving check has not yet passed in a logged run against the edited pages.
Resolved in specThe specification rule has changed and the proving check passes against the changed rule in a logged run.
Resolved in designIn the official register: a decision removes the finding, and the verification proves the fix on code.
Accepted riskA recorded decision keeps the rule and accepts the residual risk, with the owner and the bound stated.
Launch conditionIn the official register: resolved once a value, configuration or agreement is in place before launch; the verification checks it.
RejectedThe finding was re-examined and does not hold; the resolution says why.

Official Findings Register

The official register is specification section 5.3. A finding resolved in the specification or accepted as a risk is mirrored there as a FINDING- entry, and implementation-stage and external audit findings are added with the same fields. It holds 295 findings.

Status in the official registerFindings
Resolved in design75
Resolved in spec99
Resolved in spec — re-verification pending83
Resolved and re-verified after the AMM-neutral formal verification runs3
Accepted risk28
Launch condition7
Total295

The register's summary line counts the three re-verified findings with the 86 pending re-verification. By severity:

SeverityCriticalHighMediumLowInformationalTotal
Findings1270956652295

Launch conditions

FindingLaunch condition
FINDING-019The minimum liquidation bonus is set through the bonus factor, not the maximum bonus.
FINDING-027Caps are sized from the worst LP drop during a pause, not the pause length.
FINDING-049Backup-route depth holds when every USDC and DAI leg moves to the backup in a USDC depeg.
FINDING-052First-Loss Reserve sizing covers a tail collapse during an outage at high pool risk factors.
FINDING-053Feed cadence is checked against silent feed stalls that keep markets Live on a stale price.
FINDING-057The keeper agreement covers loss-making calls so dust accounts do not leave bad debt.
FINDING-102Debt-reserve listing is tested against a debt-asset price rally that makes stable-LP accounts liquidatable together.

Accepted Risks

Each accepted risk names an owner and a bound on the loss. The 7 accepted risks of the internal register are FINDING-145, FINDING-160, FINDING-228, FINDING-232, FINDING-283, FINDING-284 and FINDING-285 below.

FindingSeverityAccepted risk
FINDING-002InformationalA deep depeg can take a whole vault token below the $1 target used for decimals.
FINDING-010HighA common-mode feed error can pass every price check; bounded by route independence at listing and monitoring.
FINDING-018InformationalInterest can move an account across a borrow-time health check after the borrow; a postcondition, not an invariant.
FINDING-024LowMany one-share dust users can exceed the one-basis-point margin of the Spoke configuration; more than 1e16 such accounts are needed, which no realistic gas budget allows.
FINDING-037InformationalThe position manager's uint128 wrap in fee collection; unreachable below about 3.4e20 whole tokens owed on one position, far above every cap.
FINDING-042HighAn Aave Guardian reserve pause blocks liquidation with no Avana expiry; the listing AIP asks for a 48-hour lift.
FINDING-043MediumA faulty RiskModule could approve borrowing against frozen or Drifting markets, within Aave's health factor and draw caps.
FINDING-050LowA GHO discount can liquidate accounts that are solvent in GHO terms.
FINDING-056MediumWithout a bonus floor, small liquidations depend on gas during a spike; Avana's keepers liquidate them as an operating cost.
FINDING-058LowInterest-driven liquidations lose money at moderate gas; Avana pays the loss as an operating cost of its keeper.
FINDING-062CriticalA hostile Adapter could register an attacker contract as a proxy; bounded by the 5-day timelock and every canceller.
FINDING-069HighApprovals to the upgradeable Adapter; the app requests only exact approvals consumed in the same transaction, and upgrades wait the timelock delay.
FINDING-084LowKeeper reimbursement farming; no external keeper is reimbursed, because Avana's own keepers liquidate every account and Avana pays their gas.
FINDING-085MediumA swapped web bundle or release manifest in the supply chain.
FINDING-092MediumThe recipient-only transfer rule lets a hostile LPVaultSwap supply seized tokens; bounded by the timelock.
FINDING-095LowA compromised keeper at the floor cannot be removed at once; its liquidations stay bounded by the recovery floor and per-leg minimums, and a guardian can freeze it.
FINDING-098InformationalDebt below the value of one seized unit cannot be liquidated through LPVaultSwap.
FINDING-099HighThe Adapter implementation holds custody power over every proxy position; bounded by the 5-day delay, cancellers and exits that stay open.
FINDING-100HighOne upgrade could change every PositionProxy at once. Recorded against the earlier beacon design; PositionProxies and the ProxyManager are now immutable.
FINDING-101MediumA stale debt-asset feed delays liquidation repaying that debt; the debt counts at its stress price meanwhile.
FINDING-145LowSmall accounts are guaranteed keeper losses; the $10 minimum pledge is kept.
FINDING-160Low$10 dust accounts are cheap to open and costly to liquidate; the cost is Avana's.
FINDING-163LowRecorded when one account covered every market of a Spoke, so one market's stale state blocked borrowing across the account (exits and liquidation continued). Each market now has its own account.
FINDING-228HighAave-side halts and pauses stop repay, debt-free withdrawal and liquidation; accepted with an operating playbook.
FINDING-232MediumA debt-free LP can fill caps at no cost; handled by caps set at listing and monitoring.
FINDING-283LowA 24-hour failure of both USDC routes with no standby switch liquidated accounts healthy at market prices; a standby switch within 30 minutes removes it.
FINDING-284MediumWith no committed operator acting for 48 hours, liquidations left to other callers left tail bad debt; the committed operators, Avana's own keeper at launch, carry that duty.
FINDING-285MediumA hostile LPVaultSwap could seize an Expired market in full for one unit of debt; inside the upgrade blast radius bounded by the timelock.

How Findings Are Tracked

  • Finding. Every run appends to its run log, and every finding it produces gets a row in the internal register as Open, with the spec rules involved.
  • Spec change. The fix is a recorded design decision and changed rule text in the specification pages. A recorded decision alone leaves the finding Open.
  • Re-verify. The finding becomes Resolved in spec only when the check that proves the fix passes against the changed rule in a logged run; until then it is Resolved in spec with re-verification pending. Accepted risks and rejections each need a recorded decision or written re-examination.
  • Mirror. Findings resolved in the specification or accepted are added to the official register, and the summary tables are updated in the same change as the rows they count.
  • Implementation stage. Once the code exists, each fix is also proved on code by its Foundry test or formal property, and external audit findings enter the same register.

The verification methods behind these checks are listed on the Security page.