Persistent Memory Makes Prompt Injection Much Worse

jonah_omninode · reddit · 2026-08-28

The author highlights a subtle threat of Prompt Injection with persistent memory: malicious READMEs or tool responses can be summarized and stored, later surfacing as "known project context" after the source is gone, effectively laundering bad instructions into institutional memory.

Design Approach:

The author proposes a design treating context as metadata-rich objects (source, version, authority), distinguishing relevance from policy to prevent new notes from overriding stable contracts.

Limitations:

This doesn't fully solve injection as models can still be influenced by untrusted sources. External actions still need separate authorization. The author plans to test if poisoned context survives retrieval and consolidation across sessions.

Original post →

More from Safety

Safety channel →