Skip to content

[Feature Request] Memory Poisoning Protection for AutoGen Agents via OWASP Agent Memory Guard #7783

@vgudur-dev

Description

@vgudur-dev

Problem

AutoGen agents with persistent memory and teachability are vulnerable to memory poisoning attacks — adversarial inputs stored in agent memory can cause agents to leak secrets, ignore instructions, or produce corrupted outputs in future conversations. OWASP identifies this as a top risk for LLM applications.

Proposed Solution

OWASP Agent Memory Guard (AMG) is an open-source Python library that wraps any memory store as a transparent security layer:

  • pip install agent-memory-guard
  • Scans every memory write for prompt injection, PII leakage, and tampering
  • 92.5% detection rate on AgentThreatBench benchmark
  • Works with any memory backend (vector stores, conversation history, teachability DB)

Links

Would the AutoGen team consider integrating AMG as a security layer for agent memory? Happy to contribute a PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions