A Secure Structure-Aware GraphRAG Framework for Indonesian Statutory Law: Cryptographic Integrity, Access Control, and Multi-Hop Reasoning for Legal Question Answering
Aug 2026· 2026 International Conference on Smart Science and Technology (IncoSST)· pp. 82-87· 0 citations· 21 references
Abstract
Indonesian statutory law spans a strict five-level hierarchy, is frequently amended through omnibus legislation, and contains dense cross-references that flat-text embeddings cannot capture. Current retrieval-augmented generation (RAG) systems remain prone to hallucination on roughly one in six legal queries, while existing GraphRAG approaches neither model Indonesian-specific drafting conventions nor address three under-recognised security requirements of legal AI: knowledge graph integrity, access control, and query non-repudiation. We propose SecureGraphRAG, a Secure Structure-Aware GraphRAG framework that (i) constructs a domain-grounded knowledge graph over 47 regulations (15,463 nodes; 38,927 edges) using a five-step pipeline with pattern-based relation extraction validated at 92.4% precision; (ii) combines IndoSBERT dense embeddings with Personalised PageRank, community-membership, and path-length signals; (iii) performs multi-hop reasoning over the resulting subgraph; and (iv) integrates SHA-256 Merkle-chain integrity verification, role-based access control enforced as a Cypher query rewrite, and HMAC-SHA256 audit logging with tamper-evident chaining. Unlike prior legal GraphRAG systems, which integrate retrieval and reasoning components without addressing the integrity, access-control, and accountability guarantees that production legal-AI deployment requires, SecureGraphRAG treats these guarantees as first-class design constraints rather than deployment afterthoughts. On 200 expert-annotated QA pairs, SecureGraphRAG achieves Recall@10 of 0.756 ± 0.024 (+14.4% over standard RAG; p < 0.001, Bonferroni-corrected), 79.1% citation accuracy, and a 57.1% hallucination reduction. Error analysis identifies five failure modes with corresponding mitigation strategies. The security layer adds only 5.1 ms overhead (0.5%) at 100% enforcement coverage.
This paper presents a graph-based framework that transforms this static corpus of O-RAN security threats into a single, queryable database and integrates a hybrid data extraction pipeline that couples deterministic parsing of structured specifications with Large Language Model (LLM)-assisted extraction for evolving spe...
Corban Villa, Michele Guerra, Syed Khandker et al.· 0 citations
Results show that structure‐aware retrieval combined with targeted information extraction can improve the reliability of AI systems for legal research and analysis.
Ali Hamza, Maaz Bin Rizwan, Maemoona Kayani et al.· Expert systems· 0 citations
Graph retrieval-augmented generation (GraphRAG) uses document-derived knowledge graphs to assemble evidence for large language model (LLM) answers. Its security depends on both the seed chunks retrieved for a query and the graph evidence assembled from them, yet attacks on this evidence path remain underexplored. We in...
Yi-Ning Tang, Jun-Yu Zhang, Hao-Miao Qiu et al.· 0 citations
Large language model (LLM)-powered retrieval-augmented generation (RAG) systems significantly reduce factual errors in question answering, but they present a novel and under-investigated attack surface: factual information in retrieved text can be exposed in ways that do not align with the disclosure norms of the infor...
Faisal Alhwikem, A. Khan, Fawwad Hassan Jaskani· Symmetry· 0 citations
SIEK is proposed, an agentic Graph RAG framework for secure code generation that constructs a security knowledge graph using the Common Weakness Enumeration (CWE) taxonomy as its structural backbone and injects it with curated real-world CVE vulnerability-fix instances.
Varun Gadey, Markus Tohn, Li-Chao Wu et al.· 0 citations
Retrieval-Augmented Generation (RAG) has emerged as an effective paradigm for grounding language-model outputs in verifiable sources while maintaining fluency. However, applying RAG to knowledge-critical domains such as law presents unique challenges: long documents with dense citations, jurisdictional variations, and...
Ritesh Sharma, Aarti M. Karande, P. Aware et al.· i-manager's Journal on Compu...· 0 citations
We use cookies to run the site and, with your consent, for analytics and to show ads.
See our Cookie Policy.