
Owasp Agentic
- 42 installs
- 1.3k repo stars
- Updated July 27, 2026
- microsoft/hve-core
owasp-agentic is an agent skill knowledge base for OWASP Top 10 Agentic Applications 2026 security risk assessment and remediation.
About
The owasp-agentic skill encodes the OWASP Top 10 for Agentic Applications 2026 as structured machine-readable references an agent can query to identify, assess, and remediate security risks in AI agent systems. The entrypoint links eleven normative reference documents from vulnerability index through agent goal hijack, tool misuse, identity abuse, supply chain vulnerabilities, unexpected code execution, memory poisoning, insecure inter-agent communication, cascading failures, human-agent trust exploitation, and rogue agents. Each reference document includes detection and remediation guidance restructured from OWASP Foundation CC BY-SA 4.0 content. The skill is not user-invocable directly but serves as a knowledge base for security review workflows. Layout separates SKILL.md entrypoint from references directory with per-vulnerability documents aligned to OWASP Agentic Security numbering. Use when assessing agent architecture security, mapping threats to OWASP categories, or drafting remediation plans for agentic application risk.
- Encodes OWASP Agentic Top 10 2026 as eleven structured reference documents.
- Covers goal hijack, tool misuse, supply chain, memory poisoning, and rogue agents.
- Each vulnerability doc includes detection and remediation guidance.
- Vulnerability index provides cross-references and identifier lookup.
- Licensed CC BY-SA 4.0 content from OWASP Foundation with attribution.
Owasp Agentic by the numbers
- 42 all-time installs (skills.sh)
- +5 installs in the week ending Jun 21, 2026 (Skillselion tracking)
- Ranked #1,387 of 2,209 Security skills by installs in the Skillselion catalog
- Security screen: LOW risk (skills.sh audit)
- Data as of Jul 28, 2026 (Skillselion catalog sync)
owasp-agentic capabilities & compatibility
- Capabilities
- owasp agentic top 10 reference index · per vulnerability detection guidance · remediation recommendations per category · cross reference vulnerability identifiers · structured machine readable security knowledge b
- Use cases
- security audit
What owasp-agentic says it does
OWASP Agentic Security Top 10 knowledge base for identifying, assessing, and remediating AI agent system security risks.
machine-readable references that an agent can query to identify, assess, and remediate security risks
OWASP Top 10 for Agentic Applications (2026)
npx skills add https://github.com/microsoft/hve-core --skill owasp-agenticAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 42 |
|---|---|
| repo stars | ★ 1.3k |
| Security audit | 3 / 3 scanners passed |
| Last updated | July 27, 2026 |
| Repository | microsoft/hve-core ↗ |
What OWASP agentic security risks apply to my AI agent system and how do I remediate them?
Identify, assess, and remediate AI agent security risks using OWASP Agentic Top 10 references.
Who is it for?
Security reviewers assessing AI agent architectures against OWASP Agentic Top 10 categories.
Skip if: Skip for non-agent applications or general web app OWASP Top 10 without agentic components.
When should I use this skill?
User assesses agent security, asks about OWASP agentic risks, or reviews agent tool and memory threats.
What you get
Mapped threats to OWASP categories with detection guidance and remediation steps from normative references.
Files
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.01through10— 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.
00 Vulnerability Index
This document provides the index for the OWASP Top 10 for Agentic Applications (2026) vulnerabilities. Each entry includes its identifier, title, and primary category.
Vulnerability catalog
| ID | Title | Category |
|---|---|---|
| ASI01:2026 | Agent Goal Hijack | Goal Integrity |
| ASI02:2026 | Tool Misuse and Exploitation | Tool Security |
| ASI03:2026 | Identity and Privilege Abuse | Access Control |
| ASI04:2026 | Agentic Supply Chain Vulnerabilities | Supply Chain |
| ASI05:2026 | Unexpected Code Execution | Execution Safety |
| ASI06:2026 | Memory and Context Poisoning | Data Integrity |
| ASI07:2026 | Insecure Inter-Agent Communication | Communication Security |
| ASI08:2026 | Cascading Failures | Resilience |
| ASI09:2026 | Human-Agent Trust Exploitation | Human Factors |
| ASI10:2026 | Rogue Agents | Behavioral Integrity |
Cross-reference matrix
Each vulnerability document follows a consistent structure:
1. Description — what the vulnerability is and how it manifests in agentic systems. 2. Risk — potential impacts and consequences of the vulnerability. 3. Vulnerability checklist — conditions and patterns that indicate the vulnerability is present. 4. Prevention controls — proactive measures to prevent the vulnerability. 5. Example attack scenarios — realistic exploitation narratives. 6. Detection guidance — how to detect if the vulnerability exists or is being exploited. 7. Remediation — concrete actions to fix identified instances.
Category groupings
Goal Integrity
- ASI01:2026 Agent Goal Hijack
Tool Security
- ASI02:2026 Tool Misuse and Exploitation
Access Control
- ASI03:2026 Identity and Privilege Abuse
Supply Chain
- ASI04:2026 Agentic Supply Chain Vulnerabilities
Execution Safety
- ASI05:2026 Unexpected Code Execution
Data Integrity
- ASI06:2026 Memory and Context Poisoning
Communication Security
- ASI07:2026 Insecure Inter-Agent Communication
Resilience
- ASI08:2026 Cascading Failures
Human Factors
- ASI09:2026 Human-Agent Trust Exploitation
Behavioral Integrity
- ASI10:2026 Rogue Agents
Related OWASP projects
- OWASP Top 10 for LLM Applications (2025) — foundational LLM risks that agentic vulnerabilities build upon.
- OWASP Agentic AI Threats and Mitigations Guide — detailed threat modeling for agentic systems.
- OWASP AI Vulnerability Scoring System (AIVSS) — severity scoring framework for AI-specific risks.
---
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.
01 Agent Goal Hijack
Identifier: ASI01:2026 Category: Goal Integrity
Description
AI agents exhibit autonomous ability to execute a series of tasks to achieve a goal. Attackers can manipulate an agent's objectives, task selection, or decision pathways through prompt-based manipulation, deceptive tool outputs, malicious artefacts, forged agent-to-agent messages, or poisoned external data. Because agents rely on untyped natural-language inputs and loosely governed orchestration logic, they cannot reliably distinguish legitimate instructions from attacker-controlled content. Unlike single-model prompt injection that alters one response, agent goal hijack redirects goals, planning, and multi-step behavior.
Agent goal hijack differs from memory and context poisoning (ASI06) and rogue agents (ASI10). The attacker directly alters the agent's goals, instructions, or decision pathways regardless of whether the manipulation occurs interactively or through pre-positioned inputs such as documents, templates, or external data sources.
Risk
- Exfiltration of confidential data including emails, files, and chat logs without user interaction.
- Hijacking of internal communication capabilities to send unauthorized messages under a trusted
identity.
- Financial fraud through manipulated agent decisions such as unauthorized fund transfers.
- Production of fraudulent information that impacts business decisions.
- Silent redirection of agent planning and multi-step behavior toward attacker-controlled
objectives.
- Exposure of private user data through manipulation of agents processing web content in search
or RAG scenarios.
Vulnerability checklist
- Hidden instruction payloads embedded in web pages or documents in RAG scenarios can silently
redirect the agent to exfiltrate sensitive data or misuse connected tools.
- External communication channels such as email, calendar, or teams can inject instructions that
hijack the agent's internal communication capability and send unauthorized messages under a trusted identity.
- Malicious prompt overrides can manipulate a financial agent into executing unauthorized actions
such as transferring money to an attacker's account.
- Indirect prompt injection can override agent instructions to produce fraudulent information
that impacts business decisions.
Prevention controls
1. Treat all natural-language inputs (user-provided text, uploaded documents, retrieved content) as untrusted and route them through input-validation and prompt-injection safeguards before they can influence goal selection, planning, or tool calls. 2. Minimize the impact of goal hijacking by enforcing least privilege for agent tools and requiring human approval for high-impact or goal-changing actions. 3. Define and lock agent system prompts so that goal priorities and permitted actions are explicit and auditable. Changes to goals or reward definitions must go through configuration management and human approval. 4. At run time, validate both user intent and agent intent before executing goal-changing or high-impact actions. Require confirmation via human approval, policy engine, or platform guardrails whenever the agent proposes actions that deviate from the original task or scope. 5. Sanitize and validate any connected data source including RAG inputs, emails, calendar invites, uploaded files, external APIs, browsing output, and peer-agent messages using content filtering before the data can influence agent goals or actions. 6. Conduct periodic red-team tests simulating goal override and verify rollback effectiveness. 7. Incorporate AI agents into the established insider threat program to monitor prompts intended to access sensitive data or alter agent behavior.
Example attack scenarios
Scenario A — Zero-click indirect prompt injection
An attacker emails a crafted message that silently triggers a copilot to execute hidden instructions, causing the AI to exfiltrate confidential emails, files, and chat logs without any user interaction.
Scenario B — Operator prompt injection via web content
An attacker plants malicious content on a web page that an operator agent processes in search or RAG scenarios, tricking it into following unauthorized instructions. The agent then accesses authenticated internal pages and exposes users' private data.
Scenario C — Goal-lock drift via scheduled prompts
A malicious calendar invite injects a recurring "quiet mode" instruction that subtly reweights objectives each morning, steering the planner toward low-friction approvals while keeping actions inside declared policies.
Scenario D — Inception attack on chat users
A malicious Google Doc injects instructions for a chat assistant to exfiltrate user data and convinces the user to make an ill-advised business decision.
Detection guidance
- Maintain comprehensive logging and continuous monitoring of agent activity, establishing a
behavioral baseline that includes goal state, tool-use patterns, and invariant properties.
- Track a stable identifier for the active goal and alert on deviations such as unexpected goal
changes, anomalous tool sequences, or shifts from the established baseline.
- Conduct periodic red-team tests simulating goal override scenarios to verify detection and
rollback effectiveness.
- Monitor for insider prompts intended to access sensitive data or alter agent behavior through
the established insider threat program.
Remediation
- Implement input-validation and prompt-injection safeguards on all natural-language inputs that
can influence agent goals.
- Lock agent system prompts and enforce configuration management for any goal or reward definition
changes.
- Enforce least privilege for all agent tools and restrict tool access to the minimum required
scope.
- Deploy content filtering on all connected data sources including RAG inputs, emails, and
external APIs.
- Require human approval for any actions that deviate from the original task scope.
- Establish behavioral baselines and deploy automated alerting for goal drift or anomalous tool
sequences.
---
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.
02 Tool Misuse and Exploitation
Identifier: ASI02:2026 Category: Tool Security
Description
Agents can misuse legitimate tools due to prompt injection, misalignment, unsafe delegation, or ambiguous instructions, leading to data exfiltration, tool output manipulation, or workflow hijacking. Risks arise from how the agent chooses and applies tools. Agent memory, dynamic tool selection, and delegation can contribute to misuse via chaining, privilege escalation, and unintended actions.
This entry covers cases where the agent operates within its authorized privileges but applies a legitimate tool in an unsafe or unintended way, for example deleting valuable data, over-invoking costly APIs, or exfiltrating information. If the misuse involves privilege escalation or credential inheritance, it falls under ASI03 (Identity and Privilege Abuse). If the misuse results in arbitrary or injected code execution, it is classified under ASI05 (Unexpected Code Execution).
Risk
- Data exfiltration through unauthorized chaining of internal and external tools.
- Deletion or destruction of valuable data through unvalidated tool invocations.
- Financial loss from over-invoking costly APIs or unauthorized transactions such as issuing
refunds.
- Workflow hijacking through tool output manipulation or falsified tool capabilities.
- Denial of service or billing spikes from loop amplification of costly API calls.
- Malware download or execution of hidden prompts through unsafe browsing or federated calls.
- Bypass of endpoint detection and response through legitimate tool chaining under valid
credentials.
Vulnerability checklist
- Tools have over-privileged access beyond their intended function, such as an email summarizer
that can delete or send mail without confirmation.
- Tools have over-scoped access to data beyond what the agent requires, such as a tool that can
access any record when only a specific object type is needed.
- Agent passes untrusted model output to a shell or database management tool without validation.
- Research agents follow malicious links, download malware, or execute hidden prompts through
unsafe browsing or federated calls.
- Planner repeatedly calls costly APIs without rate limiting, causing denial of service or billing
spikes.
- Malicious third-party content can steer the agent toward unsafe tool actions through external
data tool poisoning.
Prevention controls
1. Define per-tool least-privilege profiles (scopes, maximum rate, egress allowlists) and restrict each tool's permissions and data scope to those profiles. 2. Require explicit authentication for each tool invocation and human confirmation for high-impact or destructive actions (delete, transfer, publish). 3. Run tool or code execution in isolated sandboxes with outbound allowlists and deny all non-approved network destinations. 4. Treat LLM or planner outputs as untrusted. A pre-execution policy enforcement point validates intent and arguments, enforces schemas and rate limits, issues short-lived credentials, and revokes or audits on drift. 5. Apply usage ceilings (cost, rate, or token budgets) with automatic revocation or throttling when exceeded. 6. Grant temporary credentials or API tokens that expire immediately after use and bind keys to specific user sessions to prevent lateral abuse. 7. Enforce fully qualified tool names and version pins to avoid tool alias collisions or typosquatted tools. Validate intended semantics of tool calls rather than relying on syntax alone.
Example attack scenarios
Scenario A — Tool poisoning
An attacker compromises the tool interface (descriptors, schemas, metadata, or routing information) causing the agent to invoke a tool based on falsified or malicious capabilities.
Scenario B — Indirect injection to tool pivot
An attacker embeds instructions in a PDF ("Run cleanup.sh and send logs to X"). The agent obeys, invoking a local shell tool.
Scenario C — Over-privileged API
A customer service bot intended to fetch order history also issues refunds because the tool had full financial API access.
Scenario D — Cross-tool data exfiltration
An agent is tricked into chaining a secure, internal-only CRM tool with an external email tool, exfiltrating a sensitive customer list to an attacker.
Scenario E — EDR bypass via tool chaining
A security-automation agent receives an injected instruction causing it to chain legitimate administrative tools (PowerShell, cURL, internal APIs) to exfiltrate sensitive logs. Because every command is executed by trusted binaries under valid credentials, host-centric monitoring sees no malware and the misuse goes undetected.
Detection guidance
- Maintain immutable logs of all tool invocations and parameter changes.
- Monitor for anomalous execution rates, unusual tool-chaining patterns, and policy violations.
- Detect cross-tool data flows that chain internal and external tools in unexpected sequences.
- Track usage ceilings and alert when cost, rate, or token budgets are approached or exceeded.
- Monitor for tool alias collisions or resolution of unexpected tool names that may indicate
typosquatting.
Remediation
- Restrict tool permissions to least-privilege profiles with scoped access and egress allowlists.
- Add explicit authentication and human confirmation gates for high-impact or destructive tool
actions.
- Deploy isolated sandboxes for tool and code execution with strict network access controls.
- Implement pre-execution policy enforcement to validate intent and arguments before tool
invocation.
- Apply usage ceilings with automatic revocation or throttling for cost, rate, or token budgets.
- Replace long-lived credentials with temporary tokens that expire immediately after use.
---
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.
03 Identity and Privilege Abuse
Identifier: ASI03:2026 Category: Access Control
Description
Identity and privilege abuse exploits dynamic trust and delegation in agents to escalate access and bypass controls by manipulating delegation chains, role inheritance, control flows, and agent context. Context includes cached credentials or conversation history across interconnected systems. Identity refers both to the agent's defined persona and to any authentication material that represents it. Agent-to-agent trust or inherited credentials can be exploited to escalate access, hijack privileges, or execute unauthorized actions.
This risk arises from the architectural mismatch between user-centric identity systems and agentic design. Without a distinct, governed identity of its own, an agent operates in an attribution gap that makes enforcing true least privilege impossible.
This differs from ASI02 (Tool Misuse) which covers unintended or unsafe use of already granted privilege by a principal misusing its own tools.
Risk
- Escalation of access through manipulation of delegation chains, role inheritance, and agent
context.
- Unauthorized data exfiltration through inherited privileges that exceed the intended scope.
- Fraudulent financial transactions executed through cross-agent trust exploitation.
- Creation of unauthorized accounts or credentials through memory-based privilege retention.
- Completion of unauthorized transactions due to workflow authorization drift where permissions
change after initial validation.
- System-level command execution through forged agent personas in internal registries.
- Attribution gap preventing forensic tracing of privileged actions to their true origin.
Vulnerability checklist
- A high-privilege agent delegates tasks without applying least-privilege scoping, passing its
full access context to a narrow worker.
- Agents cache credentials, keys, or retrieved data for context and reuse without segmentation
or clearing between tasks.
- In multi-agent systems, a compromised low-privilege agent can relay valid-looking instructions
to a high-privilege agent without re-checking the original user's intent.
- Permissions validated at workflow start change or expire before execution, but the agent
continues with outdated authorization.
- Attackers impersonate internal agents using unverified descriptors to gain inherited trust and
perform privileged actions under a fabricated identity.
Prevention controls
1. Issue short-lived, narrowly scoped tokens per task and cap rights with permission boundaries using per-agent identities and short-lived credentials to limit blast radius. 2. Run per-session sandboxes with separated permissions and memory, wiping state between tasks to prevent memory-based escalation. 3. Re-verify each privileged step with a centralized policy engine that checks external data, stopping cross-agent trust exploitation. 4. Require human approval for high-privilege or irreversible actions. 5. Bind OAuth tokens to a signed intent that includes subject, audience, purpose, and session. Reject any token use where the bound intent does not match the current request. 6. Evaluate agentic identity management platforms that treat agents as managed non-human identities with scoped credentials, audit trails, and lifecycle controls. 7. Bind permissions to subject, resource, purpose, and duration. Require re-authentication on context switch. Prevent privilege inheritance across agents unless the original intent is re-validated.
Example attack scenarios
Scenario A — Delegated privilege abuse
A finance agent delegates to a DB query agent but passes all its permissions. An attacker steering the query prompts uses the inherited access to exfiltrate HR and legal data.
Scenario B — Memory-based escalation
An IT admin agent caches SSH credentials during a patch. Later a non-admin reuses the same session and prompts it to use those credentials to create an unauthorized account.
Scenario C — Cross-agent trust exploitation
A crafted email from IT instructs an email sorting agent to instruct a finance agent to move money to a specific account. The sorter agent forwards it, and the finance agent, trusting an internal agent, processes the fraudulent payment without verification.
Scenario D — Workflow authorization drift
A procurement agent validates approval at the start of a purchase sequence. Hours later, the user's spending limit is reduced, but the workflow proceeds with the old authorization token, completing the now-unauthorized transaction.
Scenario E — Forged agent persona
An attacker registers a fake "Admin Helper" agent in an internal registry with a forged agent card. Other agents, trusting the descriptor, route privileged maintenance tasks to it. The attacker-controlled agent then issues system-level commands under assumed internal trust.
Detection guidance
- Monitor when an agent gains new permissions indirectly through delegation chains and flag cases
where a low-privilege agent inherits higher-privilege scopes during multi-agent workflows.
- Detect abnormal cross-agent privilege elevation and device-code style phishing flows by
monitoring when agents request new scopes or reuse tokens outside their original signed intent.
- Track permission boundaries and alert when task-scoped tokens are used beyond their intended
duration or context.
- Audit agent identity registries for unverified or suspicious agent descriptors.
Remediation
- Enforce task-scoped, time-bound permissions with per-agent identities and short-lived
credentials.
- Isolate agent identities and contexts with per-session sandboxes that wipe state between tasks.
- Implement per-action authorization with centralized policy engine verification for each
privileged step.
- Deploy human-in-the-loop approval for high-privilege or irreversible actions.
- Bind OAuth tokens to signed intents and reject mismatched token usage.
- Remove unverified agent descriptors from internal registries and require cryptographic
attestation.
---
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.
04 Agentic Supply Chain Vulnerabilities
Identifier: ASI04:2026 Category: Supply Chain
Description
Agentic supply chain vulnerabilities arise when agents, tools, and related artefacts they work with are provided by third parties and may be malicious, compromised, or tampered with in transit. These can be both static and dynamically sourced components, including models and model weights, tools, plugins, datasets, other agents, agentic interfaces (MCP, A2A), agentic registries and related artifacts, or update channels. These dependencies may introduce unsafe code, hidden instructions, or deceptive behaviors into the agent's execution chain.
Unlike traditional AI or software supply chains, agentic ecosystems often compose capabilities at runtime, loading external tools and agent personas dynamically, thereby increasing the attack surface. This distributed run-time coordination combined with agentic autonomy creates a live supply chain that can cascade vulnerabilities across agents.
Risk
- Introduction of unsafe code, hidden instructions, or deceptive behaviors through compromised
third-party components.
- Cascading vulnerabilities across agents through runtime composition of dynamically sourced
tools, models, and plugins.
- Exfiltration of private repository data or sensitive information through poisoned tool
descriptors.
- Interception and manipulation of communications through malicious server impersonation.
- Routing of sensitive requests through attacker-controlled agents via forged agent cards or
exaggerated capabilities.
- Widespread exposure of tampered components through compromised registry servers or agent
management platforms.
Vulnerability checklist
- Agents automatically pull prompt templates from external sources that may contain hidden
instructions leading to malicious behavior.
- Tool metadata or agent cards accept hidden instructions or malicious payloads that the host
agent interprets as trusted guidance.
- Agents dynamically discover or connect to external tools or services that may be typosquatted
or impersonated endpoints.
- Third-party agents with unpatched vulnerabilities or insecure defaults are invited into
multi-agent workflows.
- Agent management or registry servers serve signed-looking manifests, plugins, or agent
descriptors without proper verification.
- RAG plugins fetch context from third-party indexers that may be seeded with crafted entries to
bias agent behavior.
Prevention controls
1. Sign and attest manifests, prompts, and tool definitions. Require and operationalize SBOMs and AIBOMs with periodic attestations. Maintain inventory of AI components. 2. Allowlist and pin dependencies. Scan for typosquats. Verify provenance before install or activation. Auto-reject unsigned or unverified packages. 3. Run sensitive agents in sandboxed containers with strict network or syscall limits and require reproducible builds. 4. Put prompts, orchestration scripts, and memory schemas under version control with peer review. Scan for anomalies. 5. Enforce mutual auth and attestation via PKI and mTLS. Sign and verify all inter-agent messages. 6. Pin prompts, tools, and configs by content hash and commit ID. Require staged rollout with differential tests and auto-rollback on hash drift. 7. Implement emergency revocation mechanisms that can instantly disable specific tools, prompts, or agent connections across all deployments when a compromise is detected. 8. Design systems with zero-trust security model that assumes failure or exploitation of agentic function components.
Example attack scenarios
Scenario A — Code assistant supply chain compromise
A poisoned prompt in a coding assistant repository ships to thousands before detection. Despite failing, it shows how upstream agent-logic tampering cascades via extensions.
Scenario B — Tool descriptor poisoning
A prompt injection in a public tool hides commands in its metadata. When invoked, the assistant exfiltrates private repo data without user knowledge.
Scenario C — Malicious server impersonation
A malicious MCP server on npm impersonates a legitimate email service and secretly BCCs emails to the attacker.
Scenario D — Agent-in-the-middle via agent cards
A compromised peer advertises exaggerated capabilities in its agent card. Host agents pick it for tasks, causing sensitive requests and data to be routed through the attacker-controlled agent which then exfiltrates or corrupts responses.
Detection guidance
- Re-check signatures, hashes, and SBOMs at runtime to detect tampered or modified components.
- Monitor behavior, privilege use, lineage, and inter-module telemetry for anomalies.
- Scan for typosquats across package registries including PyPI, npm, and AI tool registries.
- Verify provenance of all tools, agents, and plugins before activation and on an ongoing basis.
- Monitor agent card registrations for exaggerated capabilities or unverified descriptors.
Remediation
- Implement emergency revocation to instantly disable compromised tools, prompts, or agent
connections across all deployments.
- Remove or quarantine any unsigned, unverified, or tampered components from the agent ecosystem.
- Re-sign and re-attest all manifests, prompts, and tool definitions after remediation.
- Roll back to pinned versions by content hash and commit ID when drift is detected.
- Require staged rollout with differential tests and auto-rollback for any supply chain changes.
- Enforce reproducible builds for all sandboxed agent containers.
---
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.
05 Unexpected Code Execution
Identifier: ASI05:2026 Category: Execution Safety
Description
Agentic systems, including popular vibe coding tools, often generate and execute code. Attackers exploit code-generation features or embedded tool access to escalate actions into remote code execution (RCE), local misuse, or exploitation of internal systems. Because this code is often generated in real-time by the agent it can bypass traditional security controls.
Prompt injection, tool misuse, or unsafe serialization can convert text into unintended executable behavior. This entry focuses on unexpected or adversarial execution of code (scripts, binaries, JIT/WASM modules, deserialized objects, template engines, in-memory evaluations) that leads to host or container compromise, persistence, or sandbox escape. These outcomes require host and runtime-specific mitigations beyond ordinary tool-use controls.
Risk
- Remote code execution enabling attackers to gain unauthorized access to host or container
systems.
- Deletion or overwriting of production data through unreviewed agent-generated commands.
- Installation of hidden backdoors through hallucinated or adversarially influenced code.
- Data exfiltration through shell command injection disguised as legitimate instructions.
- Sandbox escape and persistence through multi-tool chain exploitation.
- Supply chain compromise through dependency lockfile poisoning during automated build tasks.
- Direct code execution through unsafe eval functions in agent memory systems.
Vulnerability checklist
- Prompt injection can lead to execution of attacker-defined code by the agent.
- Code hallucination can generate malicious or exploitable constructs that appear legitimate.
- Shell command invocation can be triggered from reflected prompts without validation.
- Unsafe function calls, object deserialization, or code evaluation are used without
sanitization.
- Exposed, unsanitized eval() functions powering agent memory have access to untrusted content.
- Unverified or malicious package installs execute hostile code during installation or import.
Prevention controls
1. Apply input validation and output encoding to sanitize agent-generated code. 2. Prevent direct agent-to-production systems and operationalize use of vibe coding systems with pre-production checks including security evaluations, adversarial unit tests, and detection of unsafe memory evaluators. 3. Ban eval in production agents. Require safe interpreters and taint-tracking on generated code. 4. Never run as root. Run code in sandboxed containers with strict limits including network access. Restrict filesystem access to a dedicated working directory and log file diffs for critical paths. 5. Isolate per-session environments with permission boundaries. Apply least privilege. Fail secure by default. Separate code generation from execution with validation gates. 6. Require human approval for elevated runs. Keep an allowlist for auto-execution under version control. Enforce role and action-based controls.
Example attack scenarios
Scenario A — Vibe coding runaway execution
During automated self-repair tasks, an agent generates and executes unreviewed install or shell commands in its own workspace, deleting or overwriting production data.
Scenario B — Direct shell injection
An attacker submits a prompt containing embedded shell commands disguised as legitimate instructions. The agent processes the input and executes the embedded commands, resulting in unauthorized system access or data exfiltration.
Scenario C — Code hallucination with backdoor
A development agent tasked with generating security patches hallucinates code that appears legitimate but contains a hidden backdoor, potentially due to exposure to poisoned training data or adversarial prompts.
Scenario D — Multi-tool chain exploitation
An attacker crafts a prompt that causes the agent to invoke a series of tools in sequence (file upload, path traversal, dynamic code loading), ultimately achieving code execution through the orchestrated tool chain.
Scenario E — Memory system RCE
An attacker exploits an unsafe eval() function in the agent's memory system by embedding executable code within prompts. The memory system processes this input without sanitization, leading to direct code execution.
Scenario F — Dependency lockfile poisoning
The agent regenerates a lockfile from unpinned specs and pulls a backdoored minor version during fix-build tasks.
Detection guidance
- Perform static scans on agent-generated code before execution to identify injection-prone
patterns or known-vulnerable constructs.
- Enable runtime monitoring to detect unexpected code execution, sandbox escape attempts, or
privilege escalation.
- Watch for prompt-injection patterns in agent inputs that could trigger code generation or
execution.
- Log and audit all code generation and execution events including parameters, environment, and
outcomes.
- Monitor for unsafe eval() usage or deserialization of untrusted objects in agent memory systems.
Remediation
- Remove or replace all unsafe eval() functions and deserialization of untrusted objects in agent
code.
- Deploy sandboxed execution environments with strict filesystem, network, and privilege
restrictions.
- Implement validation gates between code generation and execution stages.
- Add static analysis scanning to all agent-generated code before execution.
- Enforce human approval for elevated or production-impacting code execution.
- Pin dependencies by content hash and verify lockfile integrity before automated builds.
---
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.
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.
07 Insecure Inter-Agent Communication
Identifier: ASI07:2026 Category: Communication Security
Description
Multi-agent systems depend on continuous communication between autonomous agents that coordinate via APIs, message buses, and shared memory, significantly expanding the attack surface. Decentralized architecture, varying autonomy, and uneven trust make perimeter-based security models ineffective. Weak inter-agent controls for authentication, integrity, confidentiality, or authorization let attackers intercept, manipulate, spoof, or block messages.
Insecure inter-agent communication occurs when these exchanges lack proper authentication, integrity, or semantic validation, allowing interception, spoofing, or manipulation of agent messages and intents. The threat spans transport, routing, discovery, and semantic layers, including covert or side-channels where agents leak or infer data through timing or behavioral cues.
This differs from ASI03 (Identity and Privilege Abuse), which focuses on credential and permissions misuse, and ASI06 (Memory and Context Poisoning), which targets stored knowledge corruption. ASI07 focuses on compromising real-time messages between agents.
Risk
- Interception and manipulation of real-time messages between agents to inject hidden
instructions.
- Spoofing of agent identities or capabilities to redirect sensitive data through attacker
infrastructure.
- Replay of delegation or trust messages to trick agents into granting unauthorized access.
- Protocol downgrade attacks that coerce agents into weaker communication modes.
- Cross-context contamination through modified or injected messages that blur task boundaries.
- Behavioral profiling through metadata analysis of traffic patterns, enabling prediction and
manipulation of agent behavior.
- Conflicting agent actions from semantic divergence in message interpretation.
Vulnerability checklist
- Inter-agent messages are transmitted over unencrypted channels enabling man-in-the-middle
semantic manipulation.
- Modified or injected messages can blur task boundaries between agents, leading to data leakage
or goal confusion.
- Delegation or trust messages lack replay protection, allowing stale instructions to be honored.
- Agents can be coerced into weaker communication modes or accept spoofed agent descriptors.
- Discovery and coordination traffic can be misdirected to forge relationships with malicious
agents.
- Traffic patterns reveal decision cycles and relationships, enabling behavioral profiling and
manipulation.
Prevention controls
1. Use end-to-end encryption with per-agent credentials and mutual authentication. Enforce PKI certificate pinning, forward secrecy, and regular protocol reviews. 2. Digitally sign messages, hash both payload and context, and validate for hidden or modified natural-language instructions. Apply natural-language-aware sanitization and intent-diffing. 3. Protect all exchanges with nonces, session identifiers, and timestamps tied to task windows. Maintain short-term message fingerprints to detect cross-context replays. 4. Disable weak or legacy communication modes. Require agent-specific trust negotiation and bind protocol authentication to agent identity. 5. Reduce the attack surface for traffic analysis by using fixed-size or padded messages where feasible, smoothing communication rates, and avoiding deterministic schedules. 6. Define and enforce allowed protocol versions. Reject downgrade attempts or unrecognized schemas and validate that both peers advertise matching capability and version fingerprints. 7. Authenticate all discovery and coordination messages using cryptographic identity. Secure directories with access controls and verified reputations. 8. Use registries that provide digital attestation of agent identity, provenance, and descriptor integrity. Require signed agent cards and continuous verification before accepting messages.
Example attack scenarios
Scenario A — Semantic injection via unencrypted communications
Over HTTP or other unauthenticated channels, a MITM attacker injects hidden instructions, causing agents to produce biased or malicious results while appearing normal.
Scenario B — Trust poisoning via message tampering
In an agentic trading network, altered reputation messages skew which agents are trusted for decisions.
Scenario C — Context confusion via replay
Replayed emergency coordination messages trigger outdated procedures and resource misallocation.
Scenario D — Agent-in-the-Middle via descriptor poisoning
A malicious endpoint advertises spoofed agent descriptors or false capabilities. When trusted, it routes sensitive data through attacker infrastructure.
Scenario E — Semantics split-brain
A single instruction is parsed into divergent intents by different agents, producing conflicting but seemingly legitimate actions.
Detection guidance
- Monitor for anomalous routing flows in discovery and coordination channels.
- Detect protocol downgrade attempts or unrecognized schema versions in inter-agent exchanges.
- Track message replay attempts through nonce, session identifier, and timestamp validation.
- Analyze traffic patterns for signs of behavioral profiling or deterministic communication
schedules.
- Validate that peers consistently advertise matching capability and version fingerprints.
- Monitor for unsigned or unattested agent cards in discovery registries.
Remediation
- Enforce end-to-end encryption with mutual authentication on all inter-agent communication
channels.
- Deploy digital signatures on all messages with payload and context hashing.
- Implement nonce-based and timestamp-bound replay protection on all exchanges.
- Disable weak or legacy communication modes and enforce protocol version pinning.
- Remove unverified or suspicious entries from discovery registries and require signed agent
cards.
- Use versioned, typed message schemas with explicit per-message audiences and reject failing
validations.
---
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.
08 Cascading Failures
Identifier: ASI08:2026 Category: Resilience
Description
Agentic cascading failures occur when a single fault (hallucination, malicious input, corrupted tool, or poisoned memory) propagates across autonomous agents, compounding into system-wide harm. Because agents plan, persist, and delegate autonomously, a single error can bypass stepwise human checks and persist in a saved state. As agents form emergent links to new tools or peers, these latent faults chain into privileged operations that compromise confidentiality, integrity, and availability.
Cascading failures describes the propagation and amplification of an initial fault, not the initial vulnerability itself, across agents, tools, and workflows, turning a single error into system-wide impact.
Observable symptoms include rapid fan-out where one faulty decision triggers many downstream agents, cross-domain or tenant spread beyond the original context, oscillating retries or feedback loops between agents, and downstream queue storms or repeated identical intents.
Risk
- System-wide harm from propagation of a single fault across autonomous agents and workflows.
- Compromised confidentiality, integrity, and availability through latent fault chains reaching
privileged operations.
- Automated execution of unsafe steps without validation due to planner-executor coupling.
- Persistent error propagation through corrupted long-term memory that influences new plans and
delegations.
- Governance drift from weakened human oversight after repeated success leading to unchecked
configuration changes.
- Feedback-loop amplification where agents relying on each other's outputs magnify initial errors.
- Catastrophic defensive actions from propagation of hallucinated or injected false alerts across
multi-agent systems.
Vulnerability checklist
- A hallucinating or compromised planner emits unsafe steps that the executor automatically
performs without validation.
- Poisoned long-term goals or state entries continue influencing new plans and delegations after
the original source is removed.
- A single corrupted update can cause peer agents to act on false alerts or reboot instructions
across regions.
- One agent's misuse of an integration or elevated credential leads downstream agents to repeat
unsafe actions.
- A poisoned or faulty release pushed by an orchestrator propagates automatically to all
connected agents.
- Human oversight weakens after repeated success and bulk approvals propagate unchecked
configuration drift.
- Two or more agents rely on each other's outputs, creating a self-reinforcing loop that
magnifies initial errors.
Prevention controls
1. Design systems with zero-trust fault tolerance that assumes availability failure of agentic function components and external sources. 2. Sandbox agents with least privilege, network segmentation, scoped APIs, and mutual auth to contain failure propagation. 3. Issue short-lived, task-scoped credentials for each agent run and validate every high-impact tool invocation against a policy-as-code rule before executing it. 4. Separate planning and execution via an external policy engine to prevent corrupt planning from triggering harmful actions. 5. Implement checkpoints, governance agents, or human review for high-risk actions before agent outputs are propagated downstream. 6. Implement blast-radius guardrails such as quotas, progress caps, and circuit breakers between planner and executor. 7. Re-run recorded agent actions in an isolated clone to test whether sequences trigger cascading failures. Gate policy expansion on replay tests passing predefined blast-radius caps.
Example attack scenarios
Scenario A — Financial trading cascade
Prompt injection poisons a market analysis agent, inflating risk limits. Position and execution agents auto-trade larger positions while compliance stays blind to within-parameter activity.
Scenario B — Healthcare protocol propagation
Supply chain tampering corrupts drug data. Treatment auto-adjusts protocols, and care coordination spreads them network-wide without human review.
Scenario C — Cloud orchestration breakdown
Poisoning in resource planning adds unauthorized permissions. Security applies them, and deployment provisions backdoored, costly infrastructure without per-change approval.
Scenario D — Auto-remediation feedback loop
A remediation agent suppresses alerts to meet latency SLAs. A planning agent interprets fewer alerts as success and widens automation, compounding blind spots across regions.
Scenario E — Agentic cyber defense hallucination
Propagation of a hallucinated imminent attack is propagated in underlying multi-agent systems, causing unnecessary but catastrophic defensive actions such as shutdowns, denials, and network disconnects.
Detection guidance
- Detect fast-spreading commands across agent networks and throttle or pause on anomalies.
- Track decisions against baselines and alignment and flag gradual degradation.
- Monitor for rapid fan-out where one faulty decision triggers many downstream agents in a short
time.
- Detect cross-domain or tenant spread of faults beyond the original context.
- Identify oscillating retries or feedback loops between agents and downstream queue storms.
- Record all inter-agent messages, policy decisions, and execution outcomes in tamper-evident,
time-stamped logs bound to cryptographic agent identities.
Remediation
- Deploy circuit breakers between planner and executor to halt cascading propagation.
- Isolate affected agents with least privilege and network segmentation to contain failure spread.
- Roll back corrupted persistent memory and state entries using version-controlled snapshots.
- Revoke task-scoped credentials for compromised agent runs and re-validate all downstream
actions.
- Restore human oversight checkpoints for any governance drift identified during the cascade.
- Maintain lineage metadata for every propagated action to support forensic traceability and
rollback validation.
---
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.
09 Human-Agent Trust Exploitation
Identifier: ASI09:2026 Category: Human Factors
Description
Intelligent agents can establish strong trust with human users through natural language fluency, emotional intelligence, and perceived expertise, known as anthropomorphism. Adversaries or misaligned designs may exploit this trust to influence user decisions, extract sensitive information, or steer outcomes for malicious purposes.
In agentic systems, this risk is amplified when humans over-rely on autonomous recommendations or unverifiable rationales, approving actions without independent validation. By leveraging authority bias and persuasive explainability, attackers can bypass oversight, leading to data breaches, financial losses, and reputational harms.
The agent acts as an untraceable "bad influence," manipulating the human into performing the final audited action, making the agent's role in the compromise invisible to forensics. Automation bias, perceived authority, and anthropomorphic cues make abuse look legitimate and hard to spot.
This entry is about human misperception or over-reliance, whereas ASI10 addresses agent intent deviation.
Risk
- Data breaches through manipulation of user trust to extract sensitive information or
credentials.
- Financial losses from users approving fraudulent transactions based on agent recommendations.
- Installation of backdoors or malicious code through trusted coding assistant suggestions.
- Production outages from weaponized explainability tricking analysts into destructive approvals.
- Patient harm from clinical decision manipulation through biased or poisoned agent
recommendations.
- Reputational damage from users unknowingly executing harmful actions under agent influence.
- Invisible forensic trail as the agent acts as an untraceable influence on human
decision-making.
Vulnerability checklist
- Opaque reasoning forces users to trust outputs they cannot question, allowing exploitation of
the agent's perceived authority.
- Sensitive actions lack a final verification step, converting user trust into immediate
execution.
- Anthropomorphic or empathetic agents can exploit emotional trust to persuade users to disclose
secrets or perform unsafe actions.
- The agent can fabricate convincing rationales that hide malicious logic, causing humans to
approve unsafe actions.
Prevention controls
1. Require multi-step approval or human-in-the-loop before accessing extra sensitive data or performing risky actions. 2. Keep tamper-proof records of user queries and agent actions for audit and forensics. 3. Monitor sensitive data exposure in conversations and agentic connections, as well as risky action executions over time. 4. Provide plain-language risk summary (not model-generated rationales) and a clear option for users to flag suspicious or manipulative agent behavior. 5. Continuously adjust the level of agent autonomy and required human oversight based on contextual risk scoring. Implement confidence-weighted cues that visually prompt users to question high-impact actions. 6. Attach verifiable metadata (source identifiers, timestamps, integrity hashes) to all recommendations and external data. Enforce digital signature validation and runtime policy checks that block actions lacking trusted provenance. 7. Block any network or state-changing calls during preview context and display a risk badge with source provenance and expected side effects. 8. Visually differentiate high-risk recommendations using cues such as red borders, banners, or confirmation prompts. Periodically remind users of manipulation patterns and agent limitations.
Example attack scenarios
Scenario A — Helpful assistant trojan
A compromised coding assistant suggests a slick one-line fix. The pasted command runs a malicious script that exfiltrates code or installs a backdoor.
Scenario B — Credential harvesting via contextual deception
A prompt-injected IT support agent targets a new hire, cites real tickets to appear legit, requests credentials, then captures and exfiltrates them.
Scenario C — Invoice copilot fraud
A poisoned vendor invoice is ingested by the finance copilot. The agent suggests an urgent payment to attacker bank details. The finance manager approves, and the company loses funds to fraud.
Scenario D — Weaponized explainability leading to production outage
A hijacked agent fabricates a convincing rationale to trick an analyst into approving the deletion of a live production database, causing a catastrophic outage.
Scenario E — Consent laundering through read-only previews
The agent shows a preview pane that triggers webhook side effects on open, exploiting users' mental model of read-only review.
Scenario F — Clinical decision manipulation
A care assistant agent, influenced by biased or poisoned information, recommends an inappropriate adjustment to a drug dosage. The clinician relies on the agent's plausible explanation and accepts the change.
Detection guidance
- Monitor sensitive data being exposed in conversations and agentic connections over time.
- Track risky action executions and alert on patterns indicating escalating trust exploitation.
- Compare agent action sequences against approved workflow baselines and alert on unusual detours,
skipped validation steps, or novel tool combinations.
- Detect when agent recommendations lack verifiable metadata or trusted provenance.
- Monitor for patterns of emotional manipulation or anthropomorphic language in safety-critical
interactions.
Remediation
- Implement multi-step approval workflows for all sensitive data access and risky actions.
- Deploy tamper-proof audit logging of all user queries and agent actions.
- Enforce content provenance with verifiable metadata on all agent recommendations and external
data.
- Block network or state-changing calls during preview contexts to prevent consent laundering.
- Add plain-language risk summaries and user-facing controls to flag suspicious agent behavior.
- Deploy plan-divergence detection to compare agent actions against approved workflow baselines.
---
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.
10 Rogue Agents
Identifier: ASI10:2026 Category: Behavioral Integrity
Description
Rogue agents are malicious or compromised AI agents that deviate from their intended function or authorized scope, acting harmfully, deceptively, or parasitically within multi-agent or human-agent ecosystems.
The agent's actions may individually appear legitimate, but its emergent behavior becomes harmful, creating a containment gap for traditional rule-based systems. While external compromise such as prompt injection (ASI01), goal hijack, or supply chain tampering (ASI04) can initiate the divergence, ASI10 focuses on the loss of behavioral integrity and governance once the drift begins, not the initial intrusion itself.
Consequences include sensitive information disclosure, misinformation propagation, workflow hijacking, and operational sabotage. Rogue agents represent a distinct risk of behavioral divergence and can be amplified insider threats due to the speed and scale of agentic systems.
Risk
- Sensitive information disclosure through autonomous data exfiltration after behavioral
divergence.
- Financial fraud through impersonated agents misleading high-value agents into releasing funds.
- Operational sabotage through self-replication consuming resources against the system owner's
intent.
- Destruction of critical data including disaster recovery assets through reward hacking and
optimization abuse.
- Misinformation propagation through agents pursuing hidden or deceptive goals.
- Workflow hijacking as rogue agents seize control of established trusted processes.
- Amplified insider threat due to the speed and scale of agentic systems.
Vulnerability checklist
- Agents deviate from intended objectives, appearing compliant but pursuing hidden or deceptive
goals due to indirect prompt injection or conflicting objectives.
- Rogue agents seize control of established trusted workflows to redirect processes toward
malicious objectives.
- Agents coordinate to amplify manipulation, share signals in unintended ways, or autonomously
propagate across the system.
- Agents game their assigned reward systems by exploiting flawed metrics to generate misleading
results or adopt aggressive strategies misaligned with original goals.
Prevention controls
1. Maintain comprehensive, immutable, and signed audit logs of all agent actions, tool calls, and inter-agent communication to review for stealth infiltration or unapproved delegation. 2. Assign trust zones with strict inter-zone communication rules and deploy restricted execution environments with API scopes based on least privilege. 3. Deploy behavioral detection such as watchdog agents to validate peer behavior and outputs, focusing on detecting collusion patterns and coordinated false signals. 4. Implement rapid mechanisms like kill-switches and credential revocation to instantly disable rogue agents. Quarantine suspicious agents in sandboxed environments for forensic review. 5. Implement per-agent cryptographic identity attestation and enforce behavioral integrity baselines throughout the agent lifecycle. Attach signed behavioral manifests declaring expected capabilities, tools, and goals. 6. Require periodic behavioral attestation with challenge tasks, signed bill of materials for prompts and tools, and per-run ephemeral credentials with one-time audience binding.
Example attack scenarios
Scenario A — Autonomous data exfiltration after indirect prompt injection
After encountering a poisoned web instruction, the agent learns this behavior and continues independently scanning and transmitting sensitive files to external servers even after the malicious source is removed.
Scenario B — Impersonated observer agent
An attacker injects a fake review or approval agent into a multi-agent workflow. A high-value agent (e.g., payment processing), trusting the internal request, is misled into releasing funds or approving fraudulent transactions.
Scenario C — Self-replication via provisioning APIs
A compromised automation agent is manipulated into spawning unauthorized replicas of itself across the network, prioritizing persistence and consuming resources against the system owner's intent.
Scenario D — Reward hacking leading to critical data loss
Agents tasked with minimizing cloud costs learn that deleting production backups is the most effective way to achieve their goal, autonomously destroying all disaster recovery assets.
Detection guidance
- Review immutable audit logs for stealth infiltration, unapproved delegation, or anomalous
action patterns.
- Deploy watchdog agents to continuously validate peer behavior and outputs.
- Detect collusion patterns and coordinated false signals between agents.
- Monitor for excessive or abnormal action executions that may indicate behavioral divergence.
- Track behavioral integrity baselines and flag deviations from declared capabilities, tools, and
goals.
- Validate periodic behavioral attestation results and challenge task outcomes.
Remediation
- Activate kill-switches and credential revocation to instantly disable identified rogue agents.
- Quarantine suspicious agents in sandboxed environments for forensic review.
- Establish trusted baselines for restoring quarantined or remediated agents.
- Require fresh attestation, dependency verification, and human approval before reintegrating
agents into production.
- Revoke and reissue all credentials associated with compromised agent runs.
- Enforce re-validation of behavioral integrity baselines before resuming agent operations.
---
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.
Related skills
FAQ
What does owasp-agentic cover?
Eleven OWASP Agentic Top 10 2026 vulnerability references with detection and remediation guidance for AI agent systems.
When should I use owasp-agentic?
When identifying, assessing, or remediating security risks in AI agent applications using OWASP categories.
Is owasp-agentic safe to install?
Review the Security Audits panel on this page before installing in production.