APEX 100 · AI Security Red Teaming · #039 · Indirect & Retrieval — L2/L4 · RAG + memory

Persistent Memory Poisoning Across Sessions

Indirect & Retrieval · L2/L4 · RAG + memory

A poisoned fact that writes to persistent memory survives the session, the deploy, and reindexing — it compounds: every later session inherits the false belief. The most durable injection class because it outlives everything else.

01Control Architecture

How it is defended

Versioned, reversible memory stores with write-gates: every persistent write is logged, attributable, and roll-back-able. Standing meta-loop tests for persistent-poisoning run against the store, and a surviving false fact is an incident with a revert path.

02Why It Breaks Naive Defenses

A poisoned fact that writes to persistent memory survives the session, the deploy, and reindexing — it compounds: every later session inherits the false belief. The most durable injection class because it outlives everything else. Versioned, reversible memory stores with write-gates: every persistent write is logged, attributable, and roll-back-able. Standing meta-loop tests for persistent-poisoning run against the store, and a surviving false fact is an incident with a revert path.

👤 Dr. Deepanjan Saha · Chief AI Security Red Team Principal & Chief Cybersecurity Architect (CAISO) · 15+ yrs · 47+ CVEs · 200+ pentests · 12 patents
📞 +91 98317 43870 · 💬 WhatsApp · ✉️ core.deepanjan@gmail.com · 🔗 LinkedIn: DRDEEPANJANSAHA · 🌐 drdeepanjansaha.github.io

Book the engagement that kills this, measured

Dr. Deepanjan Saha — Chief AI Security Red Team Principal & Chief Cybersecurity Architect. 15+ years · 47+ CVEs · 200+ pentests · 12 patents. Delivered as the release gate — a residual-risk number with a trend line, not a PDF.

03FAQ

How does persistent memory poisoning differ from regular RAG poisoning?

It outlives the session — a poisoned fact in persistent memory contaminates every future context that includes it. Versioned stores with write-gates and reversible rollback are what make the damage bounded.

How do you defend against persistent memory poisoning across sessions?

Versioned, reversible memory stores with write-gates: every persistent write is logged, attributable, and roll-back-able. Standing meta-loop tests for persistent-poisoning run against the store, and a surviving false fact is an incident with a revert path.

DR. DEEPANJAN SAHA · CHIEF AI SECURITY RED TEAM PRINCIPAL & CHIEF CYBERSECURITY ARCHITECT · AI SECURITY RED TEAM · EST. 2010 · 47+ CVEs · 200+ PENTESTS · 12 PATENTS