# MemForm: Benchmarking Memory Formation Poisoning in LLM Agents

DevFeed: [MemForm: Benchmarking Memory Formation Poisoning in LLM Agents](<https://devfeed.tech/articles/memform-benchmarking-memory-formation-poisoning-in-llm-agents-119896.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2610.14431>)

Author: Haowen Pan, Pengyang Shao, Yunshan Ma, Yanzheng Jin, Naixin Zhai, Xiang Wang, Xun Yang

Published: 2026-11-06T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Cryptography and Security](<https://devfeed.tech/sources/arxiv-cryptography-and-security.md>)

Topics: [LLM security](<https://devfeed.tech/topics/llm-security.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>), [harvestbench](<https://devfeed.tech/topics/harvestbench.md>)

Tags: [adversarial](<https://devfeed.tech/tags/adversarial.md>), [agent-memory](<https://devfeed.tech/tags/agent-memory.md>), [agents](<https://devfeed.tech/tags/agents.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [attack](<https://devfeed.tech/tags/attack.md>), [behavior](<https://devfeed.tech/tags/behavior.md>), [benchmark](<https://devfeed.tech/tags/benchmark.md>), [benchmarking](<https://devfeed.tech/tags/benchmarking.md>), [content](<https://devfeed.tech/tags/content.md>), [corruption](<https://devfeed.tech/tags/corruption.md>), [cs-cl](<https://devfeed.tech/tags/cs-cl.md>), [cs-cr](<https://devfeed.tech/tags/cs-cr.md>), [evaluations](<https://devfeed.tech/tags/evaluations.md>), [influence](<https://devfeed.tech/tags/influence.md>), [interface](<https://devfeed.tech/tags/interface.md>), [interfaces](<https://devfeed.tech/tags/interfaces.md>), [llm](<https://devfeed.tech/tags/llm.md>), [llm-agents](<https://devfeed.tech/tags/llm-agents.md>), [manipulation](<https://devfeed.tech/tags/manipulation.md>), [memory](<https://devfeed.tech/tags/memory.md>), [memory-architecture](<https://devfeed.tech/tags/memory-architecture.md>), [mitigation](<https://devfeed.tech/tags/mitigation.md>)

## AI overview

MemForm benchmarks five ways adversaries can influence how LLM agents form persistent memory: Content, Evidence, Scope, Selection, and Path poisoning. Its controlled conditions isolate retention and consolidation-order effects. Across six LLMs and two response formats, the evaluated protocols and implementations showed susceptibility at all five interfaces. Successful experiences alone did not ensure reliable downstream behavior: changes to contextual support, which experiences are retained, or their consolidation order could produce undesirable behavior. Consolidation order could matter even when the retained experiences were identical. Interface applicability varied by memory architecture, Path Poisoning susceptibility depended on the updater, and evaluated defenses mitigated attacks incompletely, with results varying by interface.

## Source excerpt

arXiv:2610.14431v2 Announce Type: replace Abstract: Long-term memory enables LLM agents to learn from past interactions but exposes memory formation to adversarial influence. Existing studies primarily organize memory poisoning by attack channels, corruption patterns, or lifecycle stages, leaving formation interfaces insufficiently characterized. We formulate Memory Formation Poisoning as adversarial manipulation of the interfaces through which persistent agent memory is produced and committed, and introduce MemForm, a controlled diagnostic benchmark covering five interfaces: Content, Evidence, Scope, Selection, and Path Poisoning. We introduce Selection and Path Poisoning as controlled intervention categories that isolate retention and consolidation order effects, respectively. Each category pairs clean and poisoned conditions with interface-specific controls. Evaluations across six LLMs and two response formats reveal broad susceptibility at all five interfaces under the evaluated memory protocols and implementations. Crucially, authentic experiences with successful outcomes do not guarantee reliable behavior after memory formation: changes to contextual support, retention, or consolidation order can induce undesirable downstream behavior. In particular, consolidation order can alter behavior even with identical retained experiences, depending on the memory formation procedure. Additional analyses show that interface applicability depends on memory architecture and that Path Poisoning susceptibility depends on the updater. The evaluated defenses provide incomplete mitigation that varies by interface. These findings motivate protecting both what is committed to persistent memory and how memory is formed from experiences. Code and data are available at https://github.com/opanhw/memform-code.