MITRE ATLAS 2026.10 mitigation · AML.M0031
Memory Hardening
Protect persistent agent memory and conversation stores with authenticated write gates, provenance tags, TTL expiry, anomaly checks, and instant rollback.
Control blueprint overview
- Control ID
AML.M0031- Framework
- MITRE ATLAS 2026.10 mitigation
- Stack layers
- System-Prompt / Context · Tool/Sandbox Boundary · Monitoring/Canary
- Techniques addressed
- 15
- OWASP LLM Top 10
- NIST AI RMF
- Reference URI
https://raw.githubusercontent.com/mitre-atlas/atlas-data/f56c1468731d6428e5bf875263b4643b46d67437/dist/v6/ATLAS-2026.10.yaml#:~:text=AML.M0031%3A
Control mechanism
Treats persistent agent memory (long-term vector stores, user preference profiles, episodic summaries) as a privileged state layer requiring write authorization, prompt-injection screening at both write-time AND read-time, per-entry provenance metadata, automatic TTL expiration, and one-click reset. Stops one-time indirect injections from permanently brainwashing future sessions.
Implementation steps
- Require explicit user confirmation or deterministic schema validation before committing facts from untrusted external tools into long-term agent memory.
- Screen memory entries with prompt-injection classifiers (PromptGuard/Lakera) both before persistence and upon retrieval into new sessions.
- Store origin provenance, trust tier, and timestamp on every memory item and enforce user-scoped isolation with TTL expiry.
- Provide users and admins an inspectable memory viewer with point-in-time purge and rollback controls.
What this control stops
- Persistent 'SpAIware' / memory-poisoning implants written during web browsing or email processing that hijack all future chats (AML.T0080.000).
- AgentPoison trigger backdoors planted in episodic RAG experience banks (ATO.T1EED3696).
- Chat-history manipulation persisting across session reloads (AML.T0092).
Known bypass conditions & residual risk
- Single-session in-context prompt injection that operates inside the ephemeral context window without writing to persistent memory.
- Subtle semantic preference skewing (e.g., gradually nudging style/bias) below classifier thresholds.
- Shared global memory pools lacking strict per-user tenant isolation.
Latency, usability & false-refusal trade-offs
Latency: +5-20 ms per memory write/read classifier check. | False-Refusal Risk: Low-to-medium; overly sensitive write filters can discard benign user personalization rules containing code or imperative phrasing. | Operational Cost: Low-to-medium schema and retention-lifecycle engineering.
Techniques this control addresses
- LLM Prompt Injection: TriggeredAML.T0051.002 · Prompt and context integrity
- AI Agent Context PoisoningAML.T0080 · Agent and tool trust
- AI Agent Context Poisoning: MemoryAML.T0080.000 · Agent and tool trust
- AI Agent Context Poisoning: ThreadAML.T0080.001 · Agent and tool trust
- Modify AI Agent ConfigurationAML.T0081 · Agent and tool trust
- Manipulate User LLM Chat HistoryAML.T0092 · Prompt and context integrity
- Delay Execution of LLM InstructionsAML.T0094 · Prompt and context integrity
- AI Agent Tool Data PoisoningAML.T0099 · Training and model integrity
- AI Agent Tool Poisoning: Runtime ResponseAML.T0110.002 · Training and model integrity
- Autonomous AI Agent Communication: Communication via Shared ArtifactsAML.T0118.000 · Supply chain
- AI Agent Environment ReconstructionAML.T0121 · Agent and tool trust
- AI Agent Response BiasingAML.T0130 · Agent and tool trust
- Crafted AI Assistant LinksAML.T0131 · Agent and tool trust
- Poison AI Agent Learning EnvironmentAML.T0145 · Agent and tool trust
- AI Agent Context Poisoning: AgentPoison (published research family)ATO.T1EED3696 · Agent and tool trust
Often paired with
Controls mapped to the same techniques as Memory Hardening.
- Generative AI Guardrails 11 shared techniques
- AI Red Team 7 shared techniques
- Input and Output Validation for AI Agent Components 6 shared techniques
- Restrict AI Agent Tool Invocation on Untrusted Data 5 shared techniques
- Maintain AI Dataset Provenance 4 shared techniques
- AI Agent Scope Drift Detection 4 shared techniques