compact-core:privacy-disclosure

Community

Master witness disclosure in Compact circuits.

Authoraaronbassett
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides guidance to prevent unintended disclosure of witness-derived values in Compact circuits, promoting proper use of disclose() and implementing commit-reveal privacy patterns to protect sensitive data.

Core Features & Use Cases

  • Enforces the Disclosure Rule to ensure witness-derived data never reaches public outputs without explicit disclosure.
  • Illustrates safe patterns such as persistentCommit/transientCommit and contrasts with unsafe persistentHash/transientHash.
  • Provides practical examples for common privacy scenarios like ledger storage, circuit returns, and cross-contract boundaries with strong guidance on taint tracking.

Quick Start

Identify a witness-derived value in your circuit and apply disclose() when exposing it, while using persistentCommit for commitments and avoiding unsafe hashes.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: compact-core:privacy-disclosure
Download link: https://github.com/aaronbassett/midnight-knowledgebase/archive/main.zip#compact-core-privacy-disclosure

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.