A memory store is persistent context saved for an AI tool so it can reuse project details or user instructions across sessions. It may be kept in files or other storage available to the tool. Unlike executable code, memory does not automatically run commands; it can influence the instructions and context the assistant uses.
Memory matters in security because an assistant may act with access to files, terminals, or other tools. If an attacker already controls a device, they may be able to alter stored context and influence the assistant’s behavior within its existing permissions. Defenders should protect memory files, monitor unexpected changes, isolate agent access, and require approval for sensitive actions. Treat the memory store as a security-relevant configuration artifact, not as a standalone command-and-control channel.


