Answers are grounded in this paper and cite their sources.
Artificial Intelligence (AI) agents interact, reason, and assist across sessions by maintaining Long-Term Memory (LTM). Although this memory allows personalized behavior, it creates a fundamental vulnerability by allowing attackers to either implant malicious knowledge or extract sensitive information, as was the case with recent studies revealing such attacks as MINJA (Memory INJection Attack) and MEXTRA (Memory EXTRaction Attack). To counter such attacks, this paper provides a Cognitive Autonomous Memory Security (CAMS) model that focuses on enhancing the security of long-term memory in AI agents. The CAMS middleware solution is an effective protection of the long term memory of the LLM agents, by use of a five layer defense architecture comprising of Multi-Stage Semantic Intent Engine for deep semantic interception of injection and extraction attempts, Temporal Memory Monitoring module to monitor embedding drift, sequence evolution to identify slow poisoning and progressive manipulation, a Graph-Based Multi-Memory Attack Reconstruction system to identify cross-memory relationships, a Zero-Trust Memory Architecture that imposes WriteGuard pipelines and maintains tamper-evident provenance, and a LTM Scanner that periodically re-evaluates all stored memories using the previous detection layers. The complete CAMS pipeline proved to be very resistant to the two attacks in experimental evaluation. For 640 MINJA sequences, and 560 MEXTRA querying probes, CAMS attained a total end-to-end attack prevention of 92.3%, which is far from the 38.6% and 67.4% by the classical keyword filters and LLM-only baselines, respectively. This provides an effective strategy for securing AI agent memory and addressing vulnerabilities that are currently impregnable to traditional scanners.
No takes yet. Share an insight, caveat, or question.
T. et al. (2026) studied this question.
Synapse has enriched 10 related papers. Consider them for comparative context: