State persists across sessions and users
What one interaction writes into memory can influence what every future interaction reads back out.
By risk
Long-running agents persist state across sessions and users. Poisoned memory doesn't cause one bad response-it corrupts every future decision that reads it, and traditional input scanning misses attacks that arrive over time.
Why it matters
What one interaction writes into memory can influence what every future interaction reads back out.
Unlike a single hijacked response, poisoned memory keeps producing bad decisions until it's found and removed.
Attacks that arrive gradually over multiple writes don't look malicious in any single interaction-only in the pattern.
What Lineation does
Writes to persistent state are validated against expected schema and source before they're accepted.
Monitoring covers what's stored, not just live input, catching drift from an agent's normal memory baseline.
Least privilege applies to state, not just actions-an agent only writes what its policy explicitly allows.
Full history lets you trace exactly when corruption entered and what read from it afterward.
How it works
Define what an agent's memory store may read and write, by policy.
Writes are checked against expected schema and source before acceptance.
Stored state is watched for deviation from the agent's normal baseline.
Flagged entries are isolated without wiping the agent's full memory.
Write history is traceable back to the exact entry that introduced the corruption.
FAQ
Corruption of the persistent state or context a long-running agent relies on, so future decisions are influenced by fabricated or malicious information.
Prompt injection manipulates a single interaction. Memory poisoning corrupts state that persists across sessions, so damage compounds over every future decision.
Yes, if ingested content is written directly into memory or a vector store without validation, one document can influence every future retrieval that touches it.
Quarantine isolates the flagged entry rather than wiping full memory, so the ongoing task continues on validated state.
OWASP's Top 10 for Agentic Applications names memory and context poisoning as ASI06. Integrity checks, scoped writes, and anomaly detection are the direct runtime mitigations.
Yes-RAG poisoning is a specific form of memory poisoning, and the same write-scoping and integrity checks apply to vector store ingestion.
Scope writes, validate state, and replay history the moment something looks wrong.