Skip to main content
For the complete documentation index, see llms.txt

Security audits

The Midnight Foundation commissions independent security audits of Midnight components. This page lists the published reports.

Each report appears here exactly as the auditor delivered it. The status of each finding reflects the auditor's verification at the code revision named in the report. Later releases may have changed the code.

To report a security vulnerability, follow the Midnight Foundation security policy. Use GitHub private vulnerability reporting, or email security@midnight.foundation. Do not open a public issue.

Audit reports​

ComponentAuditorReport dateAudited codeReport
Ledger (including Zswap and DUST)Least Authority19 December 2025midnight-ledger at 854e7e7, fixes verified at 0fff805PDF
Midnight.jsLeast Authority11 March 2026midnight-js at 4255f7b, fixes verified at bdea445PDF
SHA-3 (Keccak) circuitsLeast Authority23 February 2026sha3-circuit at d75f363, fixes verified at 12addf9PDF
Midnight circuits: ZkStdLib, Poseidon, BigUint, JSON, and Base64zkSecurity11 April 2025midnight-zk at 6e1454ePDF

Reports published elsewhere​

Each of these reports lives in the repository of the code it audits.

ComponentAuditorReport dateReport
Upgradable contracts on Cardano (Reserve)TxPipe8 January 2026midnight-reserve-contracts
NIGHT and Glacier Drop (phase 2)Tweag (Modus Create)August 2025night-token-distribution

Verify a report​

Check a downloaded report against its SHA-256 checksum:

sha256sum 2025-12-19-least-authority-ledger-final.pdf
ReportSHA-256
2025-12-19-least-authority-ledger-final.pdf336968cfff75a8e671240ead83def97fcbf92d8e2743e1b5a4cdd08653f6b2fb
2026-03-11-least-authority-midnight-js-final.pdf4ef32c4a6bf58d9e0c562d486a266845987b3f6d32d695f807ce853f3fc347ec
2026-02-23-least-authority-sha3-circuits-final.pdf833f0564367c8100fff408a75ebe4249ad242182fce6abc0bbd38a7d0a8933ac
2025-04-11-zksecurity-midnight-circuits-2-final.pdf0df089711ea3d066c09ff6a678c3c125aafbb64dc6c913e5e8ba729285801228