Skip to content

docs: add OWASP Agent Memory Guard to security docs - #8167

Open
MOHAMMED WASIM KHAN (wasim-builds) wants to merge 4 commits into
microsoft:mainfrom
wasim-builds:fix/7683-owasp-memory-guard
Open

docs: add OWASP Agent Memory Guard to security docs#8167
MOHAMMED WASIM KHAN (wasim-builds) wants to merge 4 commits into
microsoft:mainfrom
wasim-builds:fix/7683-owasp-memory-guard

Conversation

@wasim-builds

Copy link
Copy Markdown

What

Added a section to the Magentic-One documentation covering the OWASP Agent Memory Guard, addressing ASI06 (Memory Poisoning) from the OWASP Top 10 for Agentic Applications.

Why

Persistent memory is a powerful feature, but it also introduces attack surface. If an agent's memory gets poisoned — through indirect prompt injection, corrupted tool output, or adversarial user input — that malicious content can influence every future session. The OWASP Agent Memory Guard gives users a concrete, low-overhead way to add integrity checks and policy enforcement around memory reads and writes.

Changes

  • Added a new "OWASP Agent Memory Guard" section to
  • Covers what ASI06 is, what the guard does (integrity baselines, injection scanning, policy enforcement)
  • Includes install instructions (Collecting agent-memory-guard
    Downloading agent_memory_guard-0.3.1-py3-none-any.whl.metadata (17 kB)
    Collecting PyYAML>=6.0 (from agent-memory-guard)
    Downloading pyyaml-6.0.3-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.metadata (2.4 kB)
    Downloading agent_memory_guard-0.3.1-py3-none-any.whl (82 kB)
    Downloading pyyaml-6.0.3-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (801 kB)
    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 801.6/801.6 kB 1.9 MB/s 0:00:00
    Installing collected packages: PyYAML, agent-memory-guard

Successfully installed PyYAML-6.0.3 agent-memory-guard-0.3.1) and a note on adoption (UK Government BEIS Inspect AI)

Testing

Documentation-only change. No code changes, no tests required.

Fixes #7683

Wasim added 2 commits September 2, 2026 11:23
Added documentation for path traversal protection, security best
practices, and indirect prompt injection mitigation.

Fixes microsoft#7181
Added section describing ASI06 memory poisoning risk and the OWASP
Agent Memory Guard reference implementation, including installation
instructions and key features.

Fixes microsoft#7683
Copilot AI lite review requested due to automatic review settings September 4, 2026 03:31

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Wasim added 2 commits September 4, 2026 09:03
Added encoding="utf-8" to all file open calls in redirects.py so
the script behaves consistently on Windows and any locale where the
default system encoding is not UTF-8.

Fixes microsoft#7749
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Security: Add OWASP Agent Memory Guard to security docs (memory poisoning protection)

2 participants