Formal Verification

Formal Verification

Morpho follows a multi-faceted approach to security.

Morpho security practices include formal verification, mutation tests, fuzzing, unit testing, and peer reviews that can be found within the respective GitHub repositories. External measures include professional security reviews, contests, and pre/post-deployment bounties.

A whole article was dedicated to the Morpho Security Framework.

The full list of formal verifications is available below.

Formally ProvenScopeTool Used
Morpho tokenERC20 and delegation logicCertora
Morpho Bluecore logicCertora & Halmos
Morpho Blue - Pre-liquidationcore logicCertora
Bundler3core logicCertora
Vault V2core logicCertora
Midnightcore logicCertora
Morpho data structures (Legacy)double linked list and logarithmic bucketsCertora & Halmos
Morpho Aave V3 (Legacy)core logicWhy3
Morpho optimizers (Legacy)Merkle tree and claim functionCertora & custom checker
Universal rewards distributor (Legacy)Merkle tree and claim functionCertora & custom checker
Morpho token (legacy)authorization systemCertora
Morpho utils (Legacy)math functionsCertora
Vault V1.0 (Legacy)core logicCertora