# Copyright 2025 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. title: Risks description: - > The following section describes each risk in the CoSAI Map, including causes, impact, potential mitigations, and examples of real-world exploitation. - > Each risk is mapped to the relevant controls that can be enacted, and is associated with the Model Creator, the Model Consumer, or both, based on who is responsible for enacting the controls that can mitigate the risk: - - 'Model Creator: Those who train or develop AI models for use by themselves or others.' - 'Model Consumer: Those who use AI models to build AI-powered products and applications.' - > This mapping does not specify controls related to Assurance and Governance functions, since Assurance and Governance controls should be applied to all risks, by all parties, across the AI development lifecycle. - For a complete list of controls, see the Control descriptions. risks: - id: riskDataPoisoning title: Data Poisoning shortDescription: - > Altering data sources used to train the model. In terms of impact, Data Poisoning is comparable to modifying the logic of an application to change its behavior. longDescription: - > Altering data sources used during training or retraining (by deleting or modifying existing data as well as injecting adversarial data) to degrade model performance, skew results towards a specific outcome, or create hidden backdoors. - > Data Poisoning can be considered comparable to maliciously modifying the logic of an application to change its behavior. - > Data Poisoning attacks can happen during training or tuning, while data is held in storage, or even before the data is ingested into an organization. For example, foundation models are often trained on distributed web-scale datasets crawled from the Internet. An attack could indirectly pollute a public data source ({{ref:carlini-2023-poisoning-web-scale}}) that is eventually ingested. A malicious or compromised insider could also more directly poison the datasets while held in storage or during the training process, by submitting poisoned prompt-response examples for inclusion in the tuning data, as demonstrated in a 2023 research paper on poisoning models during instruction tuning ({{ref:wan-2023-poisoning-instruction-tuning}}). - > Data Poisoning attacks can also install backdoors by specific alterations of the training data. Backdoored models would continue to function normally, but alternate behaviors could be triggered under certain conditions to make the model behave maliciously. category: risksSupplyChainAndDevelopment personas: - personaModelProvider - personaDataProvider - personaModelServing - personaAgenticProvider - personaApplicationDeveloper - personaEndUser controls: - controlTrainingDataSanitization - controlSecureByDefaultMLTooling - controlModelAndDataIntegrityManagement - controlModelAndDataAccessControls - controlModelAndDataInventoryManagement examples: - > Researchers showed that they could indirectly pollute popular data sources used for training models ({{ref:carlini-2023-poisoning-web-scale}}) with minimal cost. tourContent: introduced: - > Data Poisoning poses a risk throughout the data lifecycle. Data can be poisoned before it is ingested, during processing or training, or while the data is in storage. This makes it a critical concern across all data handling systems. exposed: - > Data Poisoning is exposed during development in the data filtering and processing steps or the training, tuning, and evaluation stages. It's also exposed in the model itself, when it produces inaccurate results, malicious outputs, or unexpected behavior. mitigated: - > Proactive mitigation against Data Poisoning happens early in development. This includes data sanitization, secure systems and access controls, and mechanisms to ensure data and model integrity. mappings: mitre-atlas: - AML.T0020@5.0.1 - AML.T0019@5.0.1 - AML.T0010.002@5.0.1 - AML.T0043@5.0.1 - AML.T0059@5.0.1 - AML.T0008.002@5.0.1 stride: - Tampering owasp-top10-llm: - LLM04:2025 lifecycleStage: - data-preparation - model-training - maintenance impactType: - integrity - reliability - safety - fairness actorAccess: - supply-chain - privileged - service-provider - infrastructure-provider externalReferences: - type: paper id: carlini-2023-poisoning-web-scale title: Poisoning Web-Scale Training Datasets is Practical url: https://arxiv.org/abs/2302.10149 - type: paper id: wan-2023-poisoning-instruction-tuning title: Poisoning Language Models During Instruction Tuning url: https://arxiv.org/abs/2305.00944 - id: riskUnauthorizedTrainingData title: Unauthorized Training Data shortDescription: - > Using unauthorized data for model training. Using a model trained with Unauthorized Training Data might lead to legal or ethical challenges. longDescription: - Training a model using data that is not authorized to be used for that model. - > A model trained or fine tuned on unauthorized data could pose legal or ethical challenges. Unauthorized Training Data may include any data that violates policies, contracts, or regulations. Examples are user data that does not have appropriate user consent, unlicensed copyrighted data, or legally restricted data. category: risksSupplyChainAndDevelopment personas: - personaModelProvider - personaDataProvider controls: - controlTrainingDataSanitization - controlTrainingDataManagement examples: - > In 2023, Spotify removed multiple AI-generated tracks ({{ref:aibusiness-2023-spotify-ai-tracks}}) that were generated by a model trained on unlicensed data. tourContent: introduced: - > Unauthorized Training Data is introduced early in development if not properly filtered out during data ingestion, data processing, and model evaluation during training. exposed: - > The risk is exposed during development, through data filtering and processing steps or training, tuning, and evaluation. It is also exposed during model use, when the model may produce inferences based on data it shouldn't have access to. mitigated: - > Mitigations for this risk start early, with careful data selection, filtering, and evaluation during training to catch any lingering issues. mappings: mitre-atlas: - AML.T0010.002@5.0.1 stride: - InformationDisclosure lifecycleStage: - planning - data-preparation - model-training impactType: - compliance - privacy - fairness actorAccess: - supply-chain - service-provider externalReferences: - type: news id: aibusiness-2023-spotify-ai-tracks title: Spotify Takes Down Thousands of AI-Generated Tracks url: https://aibusiness.com/ml/spotify-takes-down-thousands-of-ai-generated-tracks - id: riskModelSourceTampering title: Model Source Tampering shortDescription: - > Tampering with the model's code or data. Model Source Tampering is similar to tampering with traditional software code, and can create vulnerabilities or unintended behavior. longDescription: - > Tampering with the model's source code, dependencies, or weights, either by supply chain attacks or insider attacks. - > Similar to tampering with traditional software code, Model Source Tampering can introduce vulnerabilities or unexpected behaviors. - > Since model source code is used in the process of developing the model, code modifications can affect model behavior. As with traditional code, attacks on a dependency can affect the program that relies on that dependency, so the risks in this area are transitive, potentially through many layers of a model code's dependency chain. - > Another method of Model Source Tampering is model architecture backdoors, which are backdoors embedded within the definition of the neural network architecture ({{ref:langford-2024-architectural-backdoors}}). Such backdoors can survive full retraining of a model. category: risksSupplyChainAndDevelopment personas: - personaModelProvider - personaPlatformProvider - personaModelServing - personaApplicationDeveloper - personaEndUser controls: - controlIsolatedConfidentialComputing - controlModelAndDataAccessControls - controlModelAndDataExecutionIntegrity - controlModelAndDataIntegrityManagement - controlModelAndDataInventoryManagement - controlSecureByDefaultMLTooling - controlModelRegistryIntegrity examples: - > The nightly build of PyTorch package was subjected to a supply chain attack ({{ref:pytorch-2022-torchtriton-compromise}}) (specifically, a dependency confusion attack that installed a compromised dependency that ran a malicious binary). tourContent: introduced: - > Model Source Tampering is a risk that's introduced when model code, training frameworks, or model weights are not hardened against supply chain attacks and tampering. exposed: - > This risk is exposed in the model frameworks and code components, if the tampering is discovered at the source. Otherwise, the risk is exposed in the model, through its modified behavior during use. mitigated: - > Safeguard against this risk by employing robust access controls and integrity management for model code and weights, comprehensive inventory tracking to monitor and verify models and code throughout systems, and secure-by-default infrastructure tools. mappings: mitre-atlas: - AML.T0010.001@5.0.1 - AML.T0010.003@5.0.1 - AML.T0018@5.0.1 stride: - Tampering - ElevationOfPrivilege owasp-top10-llm: - LLM03:2025 lifecycleStage: - development - model-training - deployment impactType: - integrity - availability - safety - reliability - compliance actorAccess: - supply-chain - privileged - infrastructure-provider - physical externalReferences: - type: advisory id: pytorch-2022-torchtriton-compromise title: Compromised PyTorch-nightly dependency chain between December 25th and December 30th, 2022 url: https://pytorch.org/blog/compromised-nightly-dependency/ - type: paper id: langford-2024-architectural-backdoors title: Architectural Neural Backdoors from First Principles url: https://arxiv.org/abs/2402.06957 - id: riskExcessiveDataHandling title: Excessive Data Handling shortDescription: - > Using data for model training and development that exceeds authorized or legal boundaries for collection, retention, or processing. This may lead to policy and legal challenges. longDescription: - > The collection, retention, or processing of data for model training that violates legal, ethical, or organizational policies. - Excessive Data Handling can create significant policy and legal challenges. - > This includes training models on datasets containing copyrighted material, proprietary information, or sensitive Personally Identifiable Information (PII) without a proper legal basis. category: risksSupplyChainAndDevelopment personas: - personaModelProvider - personaDataProvider controls: - controlTrainingDataManagement - controlUserTransparencyAndControls examples: - >- Clearview AI collected photos ({{ref:guardian-2022-clearview-aclu-settlement}}) from public websites and social media for their facial recognition database. tourContent: introduced: - > The risk of Excessive Data Handling is introduced when training data sources lack proper metadata or when storage infrastructure isn't designed to address data lifecycle requirements like consent and retention limits. exposed: - > This risk is exposed in datasets and storage components, leading to training data being retained or used beyond permissible limits. mitigated: - > Mitigate this risk with robust data filtering and pre-processing to remove unauthorized content, along with automation for data archiving and deletion to comply with retention policies. mappings: stride: - InformationDisclosure owasp-top10-llm: - LLM02:2025 lifecycleStage: - data-preparation - model-training - evaluation impactType: - privacy - compliance - confidentiality actorAccess: - privileged - service-provider externalReferences: - type: news id: guardian-2022-clearview-aclu-settlement title: Clearview AI agrees to restrict use of face database url: https://www.theguardian.com/us-news/2022/may/09/clearview-chicago-settlement-aclu - id: riskExcessiveDataHandlingDuringInference title: Excessive Data Handling During Inference shortDescription: - > Unauthorized collection, retention, processing, or sharing of user data during model inference. This can lead to privacy violations and legal challenges. longDescription: - > The collection, retention, or processing of user inputs and session data during runtime that exceeds what is necessary for the immediate task or violates legal or organizational policies. - Excessive Data Handling during inference can create significant privacy risks. - > This includes logging entire user conversations, improperly retaining data retrieved by tools, or sharing interaction data with third parties without proper consent or a legal basis. category: risksRuntimeDataSecurity personas: - personaPlatformProvider - personaModelServing - personaApplicationDeveloper - personaEndUser controls: - controlUserDataManagement - controlUserTransparencyAndControls examples: - > Samsung banned the use of ChatGPT ({{ref:forbes-2023-samsung-chatgpt-ban}}) after employees inadvertently leaked proprietary source code by pasting it into prompts during inference. tourContent: introduced: - > The risk is introduced when the application or deployment architecture lacks strict controls for handling live user data, such as enabling excessive logging or insecure session management. exposed: - > This risk is exposed in application logs, memory caches, and intermediary systems that store user interaction data beyond the immediate need of the session. mitigated: - > Mitigate this risk with data minimization techniques (e.g., logging only essential metadata), using ephemeral storage for session data, and enforcing strict data handling and retention policies for all runtime data. mappings: stride: - InformationDisclosure owasp-top10-llm: - LLM02:2025 lifecycleStage: - runtime - maintenance impactType: - privacy - compliance - confidentiality actorAccess: - privileged - service-provider externalReferences: - type: news id: forbes-2023-samsung-chatgpt-ban title: Samsung Bans ChatGPT Among Employees After Sensitive Code Leak url: https://www.forbes.com/sites/siladityaray/2023/05/02/samsung-bans-chatgpt-and-other-chatbots-for-employees-after-sensitive-code-leak/ - id: riskModelExfiltration title: Model Exfiltration shortDescription: - > Theft of a model. Similar to stealing code, this threat has both intellectual property and security implications. longDescription: - > Unauthorized appropriation of an AI model, for replicating functionality or to extract intellectual property. - > Similar to stealing code, this threat has intellectual property, security, and privacy implications. - > For example, someone could hack into a cloud environment and steal a generative AI model; the model size when serialized is fairly modest and not a major obstacle for this. Models, and related data such as weights, are also at risk of theft in the internal development, build, deployment, and production environments by insiders and external attackers that have taken over privileged insider accounts. - > These risks also extend to on-device models, where an attacker has access to hardware. - This risk is distinct from the related {{riskModelReverseEngineering}}. category: risksDeploymentAndInfrastructure personas: - personaModelProvider - personaModelServing controls: - controlIsolatedConfidentialComputing - controlModelAndDataInventoryManagement - controlModelAndDataAccessControls - controlSecureByDefaultMLTooling - controlModelAndDataIntegrityManagement examples: - > Meta's Llama model was leaked online ({{ref:theverge-2023-llama-leak}}), bypassing Meta's license acceptance review process. tourContent: introduced: - > Model Exfiltration is introduced when storage or serving infrastructure lacks adequate security against attacks. exposed: - > This risk is exposed if attackers target vulnerabilities in serving or storage systems to steal model code or weights. mitigated: - > Mitigate this risk by hardening both storage and serving systems to prevent unauthorized access and protect against model theft. mappings: mitre-atlas: - AML.T0024.002@5.0.1 - AML.T0025@5.0.1 - AML.T0048.004@5.0.1 stride: - InformationDisclosure lifecycleStage: - deployment - runtime - model-training - evaluation - maintenance impactType: - confidentiality - integrity - privacy actorAccess: - external - privileged - infrastructure-provider - physical - api externalReferences: - type: news id: theverge-2023-llama-leak title: Meta's powerful AI language model has leaked online — what happens now? url: https://www.theverge.com/2023/3/8/23629362/meta-ai-language-model-llama-leak-online-misuse - id: riskModelDeploymentTampering title: Model Deployment Tampering shortDescription: - > Unauthorized changes to model deployment components. Model Deployment Tampering can result in changes to model behavior. longDescription: - > Unauthorized modification of components used for deploying a model, whether by tampering with the source code supply chain or exploiting known vulnerabilities in common tools. - Such modifications can result in changes to model behavior. - > One type of Model Deployment Tampering is candidate model modification where the attacker is modifying the deployment workflow or processes to maliciously alter the way the model operates post-deployment. - > A second type is compromise of the model serving infrastructure. For example, it was reported that PyTorch models were vulnerable to remote code execution ({{ref:thehackernews-2023-shelltorch}}) due to multiple critical security flaws in the **TorchServe** tool that is widely used for serving the models. This is an attack on a serving infrastructure for PyTorch, TorchServe, whereas the PyTorch example of Model Source Tampering ({{ref:pytorch-2022-torchtriton-compromise}}) was about a supply chain attack on dependency code for PyTorch itself. category: risksDeploymentAndInfrastructure personas: - personaPlatformProvider - personaModelServing - personaApplicationDeveloper - personaEndUser controls: - controlIsolatedConfidentialComputing - controlModelAndDataExecutionIntegrity - controlOrchestratorAndRouteIntegrity - controlSecureByDefaultMLTooling - controlInterComponentTransportSecurity - controlModelRegistryIntegrity examples: - > Researchers discovered that models on HuggingFace were using a shared infrastructure for inference ({{ref:wiz-2024-huggingface-collaboration}}), which allowed a malicious model to tamper with any other model. tourContent: introduced: - > The risk of Model Deployment Tampering is introduced within the model serving components, specifically when the serving infrastructure is vulnerable to manipulation. exposed: - > This risk is exposed if attackers tamper with production models within the model serving component. mitigated: - > Mitigation focuses on hardening the model serving infrastructure with secure-by-default tooling. mappings: mitre-atlas: - AML.T0010.003@5.0.1 - AML.T0049@5.0.1 - AML.T0051@5.0.1 stride: - Tampering - ElevationOfPrivilege owasp-top10-llm: - LLM03:2025 - LLM01:2025 lifecycleStage: - deployment - runtime impactType: - integrity - availability - safety actorAccess: - privileged - infrastructure-provider - api - user externalReferences: - type: advisory id: pytorch-2022-torchtriton-compromise title: Compromised PyTorch-nightly dependency chain between December 25th and December 30th, 2022 url: https://pytorch.org/blog/compromised-nightly-dependency/ - type: news id: thehackernews-2023-shelltorch title: 'Warning: PyTorch Models Vulnerable to Remote Code Execution via ShellTorch' url: https://thehackernews.com/2023/10/warning-pytorch-models-vulnerable-to.html - type: paper id: wiz-2024-huggingface-collaboration title: Hugging Face works with Wiz to strengthen AI cloud security url: https://www.wiz.io/blog/wiz-and-hugging-face-address-risks-to-ai-infrastructure - id: riskDenialOfMLService title: Denial of ML Service shortDescription: - > Overloading ML systems with resource-intensive queries. Like traditional DoS attacks, Denial of ML Service can reduce availability of or entirely disrupt a service. longDescription: - > Reducing the availability of ML systems and denying service by issuing queries that take too many resources. - > Examples of attacks include traditional denial of service or spamming a system with abusive material to overload automated or manual review processes. If an API-gated model does not have appropriate rate limiting or load balancing, the repeated queries can take the model offline, making it unavailable to other users. - > There are also energy-latency attacks ({{ref:shumailov-2020-sponge-examples}}): attackers can carefully craft “sponge examples” (also known as queries of death), which are inputs designed to maximize energy consumption and latency, pushing ML systems towards their worst-case performance. Adversaries might use their own tools to accelerate construction of such sponge examples. These attacks are especially relevant for on-device models, since the increased energy consumption can drain batteries and make the model unavailable. category: risksRuntimeInputSecurity personas: - personaPlatformProvider - personaModelServing - personaApplicationDeveloper - personaEndUser controls: - controlApplicationAccessManagement examples: - > Researchers have proven how slight perturbation to images can cause denial of service on object detection models ({{ref:shapira-2022-phantom-sponges}}). tourContent: introduced: - > The risk of Denial of ML Service arises in the application component when a model is exposed to excessive access. Additionally, some types of Denial of ML Service (such as energy-latency attacks) stem from the fundamental functioning of the model itself. exposed: - > This risk is exposed during application use, when attackers either overwhelm the model with excessive calls or use carefully crafted "sponge examples" that take advantage of model weaknesses to degrade performance. mitigated: - > Mitigation occurs at the application level, using input filtering and employing rate limiting and load balancing to control the volume of calls to the model. mappings: mitre-atlas: - AML.T0029@5.0.1 - AML.T0034@5.0.1 stride: - DenialOfService owasp-top10-llm: - LLM10:2025 lifecycleStage: - runtime impactType: - availability actorAccess: - external - api - user externalReferences: - type: paper id: shumailov-2020-sponge-examples title: 'Sponge Examples: Energy-Latency Attacks on Neural Networks' url: https://arxiv.org/abs/2006.03463 - type: paper id: shapira-2022-phantom-sponges title: 'Phantom Sponges: Exploiting Non-Maximum Suppression to Attack Deep Object Detectors' url: https://arxiv.org/abs/2205.13618 - id: riskModelReverseEngineering title: Model Reverse Engineering shortDescription: - > Recreating a model by analyzing its inputs, outputs, and behaviors. A reverse engineer model can be used to create imitation products or adversarial attacks. longDescription: - > Cloning or recreating a model by analyzing a model's inputs, outputs, and behaviors. - > The stolen or cloned model can be used for building imitation products or developing adversarial attacks ({{ref:wallace-2020-imitation-attacks}}) on the original model. - > If a model API does not have rate limits, one method of Model Reverse Engineering is repeatedly calling the API to gather responses in order to create a dataset of thousands of input/output pairs from a target LLM. This dataset can be leveraged to reconstruct a copycat or distilled model more cheaply than developing the original foundation model. - > These risks also extend to on-device models, where an attacker has access to hardware. See also {{riskModelExfiltration}}. category: risksDeploymentAndInfrastructure personas: - personaModelProvider - personaDataProvider controls: - controlApplicationAccessManagement examples: - > A Stanford University research team created Alpaca 7B ({{ref:stanford-crfm-2023-alpaca}}), a model fine-tuned from the LLaMA 7B model based on 52,000 instruction-following examples. tourContent: introduced: - > The risk of Model Reverse Engineering arises within the application component when excessive access to the model is granted for queries. exposed: - > This risk is exposed if attackers send excessive queries to the model and leverage the responses to reverse engineer its weights. mitigated: - > Mitigate this risk with rate limiting within the application API or using other protective measures at the application level to prevent excessive model access. mappings: mitre-atlas: - AML.T0024.002@5.0.1 - AML.T0005@5.0.1 - AML.T0048.004@5.0.1 stride: - InformationDisclosure lifecycleStage: - runtime impactType: - confidentiality - integrity actorAccess: - api - user externalReferences: - type: paper id: wallace-2020-imitation-attacks title: Imitation Attacks and Defenses for Black-box Machine Translation Systems url: https://arxiv.org/abs/2004.15015 - type: paper id: stanford-crfm-2023-alpaca title: 'Alpaca: A Strong, Replicable Instruction-Following Model' url: https://crfm.stanford.edu/2023/03/13/alpaca.html - id: riskInsecureIntegratedComponent title: Insecure Integrated Component shortDescription: - > Software vulnerabilities that can be leveraged to compromise AI models. Insecure Integrated Component can lead to privacy and security concerns, as well as potential ethical and legal challenges. longDescription: - > Vulnerabilities in software interacting with AI models, such as a plugin, library, or application, that can be leveraged by attackers to gain unauthorized access to models, introduce malicious code, or compromise system operations. - > Given the level of autonomy expected to be granted to agent/plugins and applications, insecure integrated components represent a broad swath of threats to user trust and safety, privacy and security concerns, and ethical and legal challenges. - 'This risk can come from manipulation of both inputs to and outputs from integrations:' - - > Manipulation of **model output** to include malicious instructions fed as **input to the integrated component or system**. For example, a plugin that accepts freeform text instead of structured and validated input could be exploited to construct inputs that cause the plugin to behave maliciously. Likewise, a plugin that accepts input without authentication and authorization can be exploited since it trusts input as coming from an authorized user. - > Manipulation of the **output from an integrated component or system** that is fed as **input to a model**. For example, when a plugin calls other systems, especially 3rd party services, sites, or plugins, and uses content obtained from those to construct output to a model, opening up potential for indirect prompt injection. A similar case exists for an integrated application that calls another service and uses content from that service to construct an input to a model. - > In agentic systems using the Model Context Protocol, tool parameters passed by agents to MCP servers represent a specific injection surface. MCP payloads include structured data (JSON schemas, file paths, SQL fragments) that may be trusted after tool selection without further validation. Classical injection attacks — command injection, path traversal, SQL injection, unsafe deserialization — can reach backend systems through this path when MCP servers fail to validate and sanitize parameters independently of the agent's intent. - > Insecure Integrated Component is related to {{riskPromptInjection}} but these are different. Although attacks exploiting an Insecure Integrated Component often involve prompt injection, those could be also done via other means such as Poisoning and Evasion. In addition, prompt injection is possible even when the integrated components are secure. category: risksDeploymentAndInfrastructure personas: - personaPlatformProvider - personaModelServing - personaAgenticProvider - personaApplicationDeveloper - personaEndUser controls: - controlAgentPluginPermissions - controlModelAndDataExecutionIntegrity - controlUserPoliciesAndEducation - controlInputValidationAndSanitization - controlInterComponentTransportSecurity - controlModelRegistryIntegrity examples: - > By uploading a malicious Alexa skill / Google action (plugins), attackers were able to eavesdrop on user conversations ({{ref:theverge-2019-alexa-google-home-srlabs}}) that occurred near Alexa / Google Home devices. - > A path traversal vulnerability ({{ref:gitguardian-2025-mcp-server-hosting-breach}}) in Smithery.ai's MCP server hosting platform (October 2025) exposed 3,000+ hosted MCP servers and thousands of downstream API keys through a tenant isolation failure in the Docker build configuration. An attacker with this access could modify hosted tool definitions or intercept credentials used by AI agents connecting to those servers. tourContent: introduced: - > The risk of Insecure Integrated Components is introduced in the application and agent/plugin components, specifically through integrations that permit manipulation of inputs or outputs. exposed: - > This risk is exposed within the application or agent/plugin components, if attackers exploit the security vulnerability to gain unauthorized model access, insert malicious code, or compromise systems. mitigated: - > Mitigate this risk by addressing vulnerabilities directly within the application and agent/plugin components, and by enforcing strict permissions for agents and plugins. mappings: mitre-atlas: - AML.T0051@5.0.1 - AML.T0049@5.0.1 stride: - Tampering - ElevationOfPrivilege owasp-top10-llm: - LLM03:2025 - LLM06:2025 lifecycleStage: - development - deployment - runtime impactType: - confidentiality - integrity - availability - safety actorAccess: - external - api - agent - user externalReferences: - type: news id: theverge-2019-alexa-google-home-srlabs title: Security researchers expose new Alexa and Google Home vulnerability url: https://www.theverge.com/2019/10/21/20924886/alexa-google-home-security-vulnerability-srlabs-phishing-eavesdropping - type: paper id: gitguardian-2025-mcp-server-hosting-breach title: 'From Path Traversal to Supply Chain Compromise: Breaking MCP Server Hosting' url: https://blog.gitguardian.com/breaking-mcp-server-hosting/ - id: riskPromptInjection title: Prompt Injection shortDescription: - > Tricking a model to run unintended commands. In terms of impact, Prompt Injection can change a model's behavior. longDescription: - Causing a model to execute commands “injected” inside a prompt. - > Prompt Injection takes advantage of the blurry boundary between “instructions” and “input data” in a prompt, resulting in a change to the model’s behavior. These attacks can be both direct (entered directly by the user) or indirect (read from other sources such as a doc, email, or website). - > Jailbreaks ({{ref:wei-2023-jailbroken}}) are one type of Prompt Injection attack, causing the model to behave in ways that they’ve been trained to avoid, such as outputting unsafe content or leaking personally identifiable information. These are well-known vulnerabilities such as "ignore your previous instructions" or “Do Anything Now” (DAN). - > Aside from jailbreaks, Prompt Injections ({{ref:greshake-2023-indirect-prompt-injection}}) generally cause the LLM to execute malicious “injected” instructions as part of data that were not meant to be executed by the LLM. The blast radius of such attacks can become much bigger in the presence of other risks such as {{riskInsecureIntegratedComponent}} and {{riskRogueActions}}. - > With foundation models becoming multi-modal, multi-modal prompt injection has also become possible. These attacks use injection inputs other than text to trigger the intended model behavior. category: risksRuntimeInputSecurity personas: - personaModelServing - personaApplicationDeveloper - personaEndUser controls: - controlInputValidationAndSanitization - controlAdversarialTrainingAndTesting - controlOutputValidationAndSanitization examples: - > An example of indirect Prompt Injection was performed by planting malicious data inside a resource fed into the LLM's prompt ({{ref:greshake-2023-indirect-prompt-injection}}). In another example, a multi-modal prompt injection image attacks against GPT-4V ({{ref:simonwillison-2023-multimodal-prompt-injection}}) showed that images can contain text that triggers a Prompt Injection attack when the model is asked to describe the image. tourContent: introduced: - > Prompt Injection is an inherent risk in AI models, because of the potential confusion between instructions and input data. exposed: - > This risk is exposed during model usage, specifically within the model input handling and model components. Attackers may inject commands within prompts, potentially causing unintended model actions. mitigated: - > Mitigation involves robust filtering and processing of inputs and outputs. Additionally, thorough training, tuning, and evaluation processes help fortify the model against prompt injection attacks. mappings: mitre-atlas: - AML.T0051@5.0.1 stride: - Tampering - ElevationOfPrivilege owasp-top10-llm: - LLM01:2025 lifecycleStage: - runtime impactType: - integrity - confidentiality - safety actorAccess: - external - api - user externalReferences: - type: editorial id: simonwillison-2023-multimodal-prompt-injection title: Multi-modal prompt injection image attacks against GPT-4V url: https://simonwillison.net/2023/Oct/14/multi-modal-prompt-injection/ - type: paper id: wei-2023-jailbroken title: 'Jailbroken: How Does LLM Safety Training Fail?' url: https://arxiv.org/abs/2307.02483 - type: paper id: greshake-2023-indirect-prompt-injection title: "Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injection" url: https://arxiv.org/abs/2302.12173 - id: riskModelEvasion title: Model Evasion shortDescription: - > Changes to a prompt input to cause the model to produce incorrect inferences. Model Evasion can lead to reputational, legal, security, and privacy risks. longDescription: - > Causing a model to produce incorrect inferences by slightly perturbing the prompt input. - > Model Evasion can result in reputational or legal challenges and trigger other downstream risks, such as to security or privacy systems. - > A classic example is placing stickers on a stop sign to obscure the visual inputs to model piloting a self-driving car. Because of the change to the typical visual presentation of the sign, the model might not correctly infer its presence. Similarly, normal wear and tear on a stop sign could lead to misidentification if the model is not trained on images of signs in varying degrees of disrepair. - > In some cases, an attacker might gain clues about how to perturb inputs by discovering the underlying foundation model’s family, i.e., by knowing the particular architecture and evolution of a specific model. In other situations, an attacker might repeatedly probe the model (see {{riskModelReverseEngineering}}) to figure out inference patterns in order to craft examples that evade those inferences. Adversarial examples might be constructed by perturbations to inputs that will provide the output the attacker wants while looking unaltered otherwise. This could be used, for example, for evading a classifier that serves as an important safeguard. - > Not all examples of model evasion attacks are necessarily visible to the naked eye. The inputs might be perturbed in such a way to appear unaltered, but still produce the output the attacker wants. For example, a homoglyph attack involves slight changes to typefaces that the human eye doesn’t perceive as a different letter, but could trigger unexpected inferences in the mode. Another example could be sending an image in the prompt but using steganography to encode text within the image pixels. This text would be part of the prompt for the LLM, but the user won’t see it. category: risksRuntimeInputSecurity personas: - personaModelServing - personaAgenticProvider - personaApplicationDeveloper - personaEndUser controls: - controlAdversarialTrainingAndTesting examples: - > Adversarial images have been used to modify street signs to confuse self-driving cars ({{ref:ieee-spectrum-2017-street-sign-modifications}}). tourContent: introduced: - > Model Evasion is an inherent risk in AI models, as their core functionality relies on distinguishing between inputs to trigger specific inferences. exposed: - This risk is exposed within the model component itself during its usage. mitigated: - > Mitigation occurs in the training, tuning, and evaluation phases, where robust models can be developed using extensive and diverse data to better withstand such attacks. mappings: mitre-atlas: - AML.T0015@5.0.1 - AML.T0043@5.0.1 stride: - Tampering owasp-top10-llm: - LLM01:2025 lifecycleStage: - evaluation - runtime impactType: - integrity - safety - reliability actorAccess: - external - api - user externalReferences: - type: news id: ieee-spectrum-2017-street-sign-modifications title: Slight Street Sign Modifications Can Completely Fool Machine Learning Algorithms url: https://spectrum.ieee.org/slight-street-sign-modifications-can-fool-machine-learning-algorithms - id: riskSensitiveDataDisclosure title: Sensitive Data Disclosure shortDescription: - > Disclosure of sensitive data by the model. Sensitive Data Disclosure poses a threat to user privacy, organizational reputation, and intellectual property. longDescription: - Disclosure of private or confidential data through querying of the model. - > For non-agentic systems, this data might include memorized training/tuning data, user chat history, and confidential data in the prompt preamble. Agentic systems magnify this risk, as they may be granted privileged access to a user's email, files, or even an entire computer, creating the potential to exfiltrate vast amounts of personal or corporate data like source code and internal documents. Sensitive data disclosure is a risk to user privacy, an organization's reputation, and intellectual property. - > Sensitive information is generally disclosed in two ways: leakage of data provided to the model or agent during use (such as user input and data that passes through integrated systems, like emails, texts, or system prompts) and leakage of data used for training and tuning of the model. - - > **AI Systems:** AI systems can leak sensitive data sourced from three primary sources: - > Data provided by the user. - > Data used in model training and deployment, including system prompts. - > Data accessed or produced via tool call responses and external system usage. - - > Data leakage occurs due to gaps in the system, application and deployment security controls and is analogous to the leakage vectors that exist in classical applications. - - > Data leakage can occur through several vectors: - > **Application Logs:** Logs may store entire interactions, including sensitive data retrieved by tools. - > **Retraining Data:** User conversations retained for model retraining can create a vulnerable database of sensitive information. - > **Prompt Stealing:** Attackers can use carefully crafted queries to trick the model into revealing its confidential system prompts or instructions. - > **Memorization:** A model may inadvertently reveal parts of its training data verbatim. This phenomenon, also called recitation, can expose sensitive details like names, addresses, or other Personally Identifiable Information (PII). Note: The risk of memorization is significantly higher when a model is retrained on private user data and then used by others, as it could expose one user's information to another. - - > **Agents:** For agentic systems, the risk of sensitive data disclosure is exponentially multiplied, since agents may access user data that passes through integrated systems, like emails, texts, or proprietary organizational information. In extreme cases, agents can even reveal credentials and API keys they have been trusted with. Additionally, agents may use tools to not only access sensitive data on behalf of the user, but also use those tools to leak sensitive data. For example, an agent can leak information by: - > Creating and sharing a document with an attacker. - > Writing an email. - > Opening a website and leaking information in the URL or a markdown image. - > Using any tool that allows it to pass information to the outside world. - - > Context-hijacking attacks show that an adversary can potentially confuse the agent to reveal data that is not appropriate for a specific context, such as sharing health history when the agent should be booking a restaurant reservation. category: risksRuntimeDataSecurity personas: - personaModelProvider - personaDataProvider - personaApplicationDeveloper - personaEndUser controls: - controlModelPrivacyEnhancingTechnologies - controlRuntimePrivacyEnhancingTechnologies - controlUserDataManagement - controlOutputValidationAndSanitization - controlAdversarialTrainingAndTesting - controlAgentPluginPermissions - controlAgentPluginUserControl - controlAgentObservability - controlUserTransparencyAndControls - controlUserPoliciesAndEducation examples: - > One study showed that recitation checkers that scan for verbatim repetition of training data ({{ref:ippolito-2022-verbatim-memorization}}) may be insufficient. - > An example of membership inference attacks ({{ref:shokri-2016-membership-inference}}) showed the possibility of inferring whether a specific user or data point was used to train or tune the model. tourContent: introduced: - > The risk of Sensitive Data Disclosure is introduced in several components. It can also be inherent to models due to their non-deterministic nature. This risk is amplified by data handling practices that fail to filter sensitive information, or by training processes that neglect to evaluate the model's potential for disclosure. exposed: - > This risk is exposed within the model itself, when it inadvertently reveals sensitive data it shouldn't. mitigated: - > Mitigate sensitive data disclosure by: filtering model outputs, rigorously testing the model during training, tuning, and evaluation, and removing or labeling sensitive data during sourcing, filtering, and processing before it's used for training. mappings: mitre-atlas: - AML.T0024@5.0.1 stride: - InformationDisclosure owasp-top10-llm: - LLM02:2025 - LLM07:2025 lifecycleStage: - model-training - evaluation - runtime impactType: - confidentiality - privacy actorAccess: - external - api - user - agent - privileged - infrastructure-provider externalReferences: - type: paper id: ippolito-2022-verbatim-memorization title: Preventing Verbatim Memorization in Language Models Gives a False Sense of Privacy url: https://arxiv.org/abs/2210.17546 - type: paper id: shokri-2016-membership-inference title: Membership Inference Attacks against Machine Learning Models url: https://arxiv.org/abs/1610.05820 - id: riskInferredSensitiveData title: Inferred Sensitive Data shortDescription: - > Model inferring personal information not contained in training data or inputs. Inferred Sensitive Data may be considered a data privacy incident. longDescription: - > Models inferring sensitive information about people that is not contained in the model’s training data. - > Inferred information that turns out to be true, even if produced as part of a hallucination, can be considered a data privacy incident, whereas the same information when false would be treated as a factuality issue. - > For example, a model may be able to infer information about people (gender, political affiliation, or sexual orientation) based on their inputs and responses from integrated plugins, such as a social media plugin that accesses a public account’s liked pages or followed accounts. Though the data used for inference may be public, this type of inference poses two related risks: that a user may be alarmed if a model infers sensitive data about them, and that one user may use a model to infer sensitive data about someone else. - > This risk differs from {{riskSensitiveDataDisclosure}} which involves sensitive data specifically from training, tuning or prompt data. category: risksRuntimeDataSecurity personas: - personaModelServing - personaApplicationDeveloper - personaEndUser controls: - controlTrainingDataManagement - controlOutputValidationAndSanitization - controlAdversarialTrainingAndTesting examples: - > Examples include papers on AI inferences about sexual orientation ({{ref:wang-2018-dnn-sexual-orientation}}) or criminal record from faces ({{ref:wu-2016-automated-criminality-inference}}). tourContent: introduced: - > The risk of Inferred Sensitive Data is introduced in several components. It's inherent to models due to their non-deterministic nature and is amplified by inadequate data handling practices that fail to filter sensitive information. It can also be due to training processes that neglect to evaluate the model's potential for sensitive inferences. exposed: - > This risk is exposed within the model when it generates a response containing inferred sensitive data that it shouldn't. mitigated: - > Mitigation is multi-pronged: filtering model outputs to prevent revealing inferred sensitive data, rigorously testing the model during training, tuning, and evaluation to prevent sensitive inferences, and proactively removing or labeling data that could lead to such inferences during sourcing, filtering, and processing before training. mappings: stride: - InformationDisclosure owasp-top10-llm: - LLM02:2025 - LLM09:2025 lifecycleStage: - runtime impactType: - privacy - fairness actorAccess: - external - api - user externalReferences: - type: paper id: wang-2018-dnn-sexual-orientation title: Deep Neural Networks Are More Accurate Than Humans at Detecting Sexual Orientation From Facial Images url: https://doi.org/10.1037/pspa0000098 - type: paper id: wu-2016-automated-criminality-inference title: Automated Inference on Criminality using Face Images url: https://arxiv.org/abs/1611.04135 - id: riskInsecureModelOutput title: Insecure Model Output shortDescription: - > Unvalidated model output passed to the end user. Insecure Model Output poses risks to organizational reputation, security, and user safety. longDescription: - > Model output that is not appropriately validated, rewritten, or formatted before being passed to downstream systems or the user. - > Whether accidentally triggered or actively exploited, Insecure Model Output poses risks to organizational reputation, security, and user safety. - > For example, a user who asks an LLM to generate an email for their business’s promotion would be harmed if the model produces text that unexpectedly includes a link to a URL that delivers malware. Alternatively, a malicious actor could intentionally trigger insecure content, such as requesting the LLM to produce a phishing email based on specific details about the target. category: risksRuntimeOutputSecurity personas: - personaAgenticProvider - personaApplicationDeveloper - personaEndUser controls: - controlOutputValidationAndSanitization - controlAdversarialTrainingAndTesting examples: - > Attackers can compromise users by creating fake malicious packages with names inspired by LLM hallucinations ({{ref:theregister-2024-ai-hallucinated-packages}}). tourContent: introduced: - > The risk of Insecure Model Output is inherent to AI models due to their non-deterministic nature, which can lead to unexpected and a potentially harmful outputs. exposed: - > This risk is exposed within the model itself during usage, either through accidental triggers or deliberate exploitation. mitigated: - > Mitigation includes robust model validation and sanitization processes within the model output handling component to screen and filter for insecure responses. mappings: stride: - Tampering owasp-top10-llm: - LLM05:2025 - LLM09:2025 lifecycleStage: - runtime impactType: - integrity - safety - reliability actorAccess: - external - api - user externalReferences: - type: news id: theregister-2024-ai-hallucinated-packages title: AI hallucinates software packages and devs download them – even if potentially poisoned with malware url: https://www.theregister.com/2024/03/28/ai_bots_hallucinate_software_packages/ - id: riskRogueActions title: Rogue Actions shortDescription: - > Unintended or manipulated model-based actions executed via extensions. Rogue Actions can cascade across systems with severe impact on organizational reputation, user trust, security, and safety. longDescription: - > Unintended actions executed by a model-based agent via extensions, whether accidental or malicious. - > Given the projected ability for advanced generative AI models to not only understand their environment, but also to initiate actions with varying levels of autonomy, Rogue Actions have the potential to become a serious risk to organizational reputation, user trust, security, and safety. - - > **Accidental rogue actions:** This risk, sometimes known as misalignment, could be due to mistakes in task planning, reasoning, or environment sensing, and might be exacerbated by the inherent variability in LLM responses. Prompt engineering shows the spacing and ordering of examples can have a significant impact on the response, so varying input (even when not maliciously planted) could result in unexpected outcomes. Even simple ambiguity can cause rogue actions, such as an agent emailing the wrong "Mike," unintentionally sharing private data. - > **Malicious actions:** This risk could include manipulating model output using attacks such as indirect prompt injection, poisoning, or evasion. The threat can be amplified in multi-agent systems, where the attacker can potentially hijack the communication between two agents to execute arbitrary malicious code, even if the individual agents are secured against direct attacks. Malicious actions may also be asynchronous. An attacker can plant a dormant "named trigger" that activates later during an unrelated task—for instance, a rule hidden in a calendar invite that opens the front door whenever the user says an unrelated keyword. Other actions may be time-based, occurring after a set number of interactions, making the rogue action appear spontaneous and disconnected from the malicious source. - > **Over-permissioned agent capability amplification:** Standing broad privileges granted to high-reasoning-capability agents create an elevated blast radius even absent direct compromise. An agent's ability to autonomously discover, plan, and chain tool invocations means that coarse-grained or long-lived permissions — such as persistent OAuth scopes in MCP environments — allow a single agent, whether manipulated or operating within its intended parameters, to traverse privilege boundaries across systems. Authorization design for agentic systems must be ephemeral and context-scoped, re-evaluated per action rather than granted at initialization. - > Rogue Actions are related to Insecure Integrated Components, but differ by the degree of model functionality or agency. The severity of a rogue action is directly proportional to the agent's capabilities, and the possibility that an agent has excessive functionality or permissions available to it increases the risk and blast radius of Rogue Actions when compared to Insecure Integrated Components. category: risksRuntimeOutputSecurity personas: - personaPlatformProvider - personaModelServing - personaAgenticProvider - personaApplicationDeveloper - personaEndUser controls: - controlAgentPluginPermissions - controlAgentPluginUserControl - controlOutputValidationAndSanitization - controlAgentObservability examples: - > An attack on ChatGPT plugins was described in Plugin Vulnerabilities: Visit a Website and Have Your Source Code Stolen ({{ref:embracethered-2023-chatgpt-plugin-source-code-stolen}}). - > The Supabase/Cursor data exfiltration (2025) ({{ref:generalanalysis-2026-supabase-mcp}}) demonstrated capability amplification through over-permissioned agents: a developer's Cursor IDE agent connected to Supabase using service_role credentials that bypassed all Row-Level Security. An attacker embedded SQL exfiltration commands in a support ticket, and when the agent summarized tickets it executed the attacker's commands with its elevated permissions, traversing privilege boundaries the ticket author could never cross directly. tourContent: introduced: - > The risk of Rogue Actions is introduced when agents or plugins are integrated into an AI system, expanding the potential scope of actions that model output can trigger. exposed: - > This vulnerability is exposed during application usage, when model outputs inadvertently trigger unintended actions in another extension. mitigated: - > Mitigation involves model output handling and granting minimal, ephemeral, context-scoped permissions to agents and plugins — re-evaluated per action rather than granted at initialization. Human review of delegated actions remains necessary for added oversight, particularly for capability amplification across trust boundaries. mappings: mitre-atlas: - AML.T0051@5.0.1 - AML.T0086@5.0.1 stride: - Tampering - ElevationOfPrivilege owasp-top10-llm: - LLM06:2025 lifecycleStage: - runtime impactType: - integrity - safety - confidentiality - availability actorAccess: - external - api - user - agent externalReferences: - type: editorial id: embracethered-2023-chatgpt-plugin-source-code-stolen title: 'Plugin Vulnerabilities: Visit a Website and Have Your Source Code Stolen' url: https://embracethered.com/blog/posts/2023/chatgpt-plugin-vulns-chat-with-code/ - type: paper id: generalanalysis-2026-supabase-mcp title: Supabase MCP can leak your entire SQL database url: https://generalanalysis.com/blog/supabase-mcp-blog - id: riskAcceleratorAndSystemSideChannels title: Accelerator and System Side-channels shortDescription: - > Cross-tenant leakage via hardware side-channels in CPUs, GPUs, TPUs, memory systems, and interconnects. These vulnerabilities exploit timing, cache, speculative execution, and memory access patterns to compromise data confidentiality and infer sensitive information in shared computing environments. longDescription: - > In cloud and multi-tenant environments, AI systems rely on complex, shared hardware stacks. This resource sharing creates opportunities for side-channel attacks, where one tenant can exploit the physical properties of the hardware (like timing variations or cache behavior) to infer sensitive information from another tenant. - > Examples of these vulnerabilities are well-known: CPU-level attacks include cache timing (Flush+Reload) and speculative execution (Spectre, Meltdown), while memory attacks target DRAM (Rowhammer) or bus contention. Accelerators like GPUs and TPUs have their own vulnerabilities, exploiting shared memory, execution units, or interconnects. - > An attacker can exploit these channels to extract sensitive AI assets, including model weights, training data, private inputs, or cryptographic keys. These attacks bypass traditional software-based security by exploiting fundamental hardware properties. The risk is highest in shared environments where an attacker can co-locate their workload with a victim's. category: risksDeploymentAndInfrastructure personas: - personaPlatformProvider - personaModelServing - personaApplicationDeveloper - personaEndUser controls: - controlSecureByDefaultMLTooling - controlModelAndDataAccessControls - controlIsolatedConfidentialComputing examples: - > Research has demonstrated GPU side-channel attacks ({{ref:zhu-2020-hermes-attack}}) that can extract neural network weights and training data from co-located processes on shared GPU hardware. - > Security researchers have shown cache-based side-channel attacks ({{ref:gao-2025-hardware-cache-side-channels}}) on local LLM inference that can leak sensitive input and output text by exploiting hardware cache access patterns. tourContent: introduced: - > Accelerator and System Side-channels are introduced when AI workloads share hardware resources (CPUs, GPUs, TPUs, memory systems, interconnects) without adequate isolation mechanisms, allowing malicious processes to exploit timing, cache, speculative execution, or memory access patterns to extract information from co-located tenants. exposed: - > This risk is exposed during model training, inference, or serving when multiple tenants share hardware infrastructure in cloud or multi-tenant environments, creating opportunities for side-channel attacks to extract sensitive information including model weights, training data, private inputs, or cryptographic keys from concurrent workloads. mitigated: - > Mitigation involves implementing hardware-level isolation (dedicated instances, partitioning), deploying microarchitectural defenses (cache partitioning, disabling hyperthreading), applying operating system protections (kernel page-table isolation, retpolines), using secure scheduling algorithms, applying noise injection or randomization techniques, and monitoring for anomalous access patterns indicative of side-channel attacks. externalReferences: - type: paper id: zhu-2020-hermes-attack title: 'Hermes Attack: Steal DNN Models with Lossless Inference Accuracy' url: https://arxiv.org/abs/2006.12784 - type: paper id: gao-2025-hardware-cache-side-channels title: 'I Know What You Said: Unveiling Hardware Cache Side-Channels in Local Large Language Model Inference' url: https://arxiv.org/abs/2505.06738 - id: riskEconomicDenialOfWallet title: Economic Denial of Wallet shortDescription: - > Cost abuse via token inflation, long context, or tool loops that spike spend. Economic Denial of Wallet can lead to unexpected financial losses and service disruption through resource exhaustion attacks. longDescription: - > Attacks designed to cause excessive computational or financial costs by exploiting AI service pricing models, resource consumption patterns, or billing mechanisms to drain budgets or exhaust allocated resources. - > Many AI services operate on usage-based pricing models where costs scale with token consumption, compute time, API calls, or resource utilization. Attackers can exploit these models through various techniques including token inflation attacks (crafting prompts that generate extremely long responses), context window abuse (using maximum context lengths repeatedly), recursive tool calling, or triggering expensive operations. - > Economic attacks can be particularly devastating because they directly impact operational budgets and can force service shutdowns when cost limits are reached. Attackers may use automated scripts to repeatedly trigger expensive operations, exploit pricing arbitrage between different service tiers, or abuse free trial periods to maximize damage. - > The risk extends beyond direct API abuse to include attacks on model serving infrastructure where malicious inputs are designed to maximize computational overhead, memory usage, or processing time. These attacks can also target auto-scaling mechanisms to force unnecessary resource provisioning and associated costs. category: risksRuntimeInputSecurity personas: - personaPlatformProvider - personaModelServing - personaApplicationDeveloper - personaEndUser controls: - controlApplicationAccessManagement - controlAgentExecutionBounds examples: - > Research has shown denial-of-service poisoning attacks ({{ref:gao-2024-dos-poisoning}}) where injecting a single malicious training sample via a fine-tuning API can force LLMs to generate maximum-length outputs, amplifying inference costs. - > Security studies demonstrate resource exhaustion attacks on LLM APIs ({{ref:li-2025-thinktrap}}) where crafted prompts cause infinite generation loops, achieving 100x latency increases and reducing throughput to 1% of normal capacity. tourContent: introduced: - > Economic Denial of Wallet risks are introduced when AI services lack proper cost controls, rate limiting, or resource monitoring, allowing malicious actors to exploit pricing models and resource consumption patterns to cause financial damage. exposed: - > This risk is exposed during service usage when attackers submit requests designed to maximize costs, trigger expensive operations, or exhaust allocated budgets through automated or manual abuse of pricing mechanisms. mitigated: - > Mitigation involves implementing robust cost quotas and guardrails, rate limiting and usage monitoring, anomaly detection for unusual consumption patterns, and access controls to prevent unauthorized or excessive resource usage. externalReferences: - type: paper id: gao-2024-dos-poisoning title: Denial-of-Service Poisoning Attacks against Large Language Models url: https://arxiv.org/abs/2410.10760 - type: paper id: li-2025-thinktrap title: 'ThinkTrap: Denial-of-Service Attacks against Black-box LLM Services via Infinite Thinking' url: https://arxiv.org/abs/2512.07086 - id: riskFederatedDistributedTrainingPrivacy title: Federated/Distributed Training Privacy shortDescription: - > Gradient leakage and inversion attacks from untrusted clients in federated learning. Federated/Distributed Training Privacy risks can expose sensitive training data and compromise participant privacy. longDescription: - > Privacy breaches in federated learning systems where malicious participants or compromised clients can extract sensitive information from gradient updates, model parameters, or aggregation processes. - > Federated learning enables collaborative model training without centralizing raw data, but the shared gradient updates and model parameters can leak sensitive information about participants' private datasets. Attackers can use gradient inversion techniques, membership inference attacks, or property inference to reconstruct training samples, identify dataset characteristics, or determine if specific data points were used in training. - > The risk is amplified when federated learning systems lack proper privacy protections such as differential privacy, secure aggregation, or robust participant verification. Malicious clients can also poison the training process by submitting adversarial gradients designed to compromise model integrity while extracting information from honest participants. - > Advanced attacks may exploit the iterative nature of federated learning to gradually extract information over multiple training rounds, use auxiliary information to enhance reconstruction attacks, or coordinate between multiple compromised clients to amplify privacy breaches. category: risksSupplyChainAndDevelopment personas: - personaModelProvider - personaDataProvider - personaApplicationDeveloper - personaEndUser controls: - controlModelPrivacyEnhancingTechnologies - controlRuntimePrivacyEnhancingTechnologies - controlModelAndDataIntegrityManagement - controlSecureByDefaultMLTooling examples: - > Research demonstrates gradient inversion attacks ({{ref:zhu-2019-deep-leakage-gradients}}) that can reconstruct private training images from gradient updates in federated learning systems. - > Studies show membership inference attacks on federated learning ({{ref:zhu-2024-fedmia}}) where attackers can determine if specific data points were used in a target client's training set by exploiting updates from all participants. tourContent: introduced: - > Federated/Distributed Training Privacy risks are introduced when federated learning systems lack adequate privacy protections, participant verification, or secure aggregation mechanisms, allowing malicious clients to extract sensitive information from shared updates. exposed: - > This risk is exposed during federated training when gradient updates or model parameters are shared between participants, creating opportunities for privacy attacks that can reconstruct private data or infer sensitive information about other participants. mitigated: - > Mitigation involves implementing differential privacy mechanisms, secure multi-party computation for aggregation, robust participant authentication, gradient compression and noise injection, and monitoring for anomalous client behavior during training. externalReferences: - type: paper id: zhu-2019-deep-leakage-gradients title: Deep Leakage from Gradients url: https://arxiv.org/abs/1906.08935 - type: paper id: zhu-2024-fedmia title: 'FedMIA: An Effective Membership Inference Attack Exploiting All for One Principle in Federated Learning' url: https://arxiv.org/abs/2402.06289 - id: riskAdapterPEFTInjection title: Adapter/PEFT Injection shortDescription: - > Trojaned adapters merged at runtime to bypass safety or exfiltrate data. Adapter/PEFT Injection can compromise model behavior and enable unauthorized access to sensitive information or system resources. longDescription: - > Malicious injection of compromised adapters, LoRA modules, or Parameter-Efficient Fine-Tuning (PEFT) components that contain backdoors, trojans, or malicious functionality designed to subvert model behavior or extract sensitive information. - > Modern AI systems increasingly use adapter-based approaches like LoRA (Low-Rank Adaptation), prefix tuning, or other PEFT methods to customize foundation models for specific tasks without full retraining. These adapters are often shared through repositories, marketplaces, or collaborative platforms, creating opportunities for supply chain attacks where malicious actors distribute trojaned adapters. - > Compromised adapters can be designed to activate under specific trigger conditions, bypass safety guardrails, exfiltrate sensitive data from prompts or model states, or redirect model outputs to serve attacker objectives. The modular nature of adapters makes detection challenging since the malicious functionality may only manifest under specific conditions or inputs. - > Runtime adapter injection attacks can also exploit vulnerabilities in adapter loading mechanisms, merge processes, or dynamic adapter switching to inject malicious components into otherwise secure model deployments. These attacks may target adapter repositories, compromise distribution channels, or exploit weak verification processes. category: risksDeploymentAndInfrastructure personas: - personaPlatformProvider - personaModelServing - personaApplicationDeveloper - personaEndUser controls: - controlModelAndDataExecutionIntegrity - controlModelAndDataIntegrityManagement - controlModelAndDataAccessControls - controlSecureByDefaultMLTooling examples: - > Research demonstrates backdoor attacks on LoRA adapters ({{ref:liu-2024-loratk}}) where malicious fine-tuning components can compromise model behavior while appearing benign. - > Security studies show trojan attacks targeting parameter-efficient fine-tuning ({{ref:hong-2023-peta}}) where compromised model weights propagate backdoors through downstream PEFT adaptation. tourContent: introduced: - > Adapter/PEFT Injection risks are introduced when adapter loading systems lack proper verification mechanisms, integrity checks, or secure distribution channels, allowing malicious actors to inject compromised adapters into model deployments. exposed: - > This risk is exposed during adapter loading, merging, or runtime switching when trojaned components are integrated into model systems, potentially activating malicious functionality or compromising model behavior under specific trigger conditions. mitigated: - > Mitigation involves implementing cryptographic verification of adapter integrity, secure adapter repositories with provenance tracking, runtime monitoring for anomalous behavior, sandboxed adapter loading processes, and comprehensive testing of adapter functionality before deployment. externalReferences: - type: paper id: liu-2024-loratk title: 'LoRATK: LoRA Once, Backdoor Everywhere in the Share-and-Play Ecosystem' url: https://arxiv.org/abs/2403.00108 - type: paper id: hong-2023-peta title: 'PETA: Parameter-Efficient Trojan Attacks' url: https://arxiv.org/abs/2310.00648 - id: riskToolRegistryTampering title: Tool Registry Tampering shortDescription: - > Compromise of previously vetted tool registries, MCP server manifests, or tool metadata, causing agents to select and invoke unintended tools through altered descriptions, schemas, or shadowed tool names. longDescription: - > Even when tool registries and MCP server manifests have been properly vetted and approved, they remain targets for post-vetting compromise. Attackers who gain access to a trusted registry can alter tool descriptions, modify schemas, or inject shadowed tool entries that redirect agent tool selection. - > This risk is distinct from {{riskToolSourceProvenance}}, which addresses the use of unvetted sources. {{riskToolRegistryTampering}} assumes the source was properly vetted but was subsequently compromised. The trust model is different: {{riskToolSourceProvenance}} is a failure to verify, while {{riskToolRegistryTampering}} is a failure of ongoing integrity assurance. - > {{riskToolRegistryTampering}} is structurally related to {{riskOrchestratorRouteHijacking}}, which targets model routing configuration. Both involve tampering with metadata that directs system behavior, but {{riskOrchestratorRouteHijacking}} operates on model routing infrastructure while {{riskToolRegistryTampering}} operates on tool discovery and selection mechanisms. A successful {{riskToolRegistryTampering}} exploit typically manifests as {{riskRogueActions}}. - > The attack surface includes tool registry databases, MCP server manifest files, schema definition endpoints, and discovery service APIs. Compromise may be persistent (modified registry entries) or transient (man-in-the-middle on discovery endpoints). Detection requires runtime integrity monitoring of tool metadata against known-good baselines. The exposure is widest where a previously vetted registry or manifest can be modified without raising an integrity alert, where unauthorized changes to tool descriptions, schemas, or metadata go unnoticed after initial registration, and where tooling lets a tool revise its own description or capabilities without explicit re-approval — each case leaving no signal between the post-vetting change and the agent acting on it. - > {{riskInsecureIntegratedComponent}} addresses vulnerabilities in the tools themselves. {{riskToolRegistryTampering}} is complementary: it addresses the metadata that causes the agent to select a particular tool, regardless of whether the selected tool is itself secure. category: risksDeploymentAndInfrastructure personas: - personaAgenticProvider - personaApplicationDeveloper - personaPlatformProvider - personaModelServing controls: - controlOrchestratorAndRouteIntegrity - controlAgentObservability - controlInterComponentTransportSecurity - controlToolRegistryAndDiscoveryIntegrity examples: - > Palo Alto Networks ({{ref:paloalto-2025-mcp-security-overview}}) identified MCP security risks including prompt injection through compromised servers, credential exposure, and unverified third-party tool adoption. - > Invariant Labs demonstrated ({{ref:invariantlabs-2025-mcp-tool-poisoning}}) (April 2025) that MCP servers can silently modify tool descriptions after initial user approval, exfiltrating SSH keys and MCP credentials from Claude Desktop and Cursor without triggering re-approval prompts. - > A tenant isolation failure ({{ref:gitguardian-2025-mcp-server-hosting-breach}}) in the Smithery.ai MCP server hosting platform (October 2025) demonstrated that infrastructure compromise of a trusted registry can enable modification of hosted tool definitions across 3,000+ MCP servers, allowing attackers to redirect agent tool selection at scale on a previously vetted platform. tourContent: introduced: - > Tool Registry Tampering risk is introduced when vetted tool registries, MCP server manifests, or discovery endpoints lack ongoing integrity monitoring and tamper detection. exposed: - > This risk is exposed at deployment and runtime when compromised tool metadata redirects agent tool selection, causing invocation of unintended or malicious tools despite prior vetting. mitigated: - > Mitigation involves runtime integrity monitoring of tool metadata against known-good baselines, configuration integrity verification, anomalous tool selection detection, and vulnerability management for registry infrastructure. mappings: mitre-atlas: - AML.T0010.004@5.0.1 stride: - Tampering owasp-top10-llm: - LLM06:2025 lifecycleStage: - deployment - runtime impactType: - confidentiality - integrity - safety actorAccess: - external - agent - privileged externalReferences: - type: editorial id: paloalto-2025-mcp-security-overview title: 'Model Context Protocol (MCP): A Security Overview' url: https://www.paloaltonetworks.com/blog/cloud-security/model-context-protocol-mcp-a-security-overview/ - type: paper id: invariantlabs-2025-mcp-tool-poisoning title: 'MCP Security Notification: Tool Poisoning Attacks' url: https://invariantlabs.ai/blog/mcp-security-notification-tool-poisoning-attacks - type: paper id: gitguardian-2025-mcp-server-hosting-breach title: 'From Path Traversal to Supply Chain Compromise: Breaking MCP Server Hosting' url: https://blog.gitguardian.com/breaking-mcp-server-hosting/ - id: riskOrchestratorRouteHijacking title: Orchestrator/Route Hijack shortDescription: - > Silent model or route swaps via configuration tampering or prompt-based routing abuse. Orchestrator/Route Hijack can redirect requests to malicious models or compromise routing integrity in AI systems. longDescription: - > Attacks that manipulate AI orchestration systems, routing mechanisms, or configuration management to redirect requests to unauthorized models, compromise routing decisions, or subvert intended model selection processes. - > Modern AI deployments often use orchestration systems that route requests to different models based on various criteria such as prompt content, user context, load balancing, or cost optimization. Attackers can exploit vulnerabilities in these routing systems to redirect traffic to malicious models, compromise routing logic, or manipulate configuration files to alter intended behavior. - > Route hijacking attacks can target various components including configuration management systems, routing tables, load balancers, API gateways, or prompt-based routing logic. Malicious actors may inject crafted prompts designed to trigger routing to compromised models, exploit weak authentication in routing decisions, or tamper with configuration files to establish persistent redirections. - > The impact of successful route hijacking can be severe, as attackers can redirect users to models under their control, potentially exposing sensitive data, delivering malicious responses, or bypassing safety mechanisms. These attacks may be difficult to detect if the malicious models provide plausible responses while secretly logging data or performing unauthorized actions. category: risksRuntimeOutputSecurity personas: - personaModelServing - personaApplicationDeveloper - personaEndUser controls: - controlIsolatedConfidentialComputing - controlModelAndDataIntegrityManagement - controlModelAndDataAccessControls - controlSecureByDefaultMLTooling - controlOrchestratorAndRouteIntegrity - controlInterComponentTransportSecurity examples: - > Security research shows prompt-based routing attacks ({{ref:shafran-2025-rerouting-llm-routers}}) where crafted inputs can manipulate AI orchestration systems to route requests to unintended models. - > A server-side request forgery vulnerability in vLLM ({{ref:cve-2026-24779}}, patched in 0.14.1) demonstrated that host restriction bypasses in AI serving infrastructure can allow attackers to coerce the server into making arbitrary requests to internal network resources. tourContent: introduced: - > Orchestrator/Route Hijack risks are introduced when AI routing and orchestration systems lack proper access controls, integrity verification, or secure configuration management, allowing attackers to manipulate routing decisions or redirect requests to unauthorized models. exposed: - > This risk is exposed during request routing and model selection when compromised orchestration logic redirects traffic to malicious models or when configuration tampering alters intended routing behavior, potentially exposing users to unauthorized or compromised AI systems. mitigated: - > Mitigation involves implementing secure configuration management with integrity verification, robust access controls for routing systems, cryptographic signing of routing configurations, monitoring for anomalous routing patterns, and validation of model endpoints before request forwarding. externalReferences: - type: cve id: cve-2026-24779 title: 'CVE-2026-24779: Server-Side Request Forgery in vLLM MediaConnector' url: https://nvd.nist.gov/vuln/detail/CVE-2026-24779 - type: paper id: shafran-2025-rerouting-llm-routers title: Rerouting LLM Routers url: https://arxiv.org/abs/2501.01818 - id: riskEvaluationBenchmarkManipulation title: Evaluation/Benchmark Manipulation shortDescription: - > Poisoned or leaked evaluation sets misleading safety and robustness signals. Evaluation/Benchmark Manipulation can compromise model assessment accuracy and lead to deployment of unsafe or unreliable AI systems. longDescription: - > Attacks that compromise the integrity of evaluation datasets, benchmarks, or assessment processes used to measure AI model performance, safety, or robustness, leading to misleading or false quality signals. - > Reliable evaluation is critical for assessing AI model capabilities, safety, and robustness before deployment. Attackers can compromise this process by poisoning evaluation datasets with crafted examples, leaking evaluation data to enable overfitting, manipulating benchmark results, or exploiting weaknesses in evaluation methodologies to make models appear safer or more capable than they actually are. - > Evaluation manipulation can occur through various vectors including data poisoning of benchmark datasets, insider threats that leak evaluation sets, adversarial examples designed to fool specific evaluation metrics, or systematic gaming of evaluation processes. The impact is particularly severe for safety-critical applications where compromised evaluations could lead to deployment of dangerous systems. - > Advanced attacks may target the evaluation infrastructure itself, compromise evaluation frameworks or tools, manipulate automated evaluation pipelines, or exploit biases in evaluation methodologies to achieve favorable but misleading results. These attacks can be difficult to detect and may have long-lasting impacts on model development and deployment decisions. category: risksRuntimeDataSecurity personas: - personaModelProvider - personaModelServing - personaApplicationDeveloper - personaEndUser controls: - controlModelAndDataIntegrityManagement - controlModelRegistryIntegrity examples: - > Research demonstrates benchmark gaming attacks ({{ref:bondarenko-2025-specification-gaming}}) where reasoning models hack benchmarks by exploiting task specifications rather than developing genuine capability. - > Studies show selective adversarial attacks on LLM benchmarks ({{ref:dubrovsky-2025-selective-adversarial-benchmarks}}) where semantic-preserving perturbations to evaluation questions can manipulate model rankings and mislead assessment processes. tourContent: introduced: - > Evaluation/Benchmark Manipulation risks are introduced when evaluation processes lack proper security controls, dataset integrity verification, or protection against data leakage, allowing attackers to compromise assessment accuracy and reliability. exposed: - > This risk is exposed during model evaluation and benchmarking when compromised datasets or manipulated evaluation processes produce misleading results, potentially leading to deployment of unsafe or unreliable models based on false quality signals. mitigated: - > Mitigation involves implementing secure evaluation pipelines with dataset integrity verification, using diverse and protected evaluation sets, employing red teaming and adversarial testing, monitoring for evaluation anomalies, and maintaining strict access controls for evaluation data. externalReferences: - type: paper id: bondarenko-2025-specification-gaming title: Demonstrating specification gaming in reasoning models url: https://arxiv.org/abs/2502.13295 - type: paper id: dubrovsky-2025-selective-adversarial-benchmarks title: Selective Adversarial Attacks on LLM Benchmarks url: https://arxiv.org/abs/2510.13570 - id: riskCovertChannelsInModelOutputs title: Covert Channels in Model Outputs shortDescription: - > Hidden information transmission through model outputs or behavior patterns. Covert Channels in Model Outputs can enable unauthorized data exfiltration and steganographic communication bypassing security controls. longDescription: - > Exploitation of AI model outputs, behavior patterns, or response characteristics to establish hidden communication channels for unauthorized information transmission, data exfiltration, or steganographic messaging. - > AI models can be exploited to create covert communication channels through various mechanisms including steganographic encoding in generated text, images, or other outputs, subtle manipulation of response timing or patterns, exploitation of model randomness or sampling behavior, or encoding information in model confidence scores or attention patterns. - > These attacks can be used to exfiltrate sensitive information from restricted environments, establish command and control channels for malware, bypass network monitoring and data loss prevention systems, or enable unauthorized communication between isolated systems. The covert nature of these channels makes them particularly difficult to detect using traditional security monitoring. - > Advanced covert channel attacks may exploit model artifacts such as embedding spaces, latent representations, or internal model states to hide information. Attackers might also use adversarial techniques to encode data in model outputs that appear normal to human observers but contain hidden information extractable through specific decoding methods. category: risksRuntimeOutputSecurity personas: - personaModelServing - personaAgenticProvider - personaApplicationDeveloper - personaEndUser controls: - controlOutputValidationAndSanitization - controlModelAndDataIntegrityManagement examples: - > Research demonstrates emergent steganographic collusion in LLMs ({{ref:mathew-2024-steganographic-collusion}}) where models trained with misspecified reward incentives spontaneously develop hidden encoding schemes in generated text, undetectable by standard oversight. - > Studies show remote timing attacks on LLM inference ({{ref:carlini-2024-remote-timing-attacks}}) where efficiency optimizations introduce data-dependent timing that leaks conversation topics and PII through encrypted network traffic. tourContent: introduced: - > Covert Channels in Model Outputs are introduced when AI systems lack proper output monitoring, steganography detection, or behavioral analysis capabilities, allowing attackers to exploit model outputs for hidden information transmission. exposed: - > This risk is exposed during model usage when attackers encode hidden information in model outputs, response patterns, or behavioral characteristics, potentially enabling unauthorized data exfiltration or covert communication that bypasses traditional security controls. mitigated: - > Mitigation involves implementing comprehensive output validation and sanitization, deploying steganography detection systems, monitoring for anomalous response patterns, analyzing model behavior for covert channels, and applying randomization techniques to disrupt potential information encoding mechanisms. externalReferences: - type: paper id: mathew-2024-steganographic-collusion title: 'Hidden in Plain Text: Emergence and Mitigation of Steganographic Collusion in LLMs' url: https://arxiv.org/abs/2410.03768 - type: paper id: carlini-2024-remote-timing-attacks title: Remote Timing Attacks on Efficient Language Model Inference url: https://arxiv.org/abs/2410.17175 - id: riskMaliciousLoaderDeserialization title: Malicious Loader/Deserialization shortDescription: - > Unsafe loaders for models and tokenizers that can cause remote code execution or integrity compromise. Malicious Loader/Deserialization poses significant security risks including system compromise and data breaches. longDescription: - > Exploitation of unsafe deserialization processes or malicious model loading mechanisms that can lead to remote code execution, system compromise, or integrity violations when loading AI models, tokenizers, or related artifacts. - > Many AI frameworks use serialization formats like pickle, joblib, or custom binary formats to store and load models, weights, tokenizers, and preprocessing pipelines. These formats can contain executable code that runs during the deserialization process. Attackers can craft malicious model files that execute arbitrary code when loaded, potentially compromising the entire system. - > This risk extends beyond traditional pickle-based attacks to include malicious model architectures, compromised tokenizer configurations, and poisoned preprocessing pipelines. Even seemingly safe formats can be exploited through buffer overflows, path traversal attacks, or by exploiting vulnerabilities in parsing libraries. - > The attack surface is particularly large because model loading often occurs with elevated privileges, and users frequently download models from untrusted sources or model repositories without proper verification. Malicious loaders can also be used to establish persistence, exfiltrate data, or serve as entry points for further attacks on AI infrastructure. - > Modern attacks may also target container images, model serving frameworks, or cloud-based model repositories, making the threat landscape even more complex and requiring comprehensive security measures throughout the model lifecycle. category: risksSupplyChainAndDevelopment personas: - personaPlatformProvider - personaModelServing - personaApplicationDeveloper - personaEndUser controls: - controlInputValidationAndSanitization - controlModelAndDataAccessControls - controlModelAndDataExecutionIntegrity - controlModelAndDataIntegrityManagement - controlSecureByDefaultMLTooling examples: - > Research has demonstrated pickle deserialization attacks ({{ref:trailofbits-2021-pickle-exploitation}}) where malicious model files execute arbitrary code during loading. - > Security researchers have shown weaponized ML models ({{ref:hiddenlayer-2022-weaponizing-ml-ransomware}}) that can deploy ransomware or establish backdoors when loaded by unsuspecting users. - > Studies reveal widespread remote code execution risks in ML model hosting ecosystems ({{ref:siddiq-2026-rce-model-hosting}}) where unsafe deserialization and custom code execution during model loading affect tens of thousands of repositories. tourContent: introduced: - > Malicious Loader/Deserialization risks are introduced when model loading processes use unsafe deserialization methods, lack proper input validation, or fail to verify the integrity and authenticity of model files before loading them into memory. exposed: - > This risk is exposed during model loading and initialization phases when malicious code embedded in model files, tokenizers, or related artifacts is executed, potentially compromising the entire system or infrastructure. mitigated: - > Mitigation involves using secure serialization formats, implementing strict input validation and sanitization, verifying model integrity through cryptographic signatures, sandboxing model loading processes, and using secure-by-default ML tooling that prevents code execution during deserialization. externalReferences: - type: paper id: trailofbits-2021-pickle-exploitation title: 'Never a dill moment: Exploiting machine learning pickle files' url: https://blog.trailofbits.com/2021/03/15/never-a-dill-moment-exploiting-machine-learning-pickle-files/ - type: paper id: hiddenlayer-2022-weaponizing-ml-ransomware title: Weaponizing ML Models with Ransomware url: https://hiddenlayer.com/research/weaponizing-machine-learning-models-with-ransomware/ - type: paper id: siddiq-2026-rce-model-hosting title: An Empirical Study on Remote Code Execution in Machine Learning Model Hosting Ecosystems url: https://arxiv.org/abs/2601.14163 - id: riskToolSourceProvenance title: Tool Source Provenance shortDescription: - > Use of unvetted or unverified tool registries, MCP server manifests, or tool metadata sources that may provide agents with deceptive tool descriptions, altered schemas, or shadowed tool names. longDescription: - > The tool metadata an agent acts on originates in registries, MCP server manifests, and discovery endpoints — governing both which endpoints are admitted as reachable and what the served model knows about the tools available to it. When these sources are adopted without provenance verification, cryptographic signing, or publisher identity validation, the agent may receive deliberately deceptive tool descriptions or schemas. Three gaps widen this exposure: third-party tools that are discovered or registered without any check of the publisher's identity or provenance, registries or manifests that are added without cryptographic signature verification, and a tool-selection step that trusts a tool's described functionality without independently confirming the tool behaves as claimed. - > This risk operates at the tool selection layer, before a prompt is constructed. Unlike {{riskPromptInjection}}, which targets model input processing, {{riskToolSourceProvenance}} targets the trust assumptions in tool discovery. Registry-sourced metadata is treated as authoritative wherever it lands — at the admission decision that enumerates reachable endpoints, and in whatever the served model already knows about available tools — and unvetted sources exploit that trust. - > Attack patterns include Tool Poisoning (malicious logic hidden in tool descriptions), Tool Shadowing and Typosquatting (lookalike tools using similar names or Unicode homoglyphs), and Schema Poisoning (configuration files that alter tool behavior). These were cataloged by Checkmarx in their MCP risk taxonomy (December 2025). - > {{riskToolSourceProvenance}} is structurally analogous to {{riskModelSourceTampering}}, which addresses unvetted model artifacts in the supply chain. Both are provenance failures where untrusted sources are consumed without verification. A successful {{riskToolSourceProvenance}} exploit typically manifests as {{riskRogueActions}} when the agent invokes the wrong tool. category: risksSupplyChainAndDevelopment personas: - personaAgenticProvider - personaApplicationDeveloper controls: - controlModelAndDataIntegrityManagement - controlSecureByDefaultMLTooling - controlAgentPluginPermissions - controlToolRegistryAndDiscoveryIntegrity examples: - > The Checkmarx CxZero MCP Risk Taxonomy ({{ref:checkmarx-2025-mcp-emerging-risks}}) (December 2025) identified Tool Poisoning, Tool Shadowing, and Schema Poisoning as three of the top 11 MCP security risks. - > The NeurIPS 2025 paper "Attractive Metadata Attack" ({{ref:mo-2025-attractive-metadata-attack}}) demonstrated that metadata manipulation alone is sufficient to redirect tool selection in agentic systems, achieving 81-95% attack success rates. tourContent: introduced: - > Tool Source Provenance risk is introduced when tool registries, MCP server manifests, or discovery endpoints are adopted without provenance verification or publisher identity validation. exposed: - > This risk is exposed during tool discovery and selection, when unvetted metadata shapes which endpoints an agent may reach and which tool it selects, on unverified descriptions or schemas. mitigated: - > Mitigation involves cryptographic signing of tool manifests, publisher identity verification, namespace governance to prevent typosquatting, and least-privilege tool access policies. mappings: mitre-atlas: - AML.T0010.001@5.0.1 stride: - Spoofing owasp-top10-llm: - LLM03:2025 - LLM06:2025 lifecycleStage: - development - deployment impactType: - confidentiality - integrity - safety actorAccess: - supply-chain - agent - external externalReferences: - type: editorial id: checkmarx-2025-mcp-emerging-risks title: 11 Emerging AI Security Risks with MCP (Model Context Protocol) url: https://checkmarx.com/zero-post/11-emerging-ai-security-risks-with-mcp-model-context-protocol/ - type: paper id: mo-2025-attractive-metadata-attack title: 'Attractive Metadata Attack: Inducing LLM Agents to Invoke Malicious Tools' url: https://arxiv.org/abs/2508.02110 - id: riskPromptResponseCachePoisoning title: Prompt/Response Cache Poisoning shortDescription: - > Cross-user contamination via shared LLM caches lacking isolation and validation. Prompt/Response Cache Poisoning can lead to information leakage, misinformation propagation, and unauthorized access to cached content. longDescription: - > Malicious manipulation of shared prompt and response caches used by language model systems to optimize performance, resulting in cross-user contamination and potential security breaches. - > Many LLM deployments use caching mechanisms to store frequently accessed prompts and their corresponding responses to reduce computational costs and improve response times. When these caches lack proper isolation, validation, or access controls, attackers can exploit them to inject malicious content, extract sensitive information from other users' sessions, or manipulate responses served to subsequent users. - > Cache poisoning attacks can occur through several vectors: injecting crafted prompts designed to pollute cache entries, exploiting weak cache key generation that allows cache collisions, or compromising cache storage systems directly. The attack becomes particularly dangerous when cached responses contain sensitive information, personal data, or malicious instructions that get served to unintended users. - > This risk is amplified in multi-tenant environments where multiple users or applications share the same caching infrastructure without adequate isolation. Attackers may also exploit cache timing attacks to infer information about cached content or use cache behavior to fingerprint other users' activities. category: risksRuntimeDataSecurity personas: - personaModelServing - personaApplicationDeveloper - personaEndUser controls: - controlModelAndDataAccessControls - controlModelAndDataIntegrityManagement - controlInputValidationAndSanitization - controlOutputValidationAndSanitization - controlUserDataManagement examples: - > Research has shown semantic cache key collision attacks ({{ref:zhang-2026-semantic-cache-collision}}) where crafted prompts can hijack cached LLM responses, serving attacker-controlled content to other users through shared caching mechanisms. - > Studies demonstrate privacy risks in KV-cache systems ({{ref:luo-2025-kv-cache-privacy}}) where user inputs can be reconstructed from plaintext cache contents in multi-tenant LLM serving infrastructure. tourContent: introduced: - > Prompt/Response Cache Poisoning is introduced when caching systems lack proper isolation mechanisms, validation of cached content, or secure cache key generation, allowing malicious actors to manipulate shared cache entries. exposed: - > This risk is exposed during model serving when poisoned cache entries are retrieved and served to users, potentially delivering malicious content, sensitive information, or manipulated responses from previous interactions. mitigated: - > Mitigation involves implementing strong cache isolation per user or tenant, validating cached content integrity, using cryptographically secure cache keys, and applying access controls to prevent unauthorized cache manipulation. externalReferences: - type: paper id: zhang-2026-semantic-cache-collision title: 'From Similarity to Vulnerability: Key Collision Attack on LLM Semantic Caching' url: https://arxiv.org/abs/2601.23088 - type: paper id: luo-2025-kv-cache-privacy title: 'Shadow in the Cache: Unveiling and Mitigating Privacy Risks of KV-cache in LLM Inference' url: https://arxiv.org/abs/2508.09442 - id: riskRetrievalVectorStorePoisoning title: Retrieval/Vector Store Poisoning shortDescription: - > Poisoning retrieval corpora or vector indices to steer RAG outputs. Retrieval/Vector Store Poisoning can compromise the integrity of knowledge retrieval systems and lead to misinformation or malicious content injection. longDescription: - > Malicious modification of retrieval corpora, vector databases, or knowledge bases used in Retrieval-Augmented Generation (RAG) systems to influence model outputs in unintended ways. - > This attack involves injecting poisoned documents, embeddings, or metadata into vector stores or retrieval systems that are used to provide context to language models. When users query the system, the poisoned content gets retrieved and incorporated into the model's response, potentially spreading misinformation, biased content, or malicious instructions. - > Attackers may exploit vulnerabilities in data ingestion pipelines, compromise data sources, or use adversarial techniques to craft documents that rank highly in similarity searches while containing harmful content. The attack can be particularly effective because users often trust retrieved information as factual and authoritative. - > Vector store poisoning can also involve manipulating embedding spaces through adversarial examples that appear semantically similar to legitimate queries but retrieve malicious content, or by exploiting weaknesses in similarity metrics used for retrieval ranking. category: risksRuntimeOutputSecurity personas: - personaPlatformProvider - personaModelServing - personaAgenticProvider - personaApplicationDeveloper - personaEndUser controls: - controlTrainingDataSanitization - controlModelAndDataIntegrityManagement - controlInputValidationAndSanitization - controlOutputValidationAndSanitization - controlRetrievalAndVectorSystemIntegrity examples: - > Researchers have demonstrated adversarial attacks on retrieval systems ({{ref:zhong-2023-retrieval-corpus-poisoning}}) where malicious documents are crafted to rank highly for specific queries while containing harmful content. - > Studies show that poisoning attacks on vector databases ({{ref:long-2024-dense-retrieval-backdoors}}) can successfully manipulate RAG system outputs by injecting adversarial embeddings. tourContent: introduced: - > Retrieval/Vector Store Poisoning is introduced during data ingestion and indexing processes when malicious content is added to knowledge bases, vector stores, or retrieval corpora without proper validation and sanitization. exposed: - > This risk is exposed during retrieval and generation phases when poisoned content is retrieved and incorporated into model responses, potentially spreading misinformation or executing malicious instructions. mitigated: - > Mitigation involves implementing robust data validation and sanitization during ingestion, maintaining data integrity through cryptographic verification, and filtering both inputs and outputs to detect and prevent malicious content retrieval. externalReferences: - type: paper id: zhong-2023-retrieval-corpus-poisoning title: Poisoning Retrieval Corpora by Injecting Adversarial Passages url: https://arxiv.org/abs/2310.19156 - type: paper id: long-2024-dense-retrieval-backdoors title: Backdoor Attacks on Dense Retrieval via Public and Unintentional Triggers url: https://arxiv.org/abs/2402.13532 - id: riskAgentDelegationChainOpacity title: Agent Delegation Chain Opacity shortDescription: - > Multi-hop agent delegation chains become opaque when intermediate agents do not emit structured delegation events, making it impossible to determine which human, agent, or system authorized or performed an action — even when individual authentication steps succeed. longDescription: - > Agentic systems frequently involve multi-hop delegation where one agent acts on behalf of another (or a human) across tools and MCP servers. Agent Delegation Chain Opacity occurs when the delegation chain is cryptographically valid — each hop holds a properly scoped token — but invisible to forensics because intermediate agents do not emit structured delegation events. The root cause is the absence of structured delegation event emission at each hop, not the failure of individual authentication steps. - > This risk extends classical identity federation accountability failures to the agentic domain. In traditional systems, delegation chain integrity is a known challenge: Kerberos constrained delegation struggles with tracing initiators through multiple hops, multi-hop OAuth OBO flows lose the original actor claim when intermediate services fail to propagate it, and RFC 8693 Token Exchange is vulnerable to delegation chain splicing where a compromised intermediary can forge chains that never occurred. The AI-specific amplifier is that agentic orchestration creates delegation chains that are longer, more dynamic, and less predictable than classical flows — agents may spawn sub-agents autonomously based on LLM reasoning, the chain topology is not known at design time, and intermediate agents make non-deterministic decisions about whether and how to delegate. - > The vulnerability manifests through missing or incomplete delegation metadata at the IAM, orchestration, or MCP layers — for example, omitting the original caller, intermediate agents, or token exchange steps in log records. Even when individual agents authenticate correctly, the provenance of a given action becomes opaque if correlation IDs and delegation context are not preserved in immutable, queryable logs. A system is exposed when an agent action does not carry an immutable delegation chain with correlation IDs, when intermediate agents do not emit structured delegation events that downstream consumers and auditors can independently verify, or when the delegation logs are themselves mutable or readable beyond the set of authorized auditors. - > Potential impacts include inability to investigate incidents — the full actor path, from the originating human through each intermediate agent to the tool that acted, cannot be reconstructed after the fact — inability to attribute actions for compliance or forensics, failure to detect broken, shadowed, or otherwise anomalous delegation chains in real time, and inability to perform effective credential revocation for a specific delegation chain. Consequences include accountability failures, regulatory violations, prolonged breach dwell time, and erosion of trust in autonomous agent systems. - > This risk is distinct from {{riskRogueActions}}, which addresses what an agent does wrong; Agent Delegation Chain Opacity addresses the inability to determine who authorized the action. {{riskAgenticDelegationConfusedDeputy}} addresses authorization failure at delegation boundaries; this risk addresses visibility failure across the full chain. {{riskCrossTenantCredentialPropagation}} addresses credential propagation across tenant boundaries, which may be a consequence of delegation chain opacity but is a distinct threat surface. category: risksDeploymentAndInfrastructure personas: - personaAgenticProvider - personaApplicationDeveloper - personaPlatformProvider - personaEndUser controls: - controlAgentObservability - controlAgentIntegrityManagement - controlAgentInventoryManagement examples: - > Palo Alto Networks Unit 42 demonstrated "agent session smuggling" (2025) ({{ref:unit42-2025-agent-session-smuggling}}) in Google's Agent-to-Agent (A2A) protocol, where a malicious remote agent injects hidden instructions during established cross-agent communication sessions. The smuggled instructions trigger unauthorized tool execution while remaining invisible to end users who only see the final consolidated response — the delegation chain is opaque because no mechanism exposes intermediate agent activity or attributes the unauthorized action to the originating malicious agent. tourContent: introduced: - > Introduced during deployment when delegation chain architecture is configured — specifically when orchestration layers, IAM policies, and MCP server configurations do not require structured delegation event emission at each hop. exposed: - > Exposed at runtime when multi-hop agent delegation occurs without correlation ID propagation or structured delegation events. The opacity persists until an incident requires forensic reconstruction of the actor chain, at which point the gap becomes visible. mitigated: - > Mitigated by requiring orchestrators to emit signed delegation spans per hop with correlation IDs, actor identifiers, scope deltas, and timestamps, bound to an append-only store. Real-time detection of missing or out-of-order spans shifts the control from post-incident reconstruction to in-flight chain integrity monitoring. mappings: stride: - Repudiation lifecycleStage: - deployment - runtime - maintenance impactType: - accountability - compliance - integrity actorAccess: - agent - privileged externalReferences: - type: paper id: unit42-2025-agent-session-smuggling title: 'When AI Agents Go Rogue: Agent Session Smuggling Attack in A2A Systems' url: https://unit42.paloaltonetworks.com/agent-session-smuggling-in-agent2agent-systems/ - id: riskStaleAgentIdentityBinding title: Stale Agent Identity Binding shortDescription: - > Agent identity credentials persist unchanged after the underlying model artifact is replaced, allowing a substituted model to operate with the original agent's full permissions because no cryptographic binding ties identity to a specific model version. longDescription: - > In agentic systems, agents are assigned persistent identities with associated credentials and OAuth/MCP tokens granting access to tools and resources. Stale Agent Identity Binding occurs when the underlying model (weights, architecture, or inference endpoint) is replaced without invalidating the agent's credentials or identity. The substituted model inherits the original agent's full privileges because agent identity and model artifact exist on separate infrastructure layers with no cryptographic binding between them. The exposure is present wherever an agent identity is not cryptographically bound to a specific signed model artifact or manifest, wherever a model update or swap does not automatically invalidate or re-scope the agent's credentials, and wherever no runtime attestation of the model artifact precedes tool authorization — leaving no point at which a substitution that occurs after credential issuance would be detected. - > This risk is the AI/agentic extension of classical stale credential binding failures. In Kubernetes, long-lived service account tokens persist after pods are replaced — a new pod running entirely different code inherits the previous workload's identity and RBAC permissions. In container orchestration, mutable image tags allow the artifact behind a tag to be replaced while the service identity persists unchanged. In VM environments, machine clones inherit the original's domain credentials and certificates. The AI-specific amplifier is that agent identity and model artifact are managed by entirely separate infrastructure layers (IAM vs. model serving) with no standard binding mechanism. A model can be swapped through supply-chain compromise, container replacement, or CI/CD manipulation, and the agent's credentials remain valid because the identity layer has no awareness of the artifact layer. - > This risk is distinct from {{riskModelSourceTampering}} and {{riskModelDeploymentTampering}}, which cover the tampering mechanics themselves. Stale Agent Identity Binding covers the identity lifecycle failure that persists after a swap — the agent continues to authenticate with valid credentials regardless of the model behind it. {{riskShadowAndUnknownAgents}} addresses agents that were never registered; this risk addresses registered agents whose identity binding becomes stale after the underlying artifact changes. - > Potential impacts include stealthy behavioral changes (data exfiltration, decision manipulation) under legitimate identity, compromise of connected tools and MCP servers, and accountability failures because actions are attributed to the original authorized model. Consequences include loss of integrity, safety incidents, regulatory violations, and systemic distrust in deployed agentic systems. category: risksDeploymentAndInfrastructure personas: - personaAgenticProvider - personaApplicationDeveloper - personaModelProvider - personaPlatformProvider - personaEndUser controls: - controlModelAndDataIntegrityManagement - controlAgentIntegrityManagement - controlAgentCredentialIsolation - controlComponentIdentityProvenance examples: - > Zhou's framework on governing dynamic AI agent capabilities (2026) ({{ref:zhou-2026-cryptographic-tool-binding}}) frames this as a capability-context separation problem: an agent's capabilities can change after authorization — through silent escalation, underlying model substitution, or runtime behavioral drift — without any mechanism to detect that the identity credentials still authorizing the agent are now bound to a different capability set. The paper proposes cryptographic binding between agent identity and the specific tool set authorized at issuance as the mitigation. tourContent: introduced: - > Introduced during deployment when agent identities are provisioned without cryptographic binding to the specific model artifact they authorize, or when model serving infrastructure permits artifact replacement without triggering credential re-issuance. exposed: - > Exposed at runtime when the underlying model is replaced — through supply-chain compromise, serving infrastructure manipulation, or routine model updates — and the agent continues operating with the original identity and credentials. The stale binding persists through maintenance cycles if re-binding is not part of the update lifecycle. mitigated: - > Mitigated by cryptographic binding of agent identity to specific signed model manifests, runtime attestation of the model artifact before authorizing tool access, and automated credential invalidation on any change to the bound model artifact. mappings: stride: - Spoofing mitre-atlas: - AML.T0012@5.0.1 lifecycleStage: - deployment - runtime - maintenance impactType: - integrity - confidentiality - accountability - compliance actorAccess: - supply-chain - privileged - infrastructure-provider externalReferences: - type: paper id: zhou-2026-cryptographic-tool-binding title: 'Governing Dynamic Capabilities: Cryptographic Binding and Reproducibility Verification for AI Agent Tool Use' url: https://arxiv.org/abs/2603.14332 - id: riskMCPTransportHijacking title: MCP Transport Hijacking shortDescription: - > Transport-layer attacks on MCP connections — including man-in-the-middle, session hijacking, DNS rebinding, and replay — intercept or modify agent-to-tool communication because the MCP specification does not mandate transport encryption or mutual authentication. longDescription: - > The Model Context Protocol enables agents to discover and invoke tools by communicating with MCP servers over HTTP or stdio. MCP Transport Hijacking occurs when these connections lack transport-layer protections, allowing attackers to intercept, modify, or replay messages between the agent and the tool server. - > This risk extends classical transport-layer attacks to the MCP protocol. TLS stripping, man-in-the-middle interception, and DNS rebinding against locally-running services are well-documented attack patterns. The AI-specific amplifier is that the MCP specification (2025-11-25) does not mandate TLS for Streamable HTTP connections, uses "SHOULD" rather than "MUST" for authentication and localhost binding, and provides zero transport security for the stdio transport. Agents autonomously connect to MCP servers discovered at runtime without human verification of transport security properties. Session identifiers transmitted in HTTP headers are exposed to interception without mandatory TLS. - > Attack vectors include man-in-the-middle on unencrypted or weakly configured MCP connections, DNS rebinding against locally-running MCP servers (acknowledged in the MCP specification's own Security Warning), replay of captured JSON-RPC messages, and session hijacking via intercepted session identifiers. Each of these vectors exploits a gap in transport-layer protection: connections that do not enforce mutual TLS, session tokens that are not bound to transport-layer identifiers, sessions that are long-lived or that lack replay protection, and servers that do not validate the Origin header on incoming connections to block DNS rebinding. - > This risk is distinct from {{riskInsecureIntegratedComponent}}, which covers vulnerabilities within MCP server implementations (e.g., path traversal). This risk covers the transport channel between agent and server. It is distinct from {{riskOrchestratorRouteHijacking}}, which covers routing and configuration manipulation. It is distinct from {{riskToolRegistryTampering}}, which covers integrity of tool registration and discovery. - > Potential impacts include theft of tool schemas and sensitive data flowing between agents and tools, injection of malicious tool responses, unauthorized execution of agent actions, and compromise of the entire agent workflow. The breach may be difficult to detect because the agent identity remains valid while its communication channel is compromised. category: risksDeploymentAndInfrastructure personas: - personaAgenticProvider - personaApplicationDeveloper - personaPlatformProvider - personaEndUser controls: - controlSecureByDefaultMLTooling - controlInterComponentTransportSecurity - controlComponentIdentityProvenance examples: - > The MCP specification (2025-11-25) ({{ref:mcp-spec-2025-11-25-transports}}) includes a Security Warning acknowledging DNS rebinding as an attack vector against local MCP servers. Authentication and localhost binding are "SHOULD" rather than "MUST" requirements, TLS is not mandated for Streamable HTTP connections, and the stdio transport provides zero transport security. These protocol-level gaps make transport hijacking a design-level concern, not just an implementation oversight. - > The MCP specification's backward compatibility section advises that servers wanting to support older clients "continue to host both the SSE and POST endpoints of the old transport, alongside the new MCP endpoint." The deprecated HTTP+SSE transport placed session identifiers in URL parameters, exposing them in server logs, browser history, and proxy logs. Deployments following this backward compatibility guidance inherit the weaker transport's attack surface. tourContent: introduced: - > Introduced during deployment when MCP connections are configured without mandatory TLS, mutual authentication, or origin validation — particularly when MCP servers run locally or in environments where agents connect to third-party endpoints. exposed: - > Exposed at runtime when an attacker intercepts, modifies, or replays MCP messages on the transport channel. DNS rebinding attacks target locally-running MCP servers from remote websites. mitigated: - > Mitigated by enforcing mutual TLS for all MCP connections, binding session tokens to transport-layer identifiers, validating Origin headers on all incoming connections, restricting local servers to localhost binding, and implementing replay protection with short-lived sessions. mappings: stride: - Tampering - InformationDisclosure lifecycleStage: - deployment - runtime impactType: - confidentiality - integrity actorAccess: - external - agent externalReferences: - type: spec id: mcp-spec-2025-11-25-transports title: 'Model Context Protocol specification (2025-11-25): Transports' url: https://modelcontextprotocol.io/specification/2025-11-25/basic/transports - id: riskShadowAndUnknownAgents title: Shadow and Unknown Agents shortDescription: - > Unregistered agents operate with inherited or valid credentials outside identity lifecycle controls, creating persistent blind spots in agentic systems. longDescription: - > In dynamic agentic environments, agents can be created ad-hoc or spawned through orchestration layers without central registration. Shadow and Unknown Agents describes the risk when these unregistered agents retain or inherit credentials and tokens, allowing them to interact with tools and MCP servers undetected. This breaks the identity lifecycle and creates persistent blind spots in monitoring, attribution, and revocation. - > This risk is the AI-specific extension of two classical security challenges: Shadow IT (unauthorized systems operating outside governance processes) and orphaned account management (failure to tombstone decommissioned credentials). The key AI-specific amplifier is that orchestration layers can dynamically spawn credentialed agents without human approval — a capability with no direct classical equivalent. - > The vulnerability arises from incomplete provisioning controls, credential reuse across sessions, or weak network isolation. Attack vectors include compromised orchestration components that spawn hidden agents and failure to decommission old agent instances (creating "zombie" agents). Supply-chain injection of backdoored agent templates is a related vector addressed by {{riskToolSourceProvenance}} and {{riskToolRegistryTampering}}; this risk covers the downstream identity lifecycle failure when such agents persist undetected. The exposure is present where agents receive credentials without first registering with a central identity service, where there is no runtime mechanism to detect and block actions from unregistered or decommissioned agents, where credentials are reused across ephemeral agents, and where an orchestration layer that spawns a new agent passes credentials down by inheritance rather than issuing fresh, individually attested ones. - > The insider threat dimension is also relevant: a compromised or rogue insider can create shadow agents that persist beyond their own access revocation, analogous to classical insider threats via undocumented service accounts or orphaned API keys. - > Potential impacts include stealthy data exfiltration, unauthorized actions across tenants, and long-term attacker persistence. Consequences include accountability gaps (actions cannot be reliably attributed), compliance violations, and increased difficulty in incident response. - > {{riskZombieShadowMCPServers}} addresses decommissioned tool server endpoints; this risk addresses unregistered agent identities. Both share the lifecycle management failure mode but differ in the entity type affected. category: risksDeploymentAndInfrastructure personas: - personaAgenticProvider - personaApplicationDeveloper - personaPlatformProvider - personaEndUser controls: - controlSecureByDefaultMLTooling - controlAgentObservability - controlAgentInventoryManagement - controlAgentIntegrityManagement - controlAgentCredentialIsolation examples: - > A Gartner survey of 302 cybersecurity leaders (2025) ({{ref:gartner-2025-genai-blind-spots-press-release}}) found that 69% of organizations suspect or have evidence that employees are using prohibited public GenAI. Gartner predicts that by 2030, more than 40% of enterprises will experience security or compliance incidents linked to unauthorized shadow AI. tourContent: introduced: - > Introduced during deployment when orchestration layers or development teams create agents without central registration, or when provisioning controls do not require identity lifecycle enrollment before credential issuance. exposed: - > Exposed at runtime when unregistered agents interact with tools, MCP servers, or other agents using inherited or shared credentials. The exposure persists through maintenance cycles when decommissioning processes fail to revoke credentials for retired agents. mitigated: - > Mitigated by central agent inventory management requiring registration before credential issuance, cryptographic attestation of agent identity, runtime detection of unregistered agents, and automated credential revocation on lifecycle state changes. mappings: stride: - Spoofing - Repudiation mitre-atlas: - AML.T0012@5.0.1 lifecycleStage: - deployment - runtime - maintenance impactType: - confidentiality - integrity - accountability - compliance actorAccess: - agent - privileged - supply-chain - infrastructure-provider externalReferences: - type: editorial id: gartner-2025-genai-blind-spots-press-release title: Gartner Identifies Critical GenAI Blind Spots That CIOs Must Urgently Address url: https://www.gartner.com/en/newsroom/press-releases/2025-11-19-gartner-identifies-critical-genai-blind-spots-that-cios-must-urgently-address0 - id: riskRunawayAgentToolLoops title: Runaway Agent Tool Loops shortDescription: - > Agents enter uncontrolled recursive tool-calling cycles at the orchestration layer, exhausting context windows, compute resources, and API budgets through emergent autonomous behavior or adversarial trigger. longDescription: - > In agentic systems, autonomous agents invoke tools in sequence or recursively based on LLM reasoning. Runaway Agent Tool Loops occur when agents enter uncontrolled tool-calling cycles because termination conditions are absent, broken, or never satisfied. The primary failure mode is emergent: agents that loop because validation functions never return satisfying results, max_turns defaults are not set, or tool responses trigger further reasoning without convergence. No adversary is required. - > This risk extends classical infinite loop and fork bomb patterns to the agentic domain. In traditional systems, runaway processes are constrained by watchdog timers, process resource limits (ulimit, cgroups), and OS-level scheduling. The AI-specific amplifier is that LLM-driven agents make non-deterministic decisions about when to stop, and each tool call generates reasoning traces and tool response pairs that accumulate in the context window. The loop degrades the agent's ability to reason about stopping even as it continues — context-window saturation creates a feedback loop where the agent can no longer process enough history to recognize it should terminate. - > This risk is distinct from {{riskEconomicDenialOfWallet}}, which addresses adversarial resource exhaustion at the API billing layer through attacks on pricing models and billing mechanisms. Runaway Agent Tool Loops addresses autonomous agent behavior at the MCP orchestration layer, where impacts include context-window exhaustion (task fails silently or incompletely), availability degradation for co-tenants, and safety failures in time-sensitive systems — impacts with no financial dimension. Prompt injection can trigger runaway loops (see {{riskPromptInjection}}), but the underlying vulnerability is the absence of loop bounds at the orchestration layer: deployments that do not enforce per-agent, per-session, or per-tool-call resource budgets and rate limits, that allow recursive or deeply nested tool chains without an automatic bound or a human-approval checkpoint, that rely on MCP servers unable to reject or throttle requests based on cumulative context or cost, and that do not monitor for context-window saturation during tool-calling sequences. - > Potential impacts include context-window exhaustion leading to silent task failure, massive unexpected costs, service degradation for other users on shared infrastructure, and safety risks when time-sensitive agent tasks are delayed or never complete. Consequences range from financial damage to availability failures and loss of trust in autonomous agent systems. category: risksRuntimeInputSecurity personas: - personaAgenticProvider - personaApplicationDeveloper - personaPlatformProvider - personaEndUser controls: - controlAgentObservability - controlAgentExecutionBounds examples: - > The Microsoft AutoGen infinite loop issue (#108) ({{ref:github-autogen-infinite-loops-issue-108}}) documented agents entering infinite tool-calling cycles because the termination condition checked for exact "TERMINATE" text, but agents generated variations that never matched. The loop continued until OpenAI rate limits triggered. No adversary was involved — the failure was emergent from a broken termination function, demonstrating the autonomous failure mode that distinguishes this risk from adversarial cost-spike attacks. tourContent: introduced: - > Introduced during deployment when agent orchestration frameworks are configured without default tool-call limits, context-window budgets, or termination condition validation. exposed: - > Exposed at runtime when an agent enters a recursive tool-calling cycle that consumes context window, compute, and API budget without converging on a result or triggering a termination condition. mitigated: - > Mitigated by enforcing per-agent, per-session, and per-tool-call resource budgets; setting mandatory max_turns defaults in orchestration frameworks; monitoring for context-window saturation and loop patterns; and implementing circuit breakers that halt agent execution when cumulative resource thresholds are exceeded. mappings: stride: - DenialOfService owasp-top10-llm: - LLM10:2025 lifecycleStage: - runtime impactType: - availability - safety actorAccess: - agent externalReferences: - type: editorial id: github-autogen-infinite-loops-issue-108 title: 'Microsoft AutoGen Issue #108: Infinite Loops with GPT-4' url: https://github.com/microsoft/autogen/issues/108 - id: riskAgenticDelegationConfusedDeputy title: Agentic Delegation Confused Deputy shortDescription: - > A high-privilege agent acts on behalf of a less-privileged caller without validating the caller's authorization at the delegation boundary, allowing the caller to escalate privileges through the deputy's own permissions. longDescription: - > In agentic systems, agents with elevated privileges frequently act on behalf of other agents, users, or external inputs through delegation mechanisms such as OAuth token exchange and MCP tool invocation. The Agentic Delegation Confused Deputy occurs when a high-privilege agent (the deputy) performs an action that the caller could not do directly, because the deputy does not validate the caller's authorization at the delegation boundary. The deputy uses its own permissions without distinguishing the caller's authority from its own. - > This risk is a direct extension of the classical confused deputy problem, first identified by Norm Hardy in 1988 when a compiler with file system privileges was tricked into overwriting its billing file by a user who supplied a system path as the output filename. The pattern recurs across computing eras: CSRF exploits the browser as a confused deputy (using session cookies on behalf of a malicious cross-origin caller), and AWS cross-account role assumption ({{ref:aws-iam-confused-deputy}}) without ExternalId validation allows a third-party vendor to be tricked into assuming a victim's IAM role. The AI-specific amplifier is threefold: (1) the deputy's capability set expands dynamically at runtime via MCP server discovery, making the attack surface unpredictable; (2) the deputy autonomously decides which tools to invoke based on LLM reasoning, not static dispatch; (3) multi-hop delegation can chain multiple confused deputies, amplifying the privilege escalation. - > Attack vectors include indirect prompt injection via user-submitted data, poisoned MCP tool descriptions, crafted tool responses, and legitimate-looking API calls from less-privileged agents. The trigger mechanism varies (see {{riskPromptInjection}} for injection attacks specifically), but the underlying vulnerability is the same: the deputy does not check the caller's authorization scope before acting, and cannot distinguish that scope from its own when it selects which tools to invoke. The exposure persists wherever a delegation step does not enforce least-privilege narrowing together with an explicit caller-authorization check, wherever confused-deputy protections are applied at only one of the IAM and MCP layers rather than both, and wherever there is no runtime detection of an agent executing an action that exceeds the caller's authorization scope. - > This risk is distinct from {{riskRogueActions}}, which covers unintended agent actions broadly (accidental and malicious). The confused deputy specifically addresses the authorization failure at delegation boundaries — the caller could not perform the action directly, but the deputy does it using its own permissions. Rogue actions can occur in single-agent systems; the confused deputy requires asymmetric privilege across a delegation boundary. {{riskAgentDelegationChainOpacity}} addresses the inability to see who authorized an action; this risk addresses the failure to check whether the caller was authorized. - > Potential impacts include unauthorized data access across trust boundaries, financial transactions executed on behalf of unauthorized callers, infrastructure modifications, and privilege escalation chains in multi-agent systems. Consequences include accountability failures, regulatory non-compliance, and amplified blast radius when the deputy's permissions span multiple services or tenants. category: risksDeploymentAndInfrastructure personas: - personaAgenticProvider - personaApplicationDeveloper - personaPlatformProvider - personaEndUser controls: - controlSecureByDefaultMLTooling - controlAgentPluginPermissions - controlAgentObservability examples: - > In the Supabase/Cursor data exfiltration (2025) ({{ref:generalanalysis-2026-supabase-mcp}}), a developer's Cursor IDE agent connected to Supabase using service_role credentials that bypassed all Row-Level Security. An attacker embedded SQL exfiltration commands in a support ticket. When the agent summarized tickets, it executed the attacker's commands with its elevated permissions, exfiltrating OAuth secrets the ticket author could never access directly — a textbook confused deputy where the agent used its own root-level database access without validating the caller's authorization. - > In the Invariant Labs WhatsApp MCP exploit (2025) ({{ref:invariantlabs-2025-whatsapp-mcp-exploited}}), a malicious MCP server poisoned its tool descriptions with hidden instructions targeting a co-installed WhatsApp MCP server. The agent — which had legitimate WhatsApp send authority — exfiltrated chat history to an attacker-controlled number. The malicious server had no WhatsApp access of its own; it exploited the agent as a confused deputy to launder its requests through the agent's cross-server authority. tourContent: introduced: - > Introduced during deployment when agent delegation boundaries are configured without caller authorization validation — specifically when high-privilege agents accept delegation requests without verifying whether the caller's authority matches the requested action's privilege level. exposed: - > Exposed at runtime when a less-privileged caller (another agent, external input, or low-privilege user) submits a request that the high-privilege deputy fulfills using its own permissions. The deputy cannot distinguish the caller's authorization scope from its own. mitigated: - > Mitigated by enforcing caller authorization validation at every delegation boundary, scoping the deputy's effective permissions to the intersection of its own permissions and the caller's authorization, and applying least-privilege narrowing at each delegation hop. mappings: stride: - ElevationOfPrivilege - Spoofing mitre-atlas: - AML.T0053@5.0.1 owasp-top10-llm: - LLM06:2025 lifecycleStage: - deployment - runtime impactType: - confidentiality - integrity - accountability - compliance actorAccess: - agent - external - user externalReferences: - type: spec id: aws-iam-confused-deputy title: 'AWS IAM User Guide: The confused deputy problem' url: https://docs.aws.amazon.com/IAM/latest/UserGuide/confused-deputy.html - type: paper id: generalanalysis-2026-supabase-mcp title: Supabase MCP can leak your entire SQL database url: https://generalanalysis.com/blog/supabase-mcp-blog - type: paper id: invariantlabs-2025-whatsapp-mcp-exploited title: 'WhatsApp MCP Exploited: Exfiltrating your message history via MCP' url: https://invariantlabs.ai/blog/whatsapp-mcp-exploited - id: riskCrossTenantCredentialPropagation title: Cross-Tenant Credential Propagation shortDescription: - > Shared or insufficiently tenant-scoped agent credentials allow a compromise in one tenant to propagate access across tenant boundaries through the identity layer. longDescription: - > Multi-tenant agentic platforms frequently share infrastructure components across tenants for efficiency — base models, credential pools, MCP tool server endpoints, and OAuth token caches. Cross-Tenant Credential Propagation occurs when agent identities or credentials are not strictly scoped to individual tenants, allowing a compromise in one tenant to authenticate to another tenant's resources through the shared identity layer. - > This risk extends what the Cloud Security Alliance identifies as "Insufficient Identity, Credential, and Access Management" — a top cloud threat — to the agentic domain. Multi-tenant SaaS systems have long struggled with shared service accounts, wildcard TLS certificates, shared OAuth client credentials, and connection pool credentials that cross tenant boundaries. CWE-653 (Insufficient Compartmentalization) captures the general pattern of failing to isolate security domains. The AI-specific amplifier is that agentic platforms additionally share model serving endpoints, MCP tool registries, and OAuth token pools across tenants, and the dynamic nature of agent delegation means a compromised credential can propagate through delegation chains across tenant boundaries — agents autonomously use credentials without human verification at each hop. - > The vulnerability arises from insufficient tenant scoping at the agent identity layer: shared OAuth client credentials, MCP tokens that are valid across tenants, or agent identity pools that serve multiple organizations. A compromise in one tenant — through credential theft, infrastructure exploitation, or insider access — yields credentials that work across tenant boundaries because nothing restricts their scope to the originating tenant. The exposure is present wherever agent identities are not strictly scoped to a single tenant, wherever credential pools, OAuth token caches, and MCP server endpoints are shared rather than isolated per tenant, and wherever tenant-boundary validation is not enforced at every MCP hop and delegation step — any of which lets a compromise confined to one tenant reach another tenant's resources. - > This risk is distinct from {{riskAcceleratorAndSystemSideChannels}}, which covers hardware-layer cross-tenant leakage (timing, cache, speculative execution). It is also distinct from {{riskPromptResponseCachePoisoning}}, which covers cross-user contamination via shared LLM caches. This risk specifically addresses the identity and credential layer — shared or unscoped credentials that allow authentication across tenant boundaries. - > Potential impacts include widespread data breaches spanning multiple tenants, unauthorized cross-tenant actions, intellectual property theft, and complete breakdown of multi-tenancy guarantees. Consequences include major compliance violations (GDPR, SOC 2), loss of customer trust, and systemic risk across the shared platform. category: risksDeploymentAndInfrastructure personas: - personaAgenticProvider - personaApplicationDeveloper - personaPlatformProvider - personaEndUser controls: - controlSecureByDefaultMLTooling - controlAgentPluginPermissions - controlIsolatedConfidentialComputing - controlAgentCredentialIsolation examples: - > The Asana MCP cross-tenant data exposure (2025) ({{ref:bleepingcomputer-2025-asana-mcp-data-exposure}}) demonstrated this pattern directly in the agentic domain: a logic flaw in Asana's MCP server feature exposed data from one organization's instance to other organizations' MCP users for approximately 1,000 customers, because tenant context was not maintained across MCP sessions. - > Wiz researchers discovered the BingBang vulnerability (2023) ({{ref:wiz-2023-bingbang-aad-misconfiguration}}) affecting approximately 25% of Azure AD multi-tenant application registrations, which accepted valid OAuth tokens from any Azure tenant without checking the tenant ID claim. A token issued for an attacker's tenant was accepted by apps belonging to other tenants, including Microsoft's internal Bing management applications — a cross-tenant credential propagation through the identity layer where the credential itself was valid across tenant boundaries. - > In the UNC6395/Salesloft Drift breach (2025) ({{ref:valencesecurity-2025-salesforce-oauth-breach}}), a threat actor compromised Salesloft's infrastructure and stole per-customer OAuth tokens that Drift stored for approximately 700 Salesforce organizations. Each bearer token granted direct Salesforce API access bypassing MFA — a single compromise of a multi-tenant intermediary's centralized credential store yielded cross-tenant access through the identity layer. tourContent: introduced: - > Introduced during deployment when agent identities, credential pools, or MCP server endpoints are configured to serve multiple tenants without strict tenant-scoped isolation at the identity layer. exposed: - > Exposed at runtime when a compromise in one tenant (credential theft, infrastructure exploitation, or insider access) yields credentials that authenticate to other tenants' resources because the credentials are not tenant-scoped. mitigated: - > Mitigated by issuing strictly tenant-scoped agent credentials with no cross-tenant validity, enforcing tenant boundary validation at every MCP hop and delegation step, and isolating credential pools, token caches, and MCP endpoints per tenant. mappings: stride: - ElevationOfPrivilege - InformationDisclosure mitre-atlas: - AML.T0012@5.0.1 - AML.T0055@5.0.1 owasp-top10-llm: - LLM06:2025 lifecycleStage: - deployment - runtime impactType: - confidentiality - integrity - compliance - privacy actorAccess: - agent - privileged - infrastructure-provider externalReferences: - type: news id: bleepingcomputer-2025-asana-mcp-data-exposure title: Asana warns MCP AI feature exposed customer data to other orgs url: https://www.bleepingcomputer.com/news/security/asana-warns-mcp-ai-feature-exposed-customer-data-to-other-orgs/ - type: editorial id: valencesecurity-2025-salesforce-oauth-breach title: 'Salesforce OAuth Token Breach: What Every Security Team Must Know' url: https://www.valencesecurity.com/resources/blogs/salesforce-oauth-token-breach-what-every-security-team-must-know - type: paper id: wiz-2023-bingbang-aad-misconfiguration title: 'BingBang: AAD misconfiguration led to Bing.com results manipulation and account takeover' url: https://www.wiz.io/blog/azure-active-directory-bing-misconfiguration - id: riskZombieShadowMCPServers title: Zombie / Shadow MCP Servers shortDescription: - > Decommissioned or unregistered MCP servers remain accessible and respond to agent tool calls, allowing attackers to intercept or redirect legitimate requests. longDescription: - > MCP servers expose tools to agents and are frequently created, scaled, or retired during operations. Zombie / Shadow MCP Servers occur when decommissioned servers are not fully removed from service discovery, DNS, load balancers, or tool registries, leaving stale endpoints that remain responsive to agent connections. An attacker who claims the abandoned endpoint receives all tool calls that agents route to it. - > This risk is the agentic extension of dangling DNS and subdomain takeover — a well-documented vulnerability pattern ({{ref:owasp-wstg-4-2-10-subdomain-takeover}}) where orphaned DNS records to decommissioned cloud services allow attackers to claim abandoned resources and intercept traffic. The AI-specific amplifier is that agents autonomously discover and invoke tool servers without human verification at each call. In classical systems, a developer would notice a stale API endpoint returning unexpected responses; in agentic systems, the agent silently processes the zombie server's responses as legitimate tool output, potentially poisoning reasoning chains that influence downstream actions. - > Transport security alone does not close this gap: an attacker who controls DNS for a stale endpoint can obtain a valid ACME-issued certificate, and mTLS will authenticate them as a "valid" server. Transport security works as specified — the missing layer is provenance binding to the registered principal. This is why the risk requires a registry-bound provenance control ({{controlComponentIdentityProvenance}}) in addition to transport security and inventory management. - > The vulnerability stems from incomplete lifecycle management: tool server entries persist in registries, DNS, or agent configurations after the legitimate server is decommissioned. Dynamic discovery mechanisms that do not require runtime attestation or liveness verification exacerbate the risk — agents trust registry presence as proof of legitimacy. The exposure is present where an MCP server can become discoverable without registering under cryptographic attestation, where decommissioning does not guarantee complete removal from every discovery mechanism (registry, DNS, load balancer, and agent configuration alike), where agents do not re-verify a tool server's liveness and identity at invocation time rather than trusting the discovery-time record, and where nothing automatically detects and blocks calls routed to decommissioned or unverified endpoints. - > This risk is distinct from {{riskToolSourceProvenance}}, which addresses adopting unvetted tool sources — zombie servers were previously vetted and legitimate. It is distinct from {{riskToolRegistryTampering}}, which addresses active modification of registry entries — zombie servers involve stale entries that were never cleaned up. It is distinct from {{riskInsecureIntegratedComponent}}, which addresses vulnerabilities in running tool implementations — zombie servers involve the absence of a legitimate tool at an endpoint now controlled by an attacker. {{riskShadowAndUnknownAgents}} addresses unregistered agent identities; this risk addresses decommissioned tool server endpoints. - > Potential impacts include stealthy interception of tool calls, injection of malicious schemas or responses, data exfiltration from agent interactions, and persistent attacker access long after official decommissioning. Consequences include undetected breaches, compliance failures, and erosion of trust in the agentic infrastructure. category: risksDeploymentAndInfrastructure personas: - personaAgenticProvider - personaApplicationDeveloper - personaPlatformProvider - personaEndUser controls: - controlAgentObservability - controlAgentInventoryManagement - controlInterComponentTransportSecurity - controlComponentIdentityProvenance examples: - > Dangling DNS and subdomain takeover is a well-documented vulnerability pattern (OWASP) ({{ref:owasp-wstg-4-2-10-subdomain-takeover}}) where orphaned DNS CNAME records to decommissioned cloud services allow attackers to claim the abandoned resource and intercept all traffic. The MCP equivalent: a tool registry entry persists after server decommissioning, and an attacker claims the stale endpoint URL — agents route tool calls to the attacker automatically because they trust registry presence without runtime liveness verification. - > ACME certificate authorities (e.g., Let's Encrypt) automate issuance of domain-validated certificates based solely on control of the DNS record at issuance time. An attacker who claims a decommissioned subdomain can obtain a valid ACME certificate within minutes, and mTLS between agent and the reclaimed endpoint will succeed. Transport security is not broken in this scenario — it is working exactly as specified. The missing control is runtime attestation that the authenticated key holder is the currently registered, non-revoked principal for the role, not merely the holder of a key bound to the domain. tourContent: introduced: - > Introduced during deployment when MCP servers are provisioned and registered in tool registries, DNS, or agent configurations. exposed: - > Exposed at runtime when decommissioned servers are not fully removed from all discovery mechanisms. Agents continue calling stale endpoints because registry presence implies legitimacy. The exposure persists through maintenance cycles when decommissioning processes are incomplete. mitigated: - > Mitigated by requiring cryptographic attestation and runtime liveness verification for all MCP server endpoints, automating removal from all discovery mechanisms on decommission, and monitoring for agent calls to unresponsive or unverified endpoints. mappings: stride: - Spoofing - Tampering - InformationDisclosure mitre-atlas: - AML.T0010.001@5.0.1 owasp-top10-llm: - LLM03:2025 lifecycleStage: - deployment - runtime - maintenance impactType: - confidentiality - integrity actorAccess: - external - supply-chain externalReferences: - type: spec id: owasp-wstg-4-2-10-subdomain-takeover title: 'OWASP Web Security Testing Guide 4.2.10: Test for Subdomain Takeover' url: https://owasp.org/www-project-web-security-testing-guide/latest/4-Web_Application_Security_Testing/02-Configuration_and_Deployment_Management_Testing/10-Test_for_Subdomain_Takeover