Generated banner for Owasp Agentic
Generated logo for Owasp Agentic

Owasp Agentic

MicrosoftOfficialPublished by Microsoft

  • Skill
  • Guidelines
  • Security
  • CC-BY-SA-4.0
  • No issues found

From the author

OWASP Agentic Security Top 10 knowledge base for identifying, assessing, and remediating AI agent system security risks.
— the description by Microsoft

AutoGineer summary

Written by AutoGineer from the skill’s own files, not by the author

The owasp-agentic skill provides a machine-readable implementation of the OWASP Top 10 for Agentic Applications (2026). It serves as a comprehensive reference for developers and security professionals to understand, detect, and mitigate critical vulnerabilities inherent in autonomous AI agent systems. The skill is organized into a vulnerability index and individual reference documents for each of the ten identified risk categories, offering actionable guidance on prevention, detection, and remediation.

What it does

  • Provides structured, machine-readable definitions for the OWASP Agentic Top 10 security risks.
  • Offers vulnerability checklists to help identify potential security gaps in agentic workflows.
  • Includes prevention controls and remediation strategies for each identified vulnerability.
  • Details attack scenarios to illustrate how agentic systems can be exploited.
  • Facilitates integration into security auditing and threat modeling processes for AI agents.

When to use it

  • During the design and architecture phase of building an AI agent system.
  • When performing security audits or threat modeling on existing agentic applications.
  • When developing guardrails or safety protocols for autonomous AI agents.
  • When training development teams on secure AI agent implementation practices.

Advantages

  • Standardized security framework based on industry-recognized OWASP research.
  • Machine-readable format allows for automated integration into agent development pipelines.
  • Provides concrete, actionable remediation steps rather than just theoretical risks.
  • Covers a wide range of agent-specific threats like goal hijacking and rogue agents.

Usage examples

“What are the primary risks associated with Agent Goal Hijack according to the OWASP Agentic Top 10?”
The agent retrieves the ASI01:2026 reference, explaining that goal hijack involves attackers manipulating an agent's objectives or decision pathways, and lists associated risks like unauthorized data exfiltration and financial fraud.
“Provide a checklist to assess if my agent is vulnerable to Tool Misuse and Exploitation.”
The agent references ASI02:2026 to provide a list of conditions and patterns that indicate potential tool misuse, along with recommended prevention controls like enforcing least privilege.

Install

  1. Download the skill as a ZIP:

    https://mp-staging.autogineer.com/agent-skills/microsoft/owasp-agentic/download
  2. Unzip it into the cross-client skills folder of your project:

    mkdir -p .agents/skills && unzip owasp-agentic.zip -d .agents/skills

Documentation by Microsoft

OWASP® Agentic Top 10 — Skill Entry

This SKILL.md is the entrypoint for the OWASP Agentic Top 10 skill.

The skill encodes the OWASP Top 10 for Agentic Applications (2026) as structured, machine-readable references that an agent can query to identify, assess, and remediate security risks in AI agent systems.

Normative references (Agentic Top 10)

  1. 00 Vulnerability Index

  2. 01 Agent Goal Hijack

  3. 02 Tool Misuse and Exploitation

  4. 03 Identity and Privilege Abuse

  5. 04 Agentic Supply Chain Vulnerabilities

  6. 05 Unexpected Code Execution

  7. 06 Memory and Context Poisoning

  8. 07 Insecure Inter-Agent Communication

  9. 08 Cascading Failures

  10. 09 Human-Agent Trust Exploitation

  11. 10 Rogue Agents

Skill layout

  • SKILL.md — this file (skill entrypoint).

  • references/ — the Agentic Top 10 normative documents.

    • 00-vulnerability-index.md — index of all vulnerability identifiers, categories, and cross-references.

    • 01 through 10 — one document per vulnerability aligned with OWASP Agentic Security numbering.

Third-Party Attribution

Copyright © OWASP Foundation. OWASP® Top 10 for Agentic Applications (2026) content is derived from works by the OWASP Foundation, licensed under CC BY-SA 4.0 (https://creativecommons.org/licenses/by-sa/4.0/). Source: https://genai.owasp.org/resource/owasp-top-10-for-agentic-applications-for-2026/ Modifications: Vulnerability descriptions restructured into agent-consumable reference documents with added detection and remediation guidance. OWASP® is a registered trademark of the OWASP Foundation. Use does not imply endorsement.

Files

references/06-memory-and-context-poisoning.md


title: 'ASI06: Memory and Context Poisoning' description: OWASP Agentic Top 10 reference for memory and context poisoning attacks targeting agent state and retrieval systems

06 Memory and Context Poisoning

Identifier: ASI06:2026 Category: Data Integrity

Description

Agentic systems rely on stored and retrievable information which can be a snapshot of conversation history, a memory tool, or expanded context, supporting continuity across tasks and reasoning cycles. Context includes any information an agent retains, retrieves, or reuses, such as summaries, embeddings, and RAG stores, but excludes one-time input prompts.

In memory and context poisoning, adversaries corrupt or seed this context with malicious or misleading data, causing future reasoning, planning, or tool use to become biased, unsafe, or aid exfiltration. Ingestion sources such as uploads, API feeds, user input, or peer-agent exchanges may be untrusted or only partially validated.

This risk is distinct from ASI01 (Goal Hijack), which captures direct goal manipulation, and ASI08 (Cascading Failures), which describes degradation after poisoning occurs. However, memory poisoning frequently leads to goal hijacking as corrupted context or long-term memory can alter goal interpretation, reasoning path, or tool-selection logic.

Risk

  • Biased or unsafe future reasoning and planning from corrupted stored context.

  • Data exfiltration through poisoned memory that alters agent tool-use behavior.

  • Unauthorized escalation of permissions through context window exploitation across sessions.

  • Evasion of security detection systems through memory retraining to label malicious activity as normal.

  • Financial losses and business disputes from agents acting on fabricated policies stored in shared memory.

  • Cross-tenant data leakage through vector namespace exploitation and cosine similarity attacks.

  • Long-term behavioral drift from incremental exposure to subtly tainted data or peer-agent feedback.

Vulnerability checklist

  • Malicious or manipulated data can enter vector databases via poisoned sources, direct uploads, or over-trusted pipelines.

  • Reused or shared contexts allow attackers to inject data through normal chats that influence later sessions.

  • Crafted content injected into ongoing conversations can be summarized or persisted in memory, contaminating future reasoning.

  • Incremental exposure to subtly tainted data or peer-agent feedback can gradually shift stored knowledge or goal weighting.

  • Poisoned memory can shift the agent's persona and plant trigger-based backdoors that execute hidden instructions.

  • Contaminated context or shared memory can spread between cooperating agents, compounding corruption.

Prevention controls

  1. Encryption in transit and at rest combined with least-privilege access.

  2. Scan all new memory writes and model outputs (rules and AI) for malicious or sensitive content before commit.

  3. Isolate user sessions and domain contexts to prevent knowledge and sensitive data leakage.

  4. Allow only authenticated, curated sources. Enforce context-aware access per task. Minimize retention by data sensitivity.

  5. Prevent automatic re-ingestion of an agent's own generated outputs into trusted memory to avoid self-reinforcing contamination.

  6. Perform adversarial tests, use snapshots and rollback and version control, and require human review for high-risk actions. Use per-tenant namespaces and trust scores for entries, decaying or expiring unverified memory over time.

Example attack scenarios

Scenario A — Travel booking memory poisoning

An attacker keeps reinforcing a fake flight price, the assistant stores it as truth, then approves bookings at that price and bypasses payment checks.

Scenario B — Context window exploitation

The attacker splits attempts across sessions so earlier rejections drop out of context, and the AI eventually grants escalating permissions up to admin access.

Scenario C — Security system memory poisoning

The attacker retrains a security AI's memory to label malicious activity as normal, letting attacks slip through undetected.

Scenario D — Shared memory poisoning

The attacker inserts bogus refund policies into shared memory, other agents reuse them, and the business suffers bad decisions, losses, and disputes.

Scenario E — Cross-tenant vector bleed

Near-duplicate content seeded by an attacker exploits loose namespace filters, pulling another tenant's sensitive chunk into retrieval by high cosine similarity.

Detection guidance

  • Require source attribution for all memory entries and detect suspicious update patterns or frequencies.

  • Monitor for anomalous memory write patterns that may indicate poisoning attempts.

  • Expire unverified memory entries to limit poison persistence and detect stale or untrusted data.

  • Weight retrieval by trust and tenancy, requiring two factors to surface high-impact memory and decaying low-trust entries over time.

  • Detect cross-tenant vector bleed by monitoring namespace boundary enforcement in shared vector stores.

Remediation

  • Quarantine and roll back suspected poisoned memory entries using version-controlled snapshots.

  • Isolate affected user sessions and domain contexts to prevent further propagation.

  • Re-scan all memory stores for malicious or sensitive content after a poisoning incident.

  • Enforce per-tenant namespaces and trust scores for all shared memory and vector stores.

  • Deploy content validation on all memory write paths including peer-agent exchanges.

  • Expire unverified memory to limit the persistence window of poisoned entries.


Content derived from works by the OWASP Foundation, licensed under CC BY-SA 4.0 (https://creativecommons.org/licenses/by-sa/4.0/). Modifications: Restructured into agent-consumable reference format with added detection and remediation guidance.

Requirements and compatibility

Written for: GitHub Copilot, Claude Code

Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Kiro, OpenCode, Goose, Amp, Roo Code, JetBrains Junie, Factory Droid, Devin (ex-Windsurf), Mistral Vibe, OpenHands, Letta

“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.

Needs: Claude Code frontmatter

Security

No issues found by our static scan· No issues found

A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.

Attribution and licence

Published by
Microsoft
Publisher
Microsoft (Official)
Source
microsoft/hve-core · .github/skills/security/owasp-agentic · commit f425e94
Licence
Creative Commons Attribution-ShareAlike 4.0 International (redistribution allowed)
  • LICENSE (written by AutoGineer)
  • ATTRIBUTION.md (written by AutoGineer)
Synced

AutoGineer is not affiliated with or endorsed by Microsoft.

Download ZIP

The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download owasp-agentic.zip