H3XAOperational intelligence
Live analytical pictureEvidence before assessment
TypeMitigation
External ID—
First seen2026-08-14
Last seen2026-08-14

Confidence

—

Memory Hardening protects persistent state used by AI agents, including saved preferences, episodic or semantic memories, conversation summaries, stored chat history, and agent-managed experience stores. Unlike guardrails that evaluate content during an interaction, memory hardening controls how durable agent state is created, modified, isolated, audited, and recovered. Apply the following controls throughout the memory lifecycle, from creation and use through deletion and recovery: - Enforce memory access controls: Authenticate memory operations and authorize them within the appropriate user, tenant, agent, and session scope. - Set strong memory security policies: Enforce limits on memory size and update frequency, validate memory integrity, and define retention and deletion policies. - Preserve memory provenance: Record the source of all memory updates and preserve a history with known good versions. Quarantine or roll-back suspicious records. - Audit and monitor memory operations: Audit security relevant reads and writes. Monitor for unusual update frequency and repeated self-authored updates. Content filtering and protections against malicious prompts may be provided by [Generative AI Guardrails](/mitigations/AML.M0020), but does not replace memory access control, isolation, provenance, integrity, or recovery. Open-source tools that implement memory hardening controls include OWASP Agent Memory Guard[[owasp-agent-memory-guard-project]] and Microsoft Agent Governance Toolkit[[microsoft-agent-governance-toolkit]]. Memory management and persistence tooling such as Mem0[[mem0-entity-partitioning]], and LangGraph Persistence[[langgraph-persistence]] can also support aspects of memory hardening.

2 recorded

Relationships

mitigatesTechnique
mitigatesTechnique
1 external

References

mitre-atlas
AML.M0031
open