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.
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-guardLinks
Would the Haystack team consider integrating AMG as a security layer? Happy to contribute a PR.