midnight-security
Installation
SKILL.md
Midnight Security Skill
Midnight's privacy model is opt-in privacy on top of a public chain. The ZK proof proves correctness of execution — it does not hide the existence of a transaction, its structure, or anything in export ledger. Security on Midnight means being precise about what leaks and designing contracts so that leaks are intentional.
Primary references:
docs.midnight.network/concepts/how-midnight-works/keeping-data-privatedocs.midnight.network/concepts/how-midnight-works/semanticsdocs.midnight.network/concepts/how-midnight-works/smart-contracts- Official security docs: "coming soon" as of 2026 — this skill fills that gap
1) The Fundamental Visibility Rule
Everything in export ledger is public. Everything in witness is private. The proof is public. The witness data is not.
More precisely, for every ledger operation: