AG-ZKP (v1.3): An Air-Gapped Sanitization Architecture and Three-Channel Leakage Model for Untrusted Groth16 Provers and zkML Containers
Abstract
Zero-knowledge proof (ZKP) systems guarantee that a verifier learns nothing beyond the validity of a statement, yet standard definitions assume an honest prover that faithfully samples randomness and executes within a benign environment. When high-throughput proof generation—such as zero-knowledge machine learning (zkML) inference—is delegated to untrusted, containerized, or air-gapped third-party provers, a compromised prover or poisoned model weights can exfiltrate sensitive witness data ($w$) without violating completeness or soundness. In this work, we formalize AG-ZKP (v1.3), an applied boundary sanitization architecture that adapts the theoretical frameworks of Cryptographic Reverse Firewalls (Mironov & Stephens-Davidowitz, EUROCRYPT 2015; Ganesh et al., ICALP 2020), Subversion-Resilient ZK (Bellare, Fuchsbauer & Scafuro, ASIACRYPT 2016; Fuchsbauer, PKC 2018), and Steganography-Free Zero-Knowledge (Abdolmaleki et al., TCC 2022) to non-interactive Groth16 proving pipelines. Rather than claiming a new cryptographic primitive, AG-ZKP introduces a unified Three-Channel Leakage Model ($\mathcal{L}_{\text{total}} = \mathcal{L}_{\pi} + \mathcal{L}_{\Delta t} + \mathcal{L}_{y}$) across a unidirectional air-gapped boundary: Algebraic Proof Channel ($\mathcal{L}_{\pi} = 0$): A stateless boundary sanitizer parses candidate Groth16 proofs into canonical group representations, rejects trailing bytes or malformed encodings, verifies the pairing equation against data-owner-supplied public inputs ($x$), and applies standard $(z, s')$ algebraic rerandomization ($A' = zA$, $B' = z^{-1}B + s'[\delta]_2$, $C' = C + s'A'$; Baghery et al., FC 2021) using independent hardware entropy. This produces a fresh proof distributionally identical to an honest proof without requiring auxiliary prover elements. Timing and Abort Channel ($\mathcal{L}_{\Delta t} = 0$): Witness-dependent execution variance (such as MSM and NTT Hamming-weight timing side channels) and selective prover aborts are neutralized via deterministic epoch time-bucketing (Askarov, Zhang & Myers, CCS 2010) combined with a strict fail-stop container quarantine policy. Public Output Channel ($\mathcal{L}_{y} \le N \log_2 \vert{}\mathcal{Y}\vert{}$): Addressing covert exfiltration through high-precision floating-point output mantissas in untrusted zkML inference, AG-ZKP enforces in-circuit discrete argmax quantization, strictly bounding cumulative multi-query leakage across $N$ inferences while preserving model commitment integrity. What's New in Version 1.3 (Release Notes) Expanded Literature Grounding: Added comprehensive citations and comparative positioning covering Cryptographic Reverse Firewalls (Mironov & Stephens-Davidowitz 2015; Ganesh et al. 2020), Subversion-ZK (Bellare et al. 2016; Fuchsbauer 2018), Steganography-Free ZK (Abdolmaleki et al. 2022), Predictive Timing Mitigation (Askarov et al. 2010; Zhang et al. 2012), and AI Control containment protocols (Greenblatt et al., ICML 2024; Roger & Greenblatt 2023). Standard Groth16 Rerandomization (Proposition 1): Replaced the auxiliary-element construction with standard $(z, s')$ Groth16 rerandomization (Baghery et al., FC 2021), ensuring compatibility with unmodified off-the-shelf Groth16 provers alongside strict canonical point re-serialization. Three-Channel Leakage Budget & Multi-Query Analysis: Formalized cumulative public output leakage ($\mathcal{L}_{y} \le N \log_2 \vert{}\mathcal{Y}\vert{}$), explicit data-owner binding for public inputs ($x$), and fail-stop quarantine against invalid-proof/abort signalling. Asymptotic Complexity & Scope Refinement: Replaced unbenchmarked latency estimates with exact algebraic operation counts ($2\text{ }\mathbb{G}_1\text{ scalar multiplications} + 2\text{ }\mathbb{G}_2\text{ scalar multiplications} + 1\text{ pairing verification}$), explicitly scoped out physical hardware emissions (TEMPEST/acoustic channels) and post-quantum security, and included an AI assistance disclosure.
Community
0 commentsNo discussion yet
Be the first to share a question or observation.