Skip to content

[Feature Request] Memory Poisoning Protection for Haystack via OWASP Agent Memory Guard #11448

Description

@vgudur-dev

Problem

Haystack pipelines using memory stores and RAG are vulnerable to memory poisoning attacks — adversarial inputs in document stores or conversation memory can cause pipelines to produce corrupted outputs. 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

Links

Would the Haystack team consider integrating AMG as a security layer? 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