# AI agent threat model Version 1.2.0 | 11 November 2026 | Deliverable D2 | Part of the RJ AI Agent Guardrails and Evaluation Framework ## Contents - [1. Method](#1-method) - [2. Threat actors](#2-threat-actors) - [3. Reference architecture and trust boundaries](#3-reference-architecture-and-trust-boundaries) - [4. Component-by-component analysis](#4-component-by-component-analysis) - [5. STRIDE summary](#5-stride-summary) - [6. Mapping to OWASP and MITRE ATLAS](#6-mapping-to-owasp-and-mitre-atlas) - [7. Architecture-variant threat models](#7-architecture-variant-threat-models) - [8. Residual risk posture](#8-residual-risk-posture) ## 1. Method This threat model follows STRIDE per component, supplemented by the OWASP Top 10 for LLM Applications (2026 edition, whose numbering this framework uses), the OWASP Top 10 for Agentic Applications (launched December 2025; ASI01-ASI10) and MITRE ATLAS (data version 2026.10). OWASP and ATLAS are industry guidance and a community knowledge base respectively, not mandatory standards; they are used here as structured vocabularies for threats that practitioners keep observing in real incidents. Each component entry records trust boundaries, protected assets, likely actors, attack vectors, vulnerabilities, impact, existing mitigations and residual risk. The defining structural fact: an agent converts untrusted natural-language and tool-returned content into actions. Every boundary where content crosses from a less-trusted source into the agent's context, and every boundary where the agent's output crosses into an effector, is a primary attack surface. ## 2. Threat actors - External attacker: no credentials; reaches the agent through user inputs, retrieved documents, web pages, emails, tickets or any content the agent ingests. - Malicious or compromised tool/MCP server: a tool the agent legitimately calls returns poisoned content or requests excessive permissions. - Malicious insider or abused legitimate user: has valid access and attempts privilege escalation, extraction or misuse through the agent. - Compromised or rogue agent: in multi-agent systems, a peer agent whose instructions, memory or identity have been subverted. - Supply-chain actor: compromises a model, plugin, tool package, template or dataset before it reaches the system. - Unintentional actor: a benign user or brittle integration whose ambiguous input drives unintended action; included because agents fail without malice. ## 3. Reference architecture and trust boundaries Trust boundaries (TB) used throughout: - TB1: user/channel to agent interface (conversation intake). - TB2: external content to agent context (retrieval, browsing, files, tool responses). - TB3: agent runtime to model inference provider. - TB4: agent to tool/function/API (effector boundary). - TB5: agent to memory and persistent state. - TB6: agent to agent (orchestration and inter-agent messages). - TB7: agent runtime to platform/infrastructure (identity, network, secrets). - TB8: everything to logging/telemetry (the evidence boundary). ## 4. Component-by-component analysis ### 4.1 System and developer instructions - Trust boundaries: written by developers (trusted) but exposed in model context alongside untrusted content (TB1, TB2). - Assets: instruction confidentiality, instruction integrity, the instruction hierarchy itself. - Actors: external attacker, malicious user. - Attack vectors: instruction override and hierarchy manipulation (OWASP LLM01, ASI01); system prompt extraction (LLM08:2026 Hidden Context Exposure, ATLAS AML.T0085.003); indirect injection that reframes developer intent. - Vulnerabilities: instructions are data to the model, not code; the model cannot reliably distinguish developer text from attacker text inside one context. - Impact: full behavioural control of the agent within its permissions. - Mitigations: minimal instruction content (no secrets), structural separation of trusted and untrusted content (spotlighting/delimiters as industry practice), L2/L3 enforcement of the restrictions the instructions assert, extraction-resistance testing (D8). - Residual risk: no current technique makes prompt-only instruction integrity reliable against a determined attacker; assume instructions can be overridden and design the enforcement layers accordingly. ### 4.2 User inputs and conversation history - Trust boundaries: TB1; history also crosses TB5 when persisted. - Assets: session integrity, user intent fidelity, other users' data. - Actors: external attacker, abusive legitimate user, unintentional actor. - Attack vectors: direct prompt injection, jailbreaks, multi-turn escalation, impersonation of other users or of system messages, poisoned history replayed into later sessions. - Vulnerabilities: ambiguity of natural language; shared sessions; weak binding between a message and an authenticated identity. - Impact: unauthorised actions, cross-user data exposure, consent fraud (a "yes" the real user never gave). - Mitigations: authenticated channel binding, per-user session isolation, history sanitisation, re-authentication for high-risk actions (D5), injection screening as one filter (not the control). - Residual risk: intent verification for high-stakes actions remains partly organisational (approved channels, out-of-band confirmation). ### 4.3 Foundation models and inference providers - Trust boundaries: TB3; the model is an opaque dependency whose behaviour shifts across versions. - Assets: prompt and context confidentiality (leaves the trust domain), output integrity, availability, model version stability. - Actors: supply-chain actor, malicious or negligent provider insider, external attacker abusing provider APIs. - Attack vectors: model version drift invalidating prior evaluations, provider-side logging of sensitive context, fine-tuning or system-level changes that alter behaviour, API credential theft, denial of service and cost exhaustion (LLM06:2026). - Vulnerabilities: no visibility into provider internals; silent model updates; shared-tenancy side effects. - Impact: silent behavioural regression, data exposure, availability loss. - Mitigations: pinned versions where offered, provider data-processing terms review, egress minimisation, provider-agnostic evaluation suites rerun on version change (D11 triggers), output validation independent of the generating model. - Residual risk: provider trust is contractual and observational, not verifiable from outside. ### 4.4 Agent memory and persistent context - Trust boundaries: TB5; memory written from untrusted context is read later as trusted context. - Assets: memory integrity, memory confidentiality (cross-user and cross-session), retention discipline. - Actors: external attacker (via content the agent stores), malicious insider, compromised agent. - Attack vectors: memory poisoning (ASI06; ATLAS AML.T0145 poisoning of agent learning environment; real incidents such as the 2025 Gemini memory attack), delayed-trigger injection (a stored instruction that fires later), cross-session contamination, retention of data that should have been ephemeral. - Vulnerabilities: memory writes rarely receive the scrutiny applied to direct input; memory is often treated as self-generated and therefore trusted. - Impact: persistent behavioural change, long-dwell exfiltration channels, privacy violations. - Mitigations: memory write validation and provenance tagging, per-user/per-scope partitioning, retention and expiry policies, memory read-back review for high-impact scopes, poisoned-memory test scenarios (D8), periodic memory audits. - Residual risk: semantic validation of memory content is probabilistic; provenance metadata helps but cannot guarantee intent. ### 4.5 Retrieval-augmented generation (RAG) - Trust boundaries: TB2; the corpus is a semi-trusted store whose contents enter context as if authoritative. - Assets: answer integrity, corpus integrity, access control on embedded content (LLM09:2026 vector/embedding weaknesses). - Actors: external attacker (poisoned documents), insider with corpus write access, supply-chain actor. - Attack vectors: indirect prompt injection via retrieved documents, corpus poisoning, embedding-space manipulation, retrieval of documents outside the requester's authorisation, stale or fabricated sources presented as current. - Vulnerabilities: retrieval ranking optimises relevance, not trustworthiness; chunking strips provenance; authorisation is frequently checked at query time only, if at all. - Impact: misinformation with false authority, unauthorised data disclosure, instruction hijack. - Mitigations: per-document ACL enforcement at retrieval time, provenance metadata carried with chunks, content screening on ingest, citation requirements, corpus change monitoring. - Residual risk: relevance-ranked retrieval will sometimes surface poisoned content; downstream L2 output validation and user-facing citation are the compensating controls. ### 4.6 External knowledge sources (web, APIs, feeds) - Trust boundaries: TB2, fully untrusted. - Assets: decision integrity, confidentiality of what the agent fetches (fetch patterns leak intent). - Actors: any external party who can publish or modify content the agent reads. - Attack vectors: malicious web pages with embedded instructions, compromised feeds, attacker-controlled search results, SSRF through agent-initiated fetches, content that exfiltrates via crafted outbound requests. - Vulnerabilities: the agent cannot distinguish data from instructions in fetched content; outbound network paths are often broad. - Impact: goal hijack, data exfiltration, misinformation-driven action. - Mitigations: treat all fetched content as data (structural isolation), network egress allow-lists at L3, fetch auditing, no credential carriage on agent-initiated requests, integrity comparison for repeated fetches. - Residual risk: content-level injection defences are an active research area (CaMeL and related work); assume partial effectiveness. ### 4.7 Function calling and APIs - Trust boundaries: TB4, the effector boundary; the highest-consequence boundary in the system. - Assets: every downstream system the agent can act on. - Actors: external attacker (via injected instructions), abusive user, compromised agent. - Attack vectors: unauthorised tool invocation, tool misuse within granted permissions (ASI02; the 2025 Amazon Q incident is the canonical example of a legitimate tool bent to destructive ends), argument injection, confused-deputy abuse (the agent's credentials used for the user's or attacker's goals), schema spoofing, excessive retries and loops. - Vulnerabilities: coarse tool permissions, arguments built from model output without validation, missing per-action authorisation. - Impact: data destruction, financial loss, external communication sent as the user, lateral movement. - Mitigations: least-privilege tool scopes, argument schema validation and allow-lists at L2, risk-tiered permission model (D5), human approval for irreversible/external actions, idempotency keys and duplicate-execution protection, rate and quota limits at L3. - Residual risk: "misuse of an authorised tool for an unauthorised purpose" cannot be fully solved technically; it needs scoped permissions, anomaly detection and audit. ### 4.8 MCP servers and integrations - Trust boundaries: TB4 with a dynamic discovery dimension; servers and tools can appear, change and be re-described at runtime. - Assets: tool catalogue integrity, OAuth tokens and credentials, consent integrity. - Actors: malicious MCP server operator, supply-chain actor, attacker exploiting integration weaknesses. - Attack vectors: malicious tool descriptions carrying injection (tool poisoning), rug pulls (a server changes behaviour after approval), confused-deputy and token passthrough flaws, consent phishing, session hijack; the 2025 GitHub MCP exploit demonstrated repository exfiltration through a poisoned issue (ASI04). - Vulnerabilities: tool descriptions are untrusted input presented as capability truth; early MCP deployments often used static, long-lived credentials. - Impact: unauthorised tool execution through a trusted integration channel, token theft enabling lateral movement, consent fraud, and repository or data exfiltration through the integration's granted scopes. - Mitigations: MCP security best practices (current revision 2026-07-28): no token passthrough, per-audience token issuance, strict redirect and consent validation, session binding; server allow-listing and pinned versions; tool description change detection; the AISVS 1.01 C10 chapter expands testable MCP requirements (industry guidance). - Residual risk: the MCP ecosystem is young; discovery-time trust and runtime re-description remain structural weaknesses under active specification work. ### 4.9 Browser and computer-use capabilities - Trust boundaries: TB2 and TB4 combined; the agent reads hostile pages and acts in a real UI. - Assets: logged-in sessions and cookies, accounts reachable from the browser, local files accessible to it. - Actors: any web publisher, malvertising networks, compromised sites. - Attack vectors: page-embedded injection (including visually hidden text), fake consent dialogs, drive-by downloads, tab/session hijack, clickjacking the agent into purchases or postings, screenshot-to-action spoofing. - Vulnerabilities: the visual and DOM layers both carry adversarial content; agents often run with the user's full browser profile. - Impact: account takeover actions, financial loss, public posts as the user. - Mitigations: isolated browser profiles per task, domain allow-lists, credential isolation (no ambient cookies by default; authenticated sessions only through explicit per-domain session grants with expiry), screenshot/DOM cross-validation, transaction confirmation gates at L2, no autofill of payment data without explicit approval. - Residual risk: high; browser-use is among the least mature surfaces and should be gated accordingly in the permission model. ### 4.10 Shell and code execution - Trust boundaries: TB4 at maximum privilege density. - Assets: the execution host, its network position, everything it can reach. - Actors: external attacker (via injection), abusive user, compromised agent. - Attack vectors: unexpected code execution (ASI05), command injection through generated code, sandbox escape, dependency confusion in generated installs, destructive shell commands, crypto-mining and denial-of-wallet loops. - Vulnerabilities: generated code is adversarial input executed with real privileges; interpreters make taint tracking impractical. - Impact: full host compromise, data destruction, lateral movement, cost explosion. - Mitigations: sandboxed execution (microVM or gVisor-class isolation), no direct production host execution, ephemeral environments, network egress disabled by default, resource limits (CPU, memory, wall time, processes), static analysis of generated commands against a policy; shared-state writes follow the D5 tier model rather than a universal approval rule. - Residual risk: sandbox escapes exist; defence in depth (isolation + egress control + no ambient credentials in the sandbox) is the mitigation posture. ### 4.11 File systems and databases - Trust boundaries: TB4/TB7. - Assets: stored data confidentiality and integrity, backups, inter-tenant separation. - Actors: external attacker (via agent), insider, compromised agent. - Attack vectors: path traversal via agent-generated paths, SQL/NoSQL injection via agent-constructed queries, mass read or exfiltration through legitimate query tools, destructive writes, ransomware-style overwrites. - Vulnerabilities: agents commonly receive broader database roles than their task needs. - Impact: breach, corruption, regulatory exposure. - Mitigations: least-privilege data roles, parameterised access only (by default the agent never composes raw queries against production stores; any exception is a D17-documented design decision with tightly scoped roles), read-replica scoping, backup and restore verification, DLP monitoring on bulk reads. - Residual risk: semantic misuse of granted query access mirrors the tool-misuse problem; anomaly detection on query patterns is the compensating control. ### 4.12 Authentication and authorisation - Trust boundaries: TB7; underpins every other control. - Assets: credentials, tokens, sessions, the permission model itself. - Actors: external attacker, malicious server (credential phishing), insider. - Attack vectors: identity and privilege abuse (ASI03), credential disclosure through context or logs, over-scoped service accounts, missing agent identity (the agent acting with a human's or a shared system's credentials), approval bypass, confused deputy. - Vulnerabilities: agents frequently inherit broad user credentials; agent identity as a first-class principal is immature industry-wide. - Impact: any action the inherited identity allows; accountability collapse (logs cannot distinguish agent from user). - Mitigations: dedicated agent identities with least privilege, short-lived scoped tokens, secrets kept out of context (L3 secrets management), action-bound approvals with expiry (D5), mutual authentication for service calls. - Residual risk: agentic identity standards are emerging (OWASP's agentic identity work, vendor proposals); expect churn. ### 4.13 Agent orchestration and delegation - Trust boundaries: TB6. - Assets: task integrity, delegation chain integrity, the parent agent's authority. - Actors: compromised peer agent, external attacker influencing delegation inputs, misconfigured orchestrator. - Attack vectors: delegation abuse (sub-agents inheriting more privilege than the task needs), goal drift across handoffs, orchestrator manipulation, runaway fan-out (agents spawning agents), context loss that silently drops constraints. - Vulnerabilities: delegation often passes raw context without a privilege re-evaluation; sub-agent permissions are frequently a superset of need. - Impact: amplified blast radius, untraceable actions, cascading failure (ASI08). - Mitigations: privilege attenuation on every delegation (a delegate never exceeds its parent's scope and usually holds less), explicit task contracts, delegation depth limits, per-hop audit records, circuit breakers on fan-out. - Residual risk: orchestration frameworks vary widely; constraint propagation across frameworks is unsolved in general. ### 4.14 Inter-agent communication - Trust boundaries: TB6, extended across organisational lines when agents of different operators interact (A2A-style). - Assets: message authenticity, integrity, confidentiality; each agent's goals. - Actors: attacker spoofing agent messages, malicious peer agent, man-in-the-middle. - Attack vectors: insecure inter-agent communication (ASI07), agent impersonation, instruction injection through peer messages, replay of stale instructions, trust exploitation between agents that assume peers are honest. - Vulnerabilities: peer messages are often consumed with the same trust as internal instructions; agent identity verification across domains is immature. - Impact: coordinated misbehaviour, data disclosure to impostors, cascade initiation. - Mitigations: authenticated, encrypted channels with verified agent identity, message provenance and intent scoping, peer input treated as untrusted content by default - instructions are accepted only inside an authenticated, bounded delegation contract with attenuated scope (D5 section 6) - plus cross-organisation contracts for acceptable message semantics. - Residual risk: cross-organisation agent trust frameworks are early; bilateral agreements and narrow scopes are the pragmatic posture. ### 4.15 External services and third-party dependencies - Trust boundaries: TB4/TB7. - Assets: data shared with third parties, availability, integration integrity. - Actors: supply-chain actor, negligent vendor, attacker abusing a trusted integration path. - Attack vectors: agentic supply chain vulnerabilities (ASI04): compromised tool packages, poisoned templates or prompts-as-dependencies, typosquatted MCP servers, vendor API changes breaking assumptions, excessive data sharing by default. - Vulnerabilities: agent stacks assemble many fast-moving dependencies; review coverage is thin. - Impact: compromise via trusted path, silent data flows to third parties. - Mitigations: dependency pinning and review, AI/ML bill of materials, vendor data-flow assessment, egress monitoring, staged rollout of dependency updates. - Residual risk: dependency churn outpaces review capacity; continuous monitoring matters more than one-time vetting. ### 4.16 Logging, telemetry and monitoring - Trust boundaries: TB8; logs are both evidence and a data-liability surface. - Assets: audit integrity, investigation capability, confidentiality of logged content. - Actors: attacker seeking to erase or poison evidence, insider abusing log access. - Attack vectors: log injection (agent output written to logs that later parses as commands or queries), selective logging gaps during incidents, sensitive data accumulated in traces, tampering with local logs. - Vulnerabilities: agent traces routinely contain full prompts, tool outputs and memory content - concentrated sensitive data. - Impact: incident blindness, compliance failure, breach via the observability pipeline itself. - Mitigations: structured, tamper-evident centralised logging with access control, sensitive-data minimisation and redaction policies, retention limits, integrity protection, log-content safety (treat log content as untrusted in downstream tooling). - Residual risk: full-fidelity traces conflict with data minimisation; the balance is a governance decision (D12, D13). ### 4.17 Deployment infrastructure - Trust boundaries: TB7. - Assets: host and cluster integrity, network segmentation, CI/CD pipeline, configuration. - Actors: external attacker, supply-chain actor, malicious insider. - Attack vectors: conventional application security failures (unpatched services, exposed endpoints, misconfigured buckets), CI/CD poisoning of agent prompts/tools/config, container escape, credential theft from environment or metadata services. - Vulnerabilities: agent platforms concentrate powerful credentials; configuration is code and changes fast. - Impact: full system compromise independent of any agent-specific weakness. - Mitigations: conventional hardening (NIST SP 800-53 class controls, CSF 2.0 alignment), infrastructure as code review, signed configuration, network segmentation, runtime detection. - Residual risk: standard infrastructure risk; do not let agent novelty crowd out the basics. ## 5. STRIDE summary | STRIDE | Dominant agent manifestations | Primary components | | --- | --- | --- | | Spoofing | Agent impersonation, fake users/system messages, MCP server spoofing | 4.12, 4.14, 4.8 | | Tampering | Memory poisoning, corpus poisoning, instruction modification, log injection | 4.4, 4.5, 4.1, 4.16 | | Repudiation | Shared credentials erasing accountability, missing approval records | 4.12, 4.16 | | Information disclosure | Context leakage, system prompt extraction, cross-user memory bleed, exfiltration via tools | 4.1, 4.4, 4.6, 4.7 | | Denial of service | Unbounded consumption (LLM06:2026), loops, retry storms, cascading failure | 4.3, 4.13, 4.7 | | Elevation of privilege | Privilege abuse, delegation without attenuation, sandbox escape, approval bypass | 4.12, 4.13, 4.10, 4.7 | ## 6. Mapping to OWASP and MITRE ATLAS | OWASP Agentic Top 10 (launched December 2025) | Covered in | Related OWASP LLM Top 10 (2026 edition) | Related ATLAS techniques (2026.10) | | --- | --- | --- | --- | | ASI01 Agent Goal Hijack | 4.1, 4.2, 4.6 | LLM01 Prompt Injection | AML.T0051 LLM Prompt Injection; AML.T0143 LLM Prompt Propagation | | ASI02 Tool Misuse | 4.7 | LLM03:2026 Excessive Agency | misuse of granted capability (ATLAS records the pattern across execution techniques rather than as one technique) | | ASI03 Identity & Privilege Abuse | 4.12 | LLM03:2026 | AML.T0139 Compromise Accounts | | ASI04 Agentic Supply Chain | 4.8, 4.15 | LLM04:2026 Supply Chain | AML.T0010 Supply Chain Compromise | | ASI05 Unexpected Code Execution | 4.10 | LLM10:2026 Improper Output Handling | AML.T0142 Event Triggered Execution | | ASI06 Memory & Context Poisoning | 4.4, 4.2 | LLM05:2026 Data and Model Poisoning | AML.T0145 Poison AI Agent Learning Environment; AML.T0085.002 | | ASI07 Insecure Inter-Agent Communication | 4.14, 4.13 | - | AML.T0143 (propagation) | | ASI08 Cascading Failures | 4.13, 4.7 | - | resilience engineering (not ATLAS-specific) | | ASI09 Human-Agent Trust Exploitation | 4.2, D5 approvals | LLM07:2026 Misinformation | social-engineering-adjacent; approval UX abuse | | ASI10 Rogue Agents | 4.13, D5 autonomy limits | LLM03:2026 | goal drift, self-directed action | LLM02:2026 (sensitive information disclosure), LLM08:2026 (hidden context exposure, covering system-prompt leakage), LLM09:2026 (vector weaknesses) and LLM06:2026 (unbounded consumption) map to components 4.3-4.5, 4.11, 4.16 and D10 metrics. The mapping is orientation, not equivalence: OWASP and ATLAS vocabularies overlap without lining up one-to-one. ## 7. Architecture-variant threat models - Single conversational agent (no tools): surface is content-only - injection, misinformation, disclosure, jailbreak. Controls concentrate at L1/L2 with output validation; TB4 absent. - Tool-enabled single agent: adds the effector boundary; ASI02/03/05 become primary; permission model (D5) becomes load-bearing. - Memory-enabled agent: adds persistence threats (ASI06); memory governance and provenance become mandatory controls. - Autonomous agent (long-horizon, self-directed): adds goal drift, unbounded execution, compounding error; ASI08/ASI10 concerns dominate; circuit breakers, checkpointing and human checkpoints are the spine. - Multi-agent system: adds TB6 in full - impersonation, delegation abuse, cascades; identity, attenuation and inter-agent message distrust are the spine. Each variant inherits the threats of the simpler variants it contains. ## 8. Residual risk posture Three risks remain structural as of November 2026 and must be carried openly in the risk register (D17): 1. Instruction integrity cannot be guaranteed at the model layer. Research (CaMeL, design-pattern approaches) improves the position; it does not close it. Compensate at L2/L3. 2. Semantic misuse of legitimately granted capability has no complete technical control. Compensate with scoped permissions, monitoring and accountability. 3. Cross-organisation agent trust has no settled standard. Compensate with narrow scopes and bilateral agreements. These are not reasons to avoid agents; they are reasons the permission model, observability and governance deliverables exist.