arXiv preprint · cs.CR · research brief

MemoryGraft: Persistent Compromise of LLM Agents via Poisoned Experience Retrieval

arXiv API-verified bibliographic record (2512.16962). Summary and empirical context retained for internal Observatory reference only.

Executive summary

Quotations come from the arXiv abstract. Read the paper for its full methods, threat model, and limitations.

Technique mapping

TechniqueRelationshipWhy it maps
RAG Poisoning AML.T0070PrimaryThe paper targets retrieval-augmented generation or knowledge-base integrity.
AI Agent Context Poisoning AML.T0080SecondaryThe paper targets poisoning of an AI agent's context, memory, or retrieved knowledge.

Model routes mapped to this paper

Named mappings link a model family the paper names to its current route. Model-class mappings link papers on model classes that are commonly evaluated against that family. Neither asserts a paper-specific score.

Model routeMappingRationale
OpenAI: GPT Sol LatestNamed in the paperThe paper names OpenAI/GPT; the current OpenAI route is retained as a modern mapping without asserting a paper-specific score.

Mitigations for RAG Poisoning

Test with Refract

Refract is Silvauren's Apache-2.0 defensive LLM evaluation harness. Its 2x2 Detect-vs-Complete matrix crosses whether a detector flagged each probe with whether the model complied, so silent breaches are counted with Wilson 95% confidence intervals. These packs exercise the techniques this paper maps to. Replace <model-id> with an OpenRouter route ID.

refract scan \
  --target "openai_compat:<model-id>" \
  --base-url https://openrouter.ai/api/v1 \
  --api-key "$OPENROUTER_API_KEY" \
  --battery rag_indirect_injection,multiturn_live_escalation
refract report

Export OPENROUTER_API_KEY first. Passing --api-key keeps Refract from using an unrelated OPENAI_API_KEY, which it would otherwise read first. Scans send real requests billed to your key. Add --max-probes or --budget-tokens to cap spend, and only scan endpoints you are authorized to test.

Citation record

Inspect in Observatory Sources Registry

arXiv identifier
2512.16962
Observatory record
RA-2512.16962
Publication or host
arXiv (author preprint; peer-review status not inferred)
Published
Primary category
cs.CR
Categories
cs.CR, cs.AI, cs.LG
Evidence provenance
Verified against the arXiv API
Retrieved
Discovery query
arXiv LLM poisoning and integrity research
Reference URI
https://arxiv.org/abs/2512.16962
Metadata fingerprint (SHA-256)
2e5307f3344d5bd7a246c9cd33160d94c6c4f6075ee000633b283a4bd8ca7a2f
Authors
Saksham Sahai Srivastava · Haoyu He