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 scope | Notes |
|---|---|
| Every Avana contract written from the specification | LPVault, 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 operations | Deployment and initialization order, the role map, the short-delay list and the listing batches |
| Configuration review of the Aave DAO deployment and listing payloads | The Hub and Spoke settings Avana depends on |
| Calldata building in the protocol package | Targets, approvals, receivers and amounts |
| Keeper and backend | Reviewed 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
| Item | Where |
|---|---|
| Pinned versions | Solidity 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 commands | forge build, forge test, the fork profiles in the contracts folder, and the spec-stage run_all.sh |
| Privilege map | Specification 1.4 Permissions and Roles, and the role table and restricted-function matrix in 2.15 |
| Deployment and initialization order | Timelock 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 assumptions | Specification 4.3 External Dependencies; the assumptions each model or proof makes are listed under the verification limitations of 5.2 |
| Requirement coverage | The traceability matrix regenerated by trace.py |
| Required audit tests | The 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.
| Source | Date | Method | Findings |
|---|---|---|---|
| Custody formal verification | 9–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 paths | 10 |
| Control formal verification | 9–10 Nov 2026 (runs R1 to R9) | Z3, enumeration and Quint models of access control, the timelock, pause, gates, parameters, registry, oracle, upgrades and breakers | 28 |
| Liquidation formal verification | 9–10 Nov 2026 (runs R1 to R8) | Z3, Hypothesis and Quint models of LPVaultSwap, settlement math, routes, Coverage Spokes and the payout escrow | 19 |
| Design risk review | 9 Nov 2026 | Adversarial design risk review with its required tests | 20 |
| User simulation | 9–10 Nov 2026 (runs R1 to R12) | 1,000 users and bots over 90 days, including six stress episodes | 14 |
| Spec-stage Z3, SymPy and Hypothesis models | 9–10 Nov 2026 | Counterexamples found by the spec-stage formula and property models | 11 |
| CVL rules against the formal properties | 10 Nov 2026 | Checking the Certora rules against the final formal-property text | 7 |
| AMM-neutral review: red team | 10 Nov 2026 | Adversarial pass over the AMM-neutral architecture | 16 |
| AMM-neutral review: flow walkthroughs | 10 Nov 2026 | Step-by-step walkthrough of every user and keeper flow | 26 |
| AMM-neutral review: gas and DoS | 10 Nov 2026 | Gas limits and denial-of-service paths | 16 |
| AMM-neutral review: integration assumptions | 10 Nov 2026 | Integration assumptions checked against live chain data | 8 |
| AMM-neutral review: architecture options | 10 Nov 2026 | Comparison of deployment topologies and contract splits | 10 |
| AMM-neutral review: state machine | 10 Nov 2026 | Cross-contract state machine review | 6 |
| AMM-neutral review: final re-check | 10 Nov 2026 | Re-check of the whole design after the fixes | 3 |
| Spec-stage simulation and Quint counterexamples | 9 Nov 2026 | Counterexamples from the stress simulations and the Quint model with no earlier finding | 3 |
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.
| Source | Critical | High | Medium | Low | Informational | Total |
|---|---|---|---|---|---|---|
| Custody formal verification | 0 | 0 | 1 | 1 | 8 | 10 |
| Control formal verification | 0 | 0 | 5 | 8 | 15 | 28 |
| Liquidation formal verification | 0 | 0 | 2 | 7 | 10 | 19 |
| Design risk review | 0 | 4 | 11 | 4 | 1 | 20 |
| User simulation | 0 | 3 | 7 | 4 | 0 | 14 |
| Spec-stage Z3, SymPy and Hypothesis models | 0 | 0 | 1 | 9 | 1 | 11 |
| CVL rules against the formal properties | 0 | 0 | 2 | 3 | 2 | 7 |
| AMM-neutral review: red team | 2 | 8 | 5 | 1 | 0 | 16 |
| AMM-neutral review: flow walkthroughs | 2 | 10 | 11 | 3 | 0 | 26 |
| AMM-neutral review: gas and DoS | 1 | 3 | 5 | 5 | 2 | 16 |
| AMM-neutral review: integration assumptions | 2 | 4 | 1 | 0 | 1 | 8 |
| AMM-neutral review: architecture options | 0 | 2 | 4 | 2 | 2 | 10 |
| AMM-neutral review: state machine | 1 | 2 | 2 | 1 | 0 | 6 |
| AMM-neutral review: final re-check | 0 | 0 | 1 | 2 | 0 | 3 |
| Spec-stage simulation and Quint counterexamples | 0 | 0 | 2 | 1 | 0 | 3 |
| All | 8 | 36 | 60 | 51 | 42 | 197 |
By status: none open, 99 resolved in the specification with re-verification pending, 91 resolved in the specification, 7 accepted risks and none rejected.
| Source | Open | Resolved, re-verification pending | Resolved in spec | Accepted risk | Rejected |
|---|---|---|---|---|---|
| Custody formal verification | 0 | 1 | 9 | 0 | 0 |
| Control formal verification | 0 | 5 | 23 | 0 | 0 |
| Liquidation formal verification | 0 | 0 | 19 | 0 | 0 |
| Design risk review | 0 | 9 | 10 | 1 | 0 |
| User simulation | 0 | 0 | 13 | 1 | 0 |
| Spec-stage Z3, SymPy and Hypothesis models | 0 | 1 | 10 | 0 | 0 |
| CVL rules against the formal properties | 0 | 0 | 7 | 0 | 0 |
| AMM-neutral review: red team | 0 | 16 | 0 | 0 | 0 |
| AMM-neutral review: flow walkthroughs | 0 | 24 | 0 | 2 | 0 |
| AMM-neutral review: gas and DoS | 0 | 16 | 0 | 0 | 0 |
| AMM-neutral review: integration assumptions | 0 | 8 | 0 | 0 | 0 |
| AMM-neutral review: architecture options | 0 | 10 | 0 | 0 | 0 |
| AMM-neutral review: state machine | 0 | 6 | 0 | 0 | 0 |
| AMM-neutral review: final re-check | 0 | 3 | 0 | 0 | 0 |
| Spec-stage simulation and Quint counterexamples | 0 | 0 | 0 | 3 | 0 |
| All | 0 | 99 | 91 | 7 | 0 |
Severity and Status Definitions
| Severity | Meaning |
|---|---|
| Critical | Loss of collateral or unbacked debt with no precondition beyond an upgrade or a public call |
| High | Loss or a protocol-wide halt under a plausible condition |
| Medium | Bounded loss, griefing or liveness loss in one market |
| Low | Dust-level loss or a narrow condition |
| Informational | Confirms a decision; no loss |
| Status | Meaning |
|---|---|
| Open | The finding stands against the specification as written. |
| Resolved in spec — re-verification pending | Every 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 spec | The specification rule has changed and the proving check passes against the changed rule in a logged run. |
| Resolved in design | In the official register: a decision removes the finding, and the verification proves the fix on code. |
| Accepted risk | A recorded decision keeps the rule and accepts the residual risk, with the owner and the bound stated. |
| Launch condition | In the official register: resolved once a value, configuration or agreement is in place before launch; the verification checks it. |
| Rejected | The 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 register | Findings |
|---|---|
| Resolved in design | 75 |
| Resolved in spec | 99 |
| Resolved in spec — re-verification pending | 83 |
| Resolved and re-verified after the AMM-neutral formal verification runs | 3 |
| Accepted risk | 28 |
| Launch condition | 7 |
| Total | 295 |
The register's summary line counts the three re-verified findings with the 86 pending re-verification. By severity:
| Severity | Critical | High | Medium | Low | Informational | Total |
|---|---|---|---|---|---|---|
| Findings | 12 | 70 | 95 | 66 | 52 | 295 |
Launch conditions
| Finding | Launch condition |
|---|---|
FINDING-019 | The minimum liquidation bonus is set through the bonus factor, not the maximum bonus. |
FINDING-027 | Caps are sized from the worst LP drop during a pause, not the pause length. |
FINDING-049 | Backup-route depth holds when every USDC and DAI leg moves to the backup in a USDC depeg. |
FINDING-052 | First-Loss Reserve sizing covers a tail collapse during an outage at high pool risk factors. |
FINDING-053 | Feed cadence is checked against silent feed stalls that keep markets Live on a stale price. |
FINDING-057 | The keeper agreement covers loss-making calls so dust accounts do not leave bad debt. |
FINDING-102 | Debt-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.
| Finding | Severity | Accepted risk |
|---|---|---|
FINDING-002 | Informational | A deep depeg can take a whole vault token below the $1 target used for decimals. |
FINDING-010 | High | A common-mode feed error can pass every price check; bounded by route independence at listing and monitoring. |
FINDING-018 | Informational | Interest can move an account across a borrow-time health check after the borrow; a postcondition, not an invariant. |
FINDING-024 | Low | Many 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-037 | Informational | The position manager's uint128 wrap in fee collection; unreachable below about 3.4e20 whole tokens owed on one position, far above every cap. |
FINDING-042 | High | An Aave Guardian reserve pause blocks liquidation with no Avana expiry; the listing AIP asks for a 48-hour lift. |
FINDING-043 | Medium | A faulty RiskModule could approve borrowing against frozen or Drifting markets, within Aave's health factor and draw caps. |
FINDING-050 | Low | A GHO discount can liquidate accounts that are solvent in GHO terms. |
FINDING-056 | Medium | Without a bonus floor, small liquidations depend on gas during a spike; Avana's keepers liquidate them as an operating cost. |
FINDING-058 | Low | Interest-driven liquidations lose money at moderate gas; Avana pays the loss as an operating cost of its keeper. |
FINDING-062 | Critical | A hostile Adapter could register an attacker contract as a proxy; bounded by the 5-day timelock and every canceller. |
FINDING-069 | High | Approvals to the upgradeable Adapter; the app requests only exact approvals consumed in the same transaction, and upgrades wait the timelock delay. |
FINDING-084 | Low | Keeper reimbursement farming; no external keeper is reimbursed, because Avana's own keepers liquidate every account and Avana pays their gas. |
FINDING-085 | Medium | A swapped web bundle or release manifest in the supply chain. |
FINDING-092 | Medium | The recipient-only transfer rule lets a hostile LPVaultSwap supply seized tokens; bounded by the timelock. |
FINDING-095 | Low | A 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-098 | Informational | Debt below the value of one seized unit cannot be liquidated through LPVaultSwap. |
FINDING-099 | High | The Adapter implementation holds custody power over every proxy position; bounded by the 5-day delay, cancellers and exits that stay open. |
FINDING-100 | High | One upgrade could change every PositionProxy at once. Recorded against the earlier beacon design; PositionProxies and the ProxyManager are now immutable. |
FINDING-101 | Medium | A stale debt-asset feed delays liquidation repaying that debt; the debt counts at its stress price meanwhile. |
FINDING-145 | Low | Small accounts are guaranteed keeper losses; the $10 minimum pledge is kept. |
FINDING-160 | Low | $10 dust accounts are cheap to open and costly to liquidate; the cost is Avana's. |
FINDING-163 | Low | Recorded 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-228 | High | Aave-side halts and pauses stop repay, debt-free withdrawal and liquidation; accepted with an operating playbook. |
FINDING-232 | Medium | A debt-free LP can fill caps at no cost; handled by caps set at listing and monitoring. |
FINDING-283 | Low | A 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-284 | Medium | With 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-285 | Medium | A 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.
