OWASP Agent Memory Guard

Stop AI agents from being weaponized through their own memory. Runtime defense that catches memory poisoning — even after a context reset.

Project hero

About OWASP Agent Memory Guard

Why this exists

Modern AI agents persist memory across sessions. Anything written into that memory becomes a privileged input on the next turn. An attacker who plants text in the wrong field can override instructions, exfiltrate data, or hijack tool calls — and the attack survives context resets, because the memory does.

Existing defenses run on user input at the front of the loop. Memory poisoning runs on memory itself. Different surface, different problem.

Agent Memory Guard sits between the agent and its memory store, screening every operation through a pipeline of detectors and a declarative policy.

Project Leaders

Vaishnavi Gudur

Project Creator and Leader

Email

Anshul Rajkumar

Co-Leader

Project Information

Language
Python
License
Apache-2.0
Corporate Supporters
OWASP Logo
OWASP is a nonprofit foundation improving software security through open-source projects, global communities, and education. All resources are free and open to everyone.
OWASP, the OWASP logo, and Global AppSec are registered trademarks and AppSec Days, AppSec California, AppSec Cali, SnowFROC, OWASP Boston Application Security Conference, and LASCON are trademarks of the OWASP Foundation, Inc.
© 2026, OWASP Foundation Inc. All rights reserved.