Skip to content

Tuesday, November 24, 2026 Updated

EditionEnglishEspañol

News

Morpho Uses Certora to Formally Verify Midnight Protocol Security

Morpho details how Certora continuously verified Midnight’s immutable core, covering accounting, solvency, permissions and implementation safety.

By

2 min read

Morpho details how Certora continuously verified Midnight’s immutable core, covering accounting, solvency, permissions and implementation safety.

Key points

  • Morpho says Certora engineers worked alongside its protocol team from Midnight’s earliest development, continuously verifying smart contract properties rather than reviewing code.
  • The verification covers accounting, maturity and solvency, offers and fees, permissions, arithmetic, price conversions and protection against inconsistent states during external calls.
  • Morpho says formal verification complements audits and testing because Midnight’s immutable contracts cannot be upgraded after deployment, making pre-launch assurance especially important for users and integrators.

Morpho has detailed how Certora helped formally verify Morpho Midnight, its fixed-rate, fixed-term credit protocol launched in July 2026. In its formal verification review, Morpho says Certora engineers worked alongside its protocol team from the beginning, while Morpho engineers retained ownership of the specifications. The process extends the security model behind Morpho Protocol. Formal verification was built into Midnight’s development rather than added as a final pre-launch check.

Morpho says the work served three functions: refining specifications, evaluating code changes early and finding bugs before deployment. Unlike conventional testing, formal verification uses mathematical methods to check whether defined properties hold across every input and transaction sequence covered by the model. The approach complements the protocol’s broader security-first design, where simplicity, immutability and noncustodial architecture reduce the number of moving parts. Continuous verification gave the team a way to test design assumptions while changes were still possible.

Morpho on the day of this story

Price at publication$1.5816:02 UTC

This story
  • Past 7 days−7.6%
  • All-time high−62.1%$4.17
Data: BlockBoardLive Morpho price →

Certora verification covers five areas of Midnight

The Certora effort covers five areas of Midnight’s behavior. Accounting checks verify that credit, debt and collateral remain consistent and that tokens move between the correct parties. Maturity and solvency rules cover liquidation eligibility, incentive bounds and bad-debt accounting. Offer, fee and rounding checks test limits and split settlements, while permission rules constrain privileged actions. Implementation checks also cover arithmetic, price conversions and external calls. The scope goes beyond isolated functions by testing invariants across the core protocol.

That focus matters because Morpho Midnight’s core contracts are immutable and cannot be upgraded after deployment. Morpho argues that verification before launch is therefore especially important, since errors cannot later be corrected through an admin upgrade. The work sits alongside independent audits and public review that previously supported Midnight’s launch on Base. Formal verification does not replace those layers, but adds another form of assurance focused on specified mathematical properties.

Morpho says Midnight has now attracted more than $200 million in deposits. The company also notes that the verification process follows a practice already used for Morpho Blue, which it says has operated since 2024 with more than $17 billion in deposits. The latest disclosure fits Morpho’s broader security strategy, which combines formal verification, audits, testing and operational controls. The result is a security framework designed around proving core behavior before immutable code carries more capital, as the protocol expands into larger fixed-rate credit markets globally.

About the author

Nicholet R.

Passionate writer and blockchain enthusiast, she covers the latest developments in the cryptocurrency world with clarity and depth. At Crypto Economy, she focuses on delivering accurate, engaging, and accessible content for readers eager to stay informed about Bitcoin, DeFi, NFTs, and the constantly evolving crypto ecosystem.

Follow Crypto Economy on Google News