CTL-158 · agent

Quarantine Before Remembering

Keep outside content out of long-term memory until it has been checked and approved.

ProcessEffort MediumEffectiveness High

Material from outside sources, users, retrieval or web search should stay quarantined as untrusted data and not turn into durable context automatically. Reading something is not permission to keep it. Moving content into long-term memory should need explicit validation and authorization, so an attacker cannot launder planted text into the agent's future behavior. In practice, a retrieved web page or a pasted email should never be saved as a 'fact' just because the agent found it useful.

Put it in place

  1. 01Mark all retrieved and user content as non-persistable by default.
  2. 02Add a validation and approval step to promote an item to memory.
  3. 03Log who or what approved each promotion.
  4. 04Audit memory for entries that trace back to external sources.

Counters 4 techniques