AI Glossary · Trust and governance

What is Memory injection?

An attacker planting false "memories" or instructions in an agent's persistent memory. The difference from prompt injection is persistence: it affects not one conversation but all of the agent's later work, and it is hard to notice.

What it means in the field

Who can write to the agent's memory, what, and through which channel must be limited from the start; memory contents should be auditable and reversible. For an agent that keeps customer or pricing information in memory, this is as serious a risk as a data leak.

Where it applies on this site

Security and governance: the controls in place

Related terms

See it in the glossary · Get new terms by e-mail