Skip to content

Morpho Midnight Adapter

By Morpho Audit contest on Cantina

Accepting reports contest source code
Top reward
$400,000
Top severity paid
Critical
Assets in scope
2
Public CVEs
0
Last change

At a glance

What to know before you start testing.

Pays up to $400,000
for critical bugs.

Rewards

What Cantina lists as the payout for each severity.

Severity Reward
Critical $400,000

Reward range in US dollars. Cantina's own page has the details.

Scope

2 assets you may test.

Source code 2

  • https://github.com/morpho-org/vault-v2
  • https://github.com/morpho-org/vault-v2/tree/bbeda7b27ae80abcf070e0158cb8a31e87bb2286/src/adapters/midnight

Changes

Tracked since 23 Nov 2026. Last checked 57 minutes ago.

  1. Launched

    New public program.

History

Scope and reward changes recorded before this page started tracking it.

  1. Status

    Program status changed

Public CVEs

Published vulnerabilities in this vendor's products, from the NVD.

No CVEs matched yet. We match NVD records by vendor name, so products sold under another name can be missing.

Original policy

Copied from cantina.xyz on 28 Nov 2026. The summaries on this page are made from it; the live page may have changed since.

Morpho Midnight Adapter @ morpho Live Instructions Total reward $400,000 Entry fee $30 One-time, charged with your first submission. Waived for researchers with $1,000+ in lifetime rewards. Status Live Findings submitted 367 Start date 23 Nov 2026 End date 3 Dec 2026 KYC Required to join You need to be logged in as a researcher in order to join. The Midnight Adapter lets a Morpho Vault V2 allocate assets into Midnight fixed-rate, fixed-maturity markets. It buys, sells and holds credit on behalf of the vault, and withdraws repaid assets back to the vault. The adapter uses the roles of its parent vault (curator, allocators and sentinels), and all contracts are immutable. Prize Distribution and Scoring Total Prize Pool: Up to $400,000 The total pot size depends on the highest severity of valid findings: If one or more valid Medium severity findings are found, the total pot size is $150,000 . If one or more valid High severity findings are found, the total pot size is $400,000 . $40,000 of the total prize pool is reserved for Low Severity & Informational findings. These reports are judged on quality, with researchers ranked 1st-10th for prize allocation. Scoring is described on the competition scoring page . Entry Fee A one-time entry fee of $30 USDC is charged with your first finding submission in this competition. Additional submissions do not incur another fee. The fee is waived for researchers who have earned more than $1,000 in lifetime rewards on Cantina. The fee is refundable at Cantina's discretion. Submission Quality Review and verify every finding before submitting. Spam or unverified (including unchecked AI-generated) submissions are considered abuse and will result in a ban from the Cantina platform and forfeiture of all rewards in this competition. Severity Definition This competition uses Cantina's standard severity definitions. See the competition finding severity criteria . Documentation Midnight Adapter README NatSpec and in-code documentation / comments The Midnight Adapter directly interacts with the Midnight and Vault V2 smart contracts. The code and documentation for these contracts can be found below. Vault V2: Vault V2 Vault V2 documentation Midnight: Midnight Midnight documentation Midnight whitepaper Scope Repository: morpho-org/vault-v2 Commit: bbeda7b27ae80abcf070e0158cb8a31e87bb2286 Files / directories in scope: src/adapters/midnight MidnightAdapter.sol MidnightAdapterFactory.sol gates/IKRCompatibleEnterGate.sol gates/IKRCompatibleEnterGateFactory.sol gates/WhitelistEnterSubGate.sol gates/WhitelistEnterSubGateFactory.sol libraries/PackedDurationsLib.sol ratifiers/MidnightAdapterPriceRatifierV1.sol ratifiers/MidnightAdapterRateRatifierV1.sol Interfaces under interfaces/ , gates/interfaces/ and ratifiers/interfaces/ Build Instructions See the repository README for build, setup, and testing instructions. Mandatory POC Rule The mandatory POC rule applies to this competition. All High and Medium findings require a valid coded POC before the end of the competition. Out of Scope Previous security reports / audits Cantina - Midnight Adapter (draft, 2026-10-12) TrustSec - Midnight Adapter (draft, 2026-10-12) Expected behaviors such as trusted / untrusted roles Accepted risks Contact Us For any issues or concerns regarding this competition, please reach out to the Cantina core team through the Cantina Discord .