Skip to main content

Audits & Tests

Seven sequential audit passes โ€” every finding closedโ€‹

PassCriticalHighMediumNotes
v1.0247Original full audit of the initial codebase
v1.1113Re-audit caught issues the v1.1 fixes themselves introduced
v1.2002Carried mediums fixed
v1.2.1000Permissive-FOT opt-in redesign
v1.2.2001Fresh-eyes full-codebase pass; dead code & doc-rot sweep
v1.3.0000Dividend IOUs excluded from share backing (solvency fix #26)
v1.4.0101Fresh-eyes pass over #27โ€“#29 stack โ€” see case study

All reports are public in the contracts repo (SELF_AUDIT*.md). All findings across all passes are closed.

The v1.4.0 case study โ€” proof the process worksโ€‹

The partner-payout surface (#29) introduced new external-call windows. A cross-function reentrancy path through claimStuck() was found, proven with an executable proof-of-concept (double extraction + ~8.9% silent impairment of an innocent depositor), fixed the same day with a nonReentrant guard, and both PoCs were converted into permanent regression tests. The fuzz harness was rebuilt to cover the partner/hook surface and tripwire-validated โ€” it demonstrably detects the pre-fix bug.

Test suite โ€” 101 / 101 passingโ€‹

SuiteTests
Vault (implementation)28
Factory21
Fee collector18
Curator exemption (#27)8
CRDD tier (#28)9
Partner split (#29)9
Regression (audit pins)4
Fuzz walk (10k-run invariant walks)2
v1.2.2 audit pins2
Total101

Fuzz harness property checks: token conservation, solvency, burn-lock, dividend-ledger integrity and preview/execution parity across random 40-operation walks including hook-capable tokens and partner wallets.

Security foundationsโ€‹

  • Built on OpenZeppelin Contracts v5.1 (battle-tested primitives).
  • ERC-4626 share math re-implemented to fit the per-token-clone model (divergences documented).
  • Dividend math follows the Synthetix StakingRewards pattern (audited across billions in TVL).
  • Reentrancy protection via ReentrancyGuardTransient (OZ v5 transient storage). The asset-token โ‰  share-token split is a deliberate invariant that makes cross-contract reentry inert by design.
  • External audit: RFP prepared (RFP_AUDIT.md); not yet commissioned.
  • Full disclosure policy: Responsible Disclosure.