Evaluating Secure Rag Pipelines for Accurate Multi-Tenant Knowledge Assistants
Aim: This study aimed to develop a security-aware evaluation framework for Retrieval-Augmented Generation (RAG) systems to enhance security, privacy, and governance in multi-tenant enterprise knowledge assistants. Methods: The study proposed a unified secure RAG architecture incorporating tenant-scoped authentication, policy-aware vector retrieval, query sanitization, context integrity validation, trust scoring, output verification, and continuous monitoring. Four RAG designs (Standard RAG, Metadata-Filtered RAG, RBAC-Enabled RAG, and the proposed Secure RAG design) were compared through controlled simulations across multiple enterprise domains. Evaluation metrics included conventional RAG performance measures and additional security and governance indicators, namely Tenant Isolation Score, Cross-Tenant Leakage Rate, Access Compliance Index, Context Integrity Score, Prompt Injection Resistance, and Policy Compliance Score. Results: The results indicated that integrating security mechanisms into retrieval and generation improved response accuracy and policy compliance while significantly reducing cross-tenant data leakage. However, the proposed Secure RAG design introduced a minor increase in retrieval latency. Conclusion: The study demonstrates the potential of a security-aware RAG architecture to improve the trustworthiness, auditability, privacy, and policy compliance of multi-tenant enterprise knowledge assistants. Recommendations: Organizations implementing RAG-based knowledge assistants in shared cloud and Software-as-a-Service environments should consider integrating tenant-scoped access controls, policy-aware retrieval, context validation, output verification, and continuous security monitoring. Further evaluation under real-world enterprise conditions is recommended to establish the framework's effectiveness and scalability.
Authors
- Sadab Qureshi (ORCID: https://orcid.org/0009-0005-1722-6481)
Publication Details
- Journal
- International Journal of Engineering and Architecture
- Published
- 2026-12-02
- DOI
- https://doi.org/10.58425/ijea.v3i2.661
- Primary Topic
- Adversarial Robustness in Machine Learning
- Type
- article
- Field-Weighted Citation Impact
- 0.00