Verifiable, Efficient and Confidentiality-Preserving Graph Search with Transparency

Qiuhao Wang, Yang Xu, Yiwei Liu, Saiyu Qi, Hai Zhao, Ke Li, Yong QiarXiv 2025 · DOI

Abstract

Graph databases have garnered extensive attention and research due to their ability to manage relationships between entities efficiently. Today, many graph search services have been outsourced to a third-party server to facilitate storage and computational support. Nevertheless, the outsourcing paradigm may invade the privacy of graphs. PeGraph is the latest scheme achieving encrypted search over social graphs to address the privacy leakage, which maintains two data structures XSet and TSet motivated by the OXT technology to support encrypted conjunctive search. However, PeGraph still exhibits limitations inherent to the underlying OXT. It does not provide transparent search capabilities, suffers from expensive computation and result pattern leakages, and it fails to support search over dynamic encrypted graph database and results verification. In this paper, we propose SecGraph to address the first two limitations, which adopts a novel system architecture that leverages an SGX-enabled cloud server to provide users with secure and transparent search services since the secret key protection and computational overhead have been offloaded to the cloud server. Besides, we design an LDCF-encoded XSet based on the Logarithmic Dynamic Cuckoo Filter to facilitate efficient plaintext computation in trusted memory, effectively mitigating the risks of result pattern leakage and performance degradation due to exceeding the limited trusted memory capacity. Finally, we design a new dynamic version of TSet named Twin-TSet to enable conjunctive search over dynamic encrypted graph database. In order to support verifiable search, we further propose VSecGraph, which utilizes a procedure-oriented verification method to verify all data structures loaded into the trusted memory, thus bypassing the computational overhead associated with the client's local verification.

Introduction

Graph databases have become the backbone of modern data management, efficiently handling relationships in social networks, recommendation engines, and biological systems. As these datasets grow, organizations increasingly outsource storage and computation to cloud providers. However, this outsourcing paradigm introduces severe privacy risks, as sensitive graph structures can be exposed to untrusted servers. While recent schemes like PeGraph attempt to address this through encrypted search based on Oblivious Cross-Tag (OXT) technology, they face significant hurdles in terms of performance, transparency, and security.

State-of-the-art schemes like PeGraph maintain two primary data structures, XSet and TSet, to support encrypted conjunctive searches. Despite their cryptographic rigor, they suffer from several critical limitations:

  1. Lack of Transparency: Users are burdened with managing complex secret keys and generating cryptographic tokens locally.
  2. Efficiency Bottlenecks: Reliance on expensive modular exponentiation makes these systems slow, especially as graph size increases.
  3. Information Leakage: They often leak "result patterns," such as the Intersection Result Pattern (IP) and Whole Result Pattern (WRP), which can reveal sensitive relationships to the cloud provider.
  4. Static Nature and Verifiability: Most schemes do not handle dynamic updates well and lack efficient ways to verify that search results are complete and untampered.

SecGraph: A Transparent and Efficient Architecture

SecGraph introduces a novel system architecture that leverages Intel SGX (Software Guard Extensions) to provide secure, transparent graph search. By running a trusted proxy within an SGX enclave on the cloud server, SecGraph offloads the heavy lifting of key management and token generation from the client to the cloud.

Graph representation and keyword-neighbor mapping

As illustrated in the figure above, graph data is typically represented as a set of keywords and their corresponding neighbor vertices. SecGraph securely indexes this information to enable fast lookups while maintaining confidentiality.

Technical Innovations: LDCF and Twin-TSet

A core innovation of SecGraph is the LDCF-encoded XSet, based on the Logarithmic Dynamic Cuckoo Filter. By loading this filter into the enclave's trusted memory, SecGraph can perform membership checks at plaintext speeds. This approach not only boosts performance but also suppresses result pattern leakages because the untrusted cloud OS cannot see which nodes pass the filter inside the enclave.

LDCF operations for insertion, membership check, and deletion

The LDCF is specifically designed to be memory-efficient, addressing the limited capacity of SGX's Enclave Page Cache (EPC). As shown in the figure above, it supports dynamic operations including insertion, membership checking, and deletion. To further support dynamic graphs, SecGraph utilizes a "Twin-TSet" structure that maintains two maps to ensure forward and backward privacy—meaning that new updates do not reveal information about past searches, and deleted data remains inaccessible.

VSecGraph: Procedure-Oriented Verification

To address the need for verifiable search, the authors propose VSecGraph. Traditional verification requires the client to perform additional computations to validate the server's proof. VSecGraph shifts this paradigm to a "procedure-oriented" method. The trusted enclave verifies the integrity of every data block it loads from the untrusted cloud storage using Authenticated Data Structures (ADS) like RSA Accumulators. This ensures that the search process itself is verified, bypassing the need for local client-side verification and significantly reducing overhead.

Performance Evaluation

The authors evaluated SecGraph and VSecGraph using three real-world datasets from the Stanford Network Analysis Project (SNAP): Email-Enron (~183k edges), Youtube (~2.9M edges), and Gplus (~13.6M edges). The results are compelling:

  • Search Speed: SecGraph is up to 208x faster than PeGraph in search time.
  • Communication: Overhead is reduced by up to 3121x because SecGraph avoids sending large batches of intersection tokens.
  • Updates: Database construction and updates are up to 58x faster than PeGraph.
  • Verification: VSecGraph improves search time by 3500x and verification time by 103x compared to previous state-of-the-art verifiable conjunctive search schemes.

Conclusion and Future Work

SecGraph and VSecGraph demonstrate that hardware-assisted trusted execution environments can overcome the performance and privacy limitations of pure cryptographic graph search. By providing transparency and efficiency, these systems make secure graph search practical for large-scale applications. Future research will explore expanding query support to include full boolean logic and strengthening defenses against potential side-channel attacks.

Summary updated

BibTeX
@misc{wang2025verifiable,
  author = {Qiuhao Wang and Yang Xu and Yiwei Liu and Saiyu Qi and Hai Zhao and Ke Li and Yong Qi},
  title = {{Verifiable, Efficient and Confidentiality-Preserving Graph Search with Transparency}},
  year = {2025},
  eprint = {2503.10171},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2503.10171},
  howpublished = {arXiv},
}
Figure