Skip to main content
QUICK REVIEW

[Paper Review] MemTrust: A Zero-Trust Architecture for Unified AI Memory System

Xing Zhou, Dmitrii Ustiugov|arXiv (Cornell University)|Jan 11, 2026
Security and Verification in ComputingComputer Science0 citations
TL;DR

MemTrust presents a hardware-backed zero-trust architecture thatSecures a five-layer AI memory system (Storage, Extraction, Learning, Retrieval, Governance) using TEEs, enabling cross-application context sharing with under-20% overhead.

ABSTRACT

AI memory systems are evolving toward unified context layers that enable efficient cross-agent collaboration and multi-tool workflows, facilitating better accumulation of personal data and learning of user preferences. However, centralization creates a trust crisis where users must entrust cloud providers with sensitive digital memory data. We identify a core tension between personalization demands and data sovereignty: centralized memory systems enable efficient cross-agent collaboration but expose users' sensitive data to cloud provider risks, while private deployments provide security but limit collaboration. To resolve this tension, we aim to achieve local-equivalent security while enabling superior maintenance efficiency and collaborative capabilities. We propose a five-layer architecture abstracting common functional components of AI memory systems: Storage, Extraction, Learning, Retrieval, and Governance. By applying TEE protection to each layer, we establish a trustworthy framework. Based on this, we design MemTrust, a hardware-backed zero-trust architecture that provides cryptographic guarantees across all layers. Our contributions include the five-layer abstraction, "Context from MemTrust" protocol for cross-application sharing, side-channel hardened retrieval with obfuscated access patterns, and comprehensive security analysis. The architecture enables third-party developers to port existing systems with acceptable development costs, achieving system-wide trustworthiness. We believe that AI memory plays a crucial role in enhancing the efficiency and collaboration of agents and AI tools. AI memory will become the foundational infrastructure for AI agents, and MemTrust serves as a universal trusted framework for AI memory systems, with the goal of becoming the infrastructure of memory infrastructure.

Motivation & Objective

  • Address the tension between personalization and data sovereignty in unified AI memory systems.
  • Propose a five-layer architecture for AI memory secured by TEEs across all layers.
  • Enable cross-application context sharing with cryptographic attestation and privacy guarantees.
  • Provide a practical, hardware-backed zero-trust framework adaptable to multiple TEEs and backends.

Proposed method

  • Define a five-layer abstraction (Storage, Extraction, Learning, Retrieval, Governance) and map implementations to TEEs (SGX, SEV-SNP, TDX, Nitro, CCA).
  • Design secure memory lifecycles: encryption, attestation, and bounded key management within TEEs.
  • Introduce Sealed Segment vector storage and oblivious graph storage to protect data in untrusted backends.
  • Develop Context from MemTrust protocols enabling cross-application, attestation-bound access to shared context.
  • Prototype integration with Qdrant, SurrealDB, Gemini 2.5, and Qwen 3 8B, enabling end-to-end secure workflows.
  • Evaluate performance showing overheads and security properties across enterprise workloads.

Experimental results

Research questions

  • RQ1How can unified AI memory be made secure against untrusted cloud operators while preserving cloud-native benefits?
  • RQ2Can a multi-TEE hardware-backed architecture provide end-to-end confidentiality, integrity, and availability for AI memory lifecycles?
  • RQ3How can cross-application context sharing be achieved securely with attestation-bound access tokens?
  • RQ4What is the performance impact of a TEEs-based memory system on enterprise-scale workloads?
  • RQ5What are the practical challenges and future directions for integrating TEEs with memory systems (e.g., GPU TEEs, oblivious RAM)?

Key findings

  • A zero-trust MemTrust architecture provides confidentiality, integrity, and availability for a unified AI memory system across five layers.
  • The system achieves less than 20% overhead in evaluation on enterprise workloads when using SEV-SNP.
  • Context sharing across applications is enabled via attestation-bound tokens and audit logging, without exposing plaintext data to memory providers.
  • A practical prototype integrates multiple TEEs (SGX, SEV-SNP, TDX, Nitro, CCA) with vector DBs and knowledge graphs.
  • Performance is near-linear in horizontal scaling, with a mitigated I/O-bound cost due to hashing and secure disk I/O techniques.
  • The design enables cross-device continuity and user-controlled data governance through HYOK-like key management and hardware sealing.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.