ZK-Sandbox: Zero-Knowledge Data Sandbox System for Enhancing End-to-End Security and Privacy of Verifiable Credentials
Abstract
The rapid adoption of Verifiable Credentials (VCs) has intensified privacy and security challenges in digital verification, as traditional systems often require full credential disclosure, creating privacy risks and expanding the attack surface. Ensuring end-to-end privacy, security, and verifiability in such systems remains a significant challenge. This paper introducesZK-Sandbox, a Zero-Knowledge Data Sandbox System that integrates zero-knowledge proofs (ZKPs), decentralized identifiers (DIDs), and blockchain anchoring to enable credential validation and verifiable badge issuance without exposing underlying data. ZK-Sandbox supports complex predicate evaluation by securely aggregating multiple VCs from trusted issuers, processing them via JSON Web Token signature verification, Circom-based zk-SNARK circuits, and Docker-isolated execution. The system issues VC-compatible ZK-Badges, cryptographically bound to a Poseidon hash and anchored to a blockchain-registered DID, containing only abstracted verification results. Experimental evaluation confirms 100% validation accuracy, complete detection of tampered submissions, and efficient performance–averaging 326 ms issuance latency, 570 ms off-chain verification, and 4.45 s on-chain verification. These results demonstrate that ZK-Sandbox is a privacy-by-design, scalable, and regulation-aligned solution for self-sovereign digital credential ecosystems.
Community
0 commentsNo discussion yet
Be the first to share a question or observation.