---
title: "OWASP Top 10 for LLM and Agentic Applications: Security Beyond the Prompt"
description: The OWASP 2026 lists cover 20 security risks across LLM and agentic applications - from prompt injection and data poisoning to rogue agents and cascading failures. Here is a walkthrough of what each category means and how to test for it.
image: https://hepapi.com/hubfs/owasp-top-10-llm-agentic-applications-security-1600.webp
---

[Skip to content](https://hepapi.com/blog/owasp-top-10-for-llm-and-agentic-applications-security-beyond-the-prompt#main-content)

[![hepapi-logo](https://hepapi.com/hubfs/hepapi-logo.svg)](https://hepapi.com/)

- [About Us](https://hepapi.com/about-us)
  
  Show submenu for About Us 
  
    - [Career](https://hepapi.com/career)
- [Services](https://hepapi.com/services)
  
  Show submenu for Services 
  
    - [Cloud Services](https://hepapi.com/cloud-services)
      
      Show submenu for Cloud Services 
      
          - [AWS Lambda](https://hepapi.com/services/aws-lambda)
          - [Amazon Relational Database Service](https://hepapi.com/services/aws-rds)
          - [AWS Elastic Kubernetes Service (EKS)](https://hepapi.com/aws-elastic-kubernetes-service-eks)
          - [AWS WAF](https://hepapi.com/services/aws-waf)
    - [DevOps Services](https://hepapi.com/services/devops)
    - [Enterprise AI Solutions](https://hepapi.com/services/enterprise-ai-solutions)
      
      Show submenu for Enterprise AI Solutions 
      
          - [Sandbox](https://hepapi.com/services/enterprise-ai-solutions/sandbox)
    - [Software QA Services](https://hepapi.com/services/software-qa)
      
      Show submenu for Software QA Services 
      
          - [TMS](https://hepapi.com/partnerships/tms)
    - [Application Modernization](https://hepapi.com/services/application-modernization)
- [Partnerships](https://hepapi.com/partnerships)
  
  Show submenu for Partnerships 
  
    - [AWS](https://hepapi.com/partnerships/aws)
    - [Suse Rancher](https://hepapi.com/partnerships/suse-rancher)
    - [SonarQube](https://hepapi.com/partnerships/sonarqube)
    - [Dynatrace](https://hepapi.com/partnerships/dynatrace)
    - [Testrail](https://hepapi.com/partnerships/testrail)
- Resources
  
  Show submenu for Resources 
  
    - [Knowledge Hub](https://hepapi.github.io/knowledge-hub/)
    - [Blog](https://hepapi.com/blog)

Open main navigation

Close main navigation

- [About Us](https://hepapi.com/about-us)
  
  Show submenu for About Us 
  
    - [Career](https://hepapi.com/career)
- [Services](https://hepapi.com/services)
  
  Show submenu for Services 
  
    - [Cloud Services](https://hepapi.com/cloud-services)
      
      Show submenu for Cloud Services 
      
          - [AWS Lambda](https://hepapi.com/services/aws-lambda)
          - [Amazon Relational Database Service](https://hepapi.com/services/aws-rds)
          - [AWS Elastic Kubernetes Service (EKS)](https://hepapi.com/aws-elastic-kubernetes-service-eks)
          - [AWS WAF](https://hepapi.com/services/aws-waf)
    - [DevOps Services](https://hepapi.com/services/devops)
    - [Enterprise AI Solutions](https://hepapi.com/services/enterprise-ai-solutions)
      
      Show submenu for Enterprise AI Solutions 
      
          - [Sandbox](https://hepapi.com/services/enterprise-ai-solutions/sandbox)
    - [Software QA Services](https://hepapi.com/services/software-qa)
      
      Show submenu for Software QA Services 
      
          - [TMS](https://hepapi.com/partnerships/tms)
    - [Application Modernization](https://hepapi.com/services/application-modernization)
- [Partnerships](https://hepapi.com/partnerships)
  
  Show submenu for Partnerships 
  
    - [AWS](https://hepapi.com/partnerships/aws)
    - [Suse Rancher](https://hepapi.com/partnerships/suse-rancher)
    - [SonarQube](https://hepapi.com/partnerships/sonarqube)
    - [Dynatrace](https://hepapi.com/partnerships/dynatrace)
    - [Testrail](https://hepapi.com/partnerships/testrail)
- Resources
  
  Show submenu for Resources 
  
    - [Knowledge Hub](https://hepapi.github.io/knowledge-hub/)
    - [Blog](https://hepapi.com/blog)
- [Contact us](https://hepapi.com/contact-us)

[Contact us](https://hepapi.com/contact-us)

[All posts](https://hepapi.com/blog/all)

 December 1, 2026

# OWASP Top 10 for LLM and Agentic Applications: Security Beyond the Prompt

![Picture of Asaf Emre Öztürk](https://hepapi.com/hs-fs/hubfs/Asaf_hubspot_1x1.jpg?width=50&name=Asaf_hubspot_1x1.jpg)    Asaf Emre Öztürk  ·   8 minute read

An LLM app could start off as fairly mundane: someone asks a question, the model processes it and returns an answer. The security issues are there from the outset. What data gets to the model? Could it leak data that should be confidential? What if the app just takes the model's output at face value without any verification?

Giving the model access to tools changes the game. It could read a GitHub issue; it could update a database; it could send an email; it could run a shell command. Some agents will also have state between sessions and will be able to delegate to other agents.

I've been going through the two OWASP security lists for 2026. One is the LLM list (LLM01 to LLM10) and the other is the agentic list (ASI01 to ASI10). They're related, but they're not one list. The risks associated with the input and output of a model are very different from the risks that are introduced when that model starts to actually do things.

 

#### LLM applications: the risks around the model

Prompt injection (LLM01) is probably the most well known example. The attacker inserts the instructions into the content that the model is processing. That could be a user message, an email, a web page or a document retrieved via RAG. The GM chatbot incident in December 2023 was a rather unusual example in that a user managed to get the bot to agree to a $1 offer for a Tahoe. The sale didn't go through but the chat did demonstrate how easily the bot could be coaxed away from its intended function.

RAG brings in another issue. The assistant might pull a document to answer a question, and that document might contain instructions which were never intended to be followed. The Slack AI vulnerability in 2024 is a case in point, where content in a public channel was used to influence retrieval and result in the exposure of content from a private channel. This is directly relevant to both **LLM02 (Sensitive Information Disclosure)** and **LLM09 (Vector and Embedding Weaknesses)**. The vector store is part of the data access layer and tenant separation and document permissions need to be enforced at that layer too. If a document is removed then its chunks, its embeddings and its cached copies should all be removed as well.

Not every data leak is the result of prompt injection. In 2023 there was a ChatGPT caching bug which resulted in payment details for a number of Plus subscribers being exposed. In January 2025 Wiz reported an exposed DeepSeek database which contained over a million lines of logs and API keys. These are different scenarios, but both underline the point that the infrastructure surrounding an LLM is just as important to secure as the model itself.

The content of the model's context can also be exposed. LLM08 (Hidden Context Exposure) covers system prompts, developer instructions, internal policies and tool definitions. The Bing Chat prompt leak incidents in 2023 are a case in point where the system prompts were actually exposed via carefully constructed conversations. I wouldn't put credentials in a prompt to begin with. Hidden text is not a secrets management solution.

There's also the issue of where the model is getting its information from. LLM05 (Data and Model Poisoning) is about poisoned training, fine-tuning or retrieval data. Tay from Microsoft is a classic example of how coordinated user input can affect an LLM. More recently a study by Anthropic and a number of research partners showed that 250 poisoned documents were sufficient to introduce a backdoor into models of all sizes from 600M to 13B parameters. That really does underline the importance of data provenance even if the amount of poisoned data is very small.

The components that we use to build the app all have their own risks. LLM04 (Supply Chain) consists of models, datasets, adapters and packages. JFrog reported finding approximately 100 malicious models on Hugging Face in February 2024. Some of these models used Python pickle serialization to run code upon loading. Model artefacts should be treated in the same way as any other software dependencies - you need to know where they came from, pin the versions and maintain an inventory of what you actually have in use.

Cost is another facet of the attack surface. LLM06 (Unbounded Consumption) is about unbounded token and compute consumption. Sysdig's research into LLMjacking showed attackers using stolen cloud credentials to consume the victim's hosted model services. One victim was reported to have racked up a $30k bill in just three hours. Quotas on tokens help, but I'd also want concurrency limits, execution limits and a hard budget ceiling that you can't get around by just making a lot of requests.

The model answer can be a problem even if the app is working perfectly. LLM07 (Misinformation) is a good example. In Moffatt v. Air Canada the airline's chatbot gave the wrong information about a bereavement fare refund. The tribunal found the airline at fault and awarded CA$812.02. The model can explain the refund policy but the actual check and calculation of eligibility should be in the application code.

Then there's LLM10 (Improper Output Handling). If generated HTML, SQL or Python is passed directly on to some other component then you can end up with an exploit. CVE-2024-5565 in the Vanna library was the case of manipulated visualisation code which could result in arbitrary Python execution. Generated output is just as much a candidate for attack as any other untrusted input.

Finally, **LLM03 (Excessive Agency)** is about the permissions. The Replit incident in July 2025 is a case in point where a coding agent had access to production data and deleted a database which contained the records of over 1,200 administrators. The agent had been instructed not to make any changes during the code freeze and that instruction clearly wasn't sufficient to stop the action.

 

#### Agentic applications: when the model starts taking actions

The agentic list covers some of the usual problems, but the emphasis is on goals, tools, and the identity of the agent.

**ASI01 (Agent Goal Hijack)** is very much in the same space as prompt injection, the difference being that the attacker is attempting to hijack the agent's goal rather than just influence the output. EchoLeak (CVE-2025-32711) showed how a malicious email could be used to manipulate Microsoft 365 Copilot and leak information, with the user not having to do anything at all. The agent was simply processing the content as part of its normal operation, which was sufficient to cause the issue.

Once tools are available, **ASI02 (Tool Misuse and Exploitation)** comes into play. A legitimate tool can be used with manipulated parameters or in an unsafe sequence. The Amazon Q Developer extension incident in July 2025 is a case in point. A malicious prompt was inserted into version 1.84.0 to have the agent use its existing tools to reset an AWS environment. The code in the prompt contained a syntax error, which meant it wouldn't actually run, and AWS issued a clean version. The fact that the attack didn't succeed in any way doesn't mean the underlying permission issue is any less relevant.

Credentials are another area of weakness. ASI03 (Identity and Privilege Abuse) is all about agents that are running with shared or overly permissive tokens. In a GitHub MCP PoC from Invariant Labs, you can see how a malicious issue in a public repository could be used to influence an agent that also had access to private repositories. The agent used the same token to pull the private data and then publish it out via a public repository. The MCP server itself wasn't the vulnerable part; it was the credential scope.

There's a separate supply chain issue in ASI04 (Agentic Supply Chain Vulnerabilities). MCP servers, plugins and tool registries can end up as part of the runtime environment, sometimes after the main app has already been deployed. CVE-2025-6514 in mcp-remote is an example of this. That package had over 437k downloads and the command injection vulnerability in it could potentially put systems running affected versions at risk.

The ability to execute commands takes us to **ASI05 (Unexpected Code Execution / RCE)**. In CVE-2025-53773 a malicious instruction in a source file, a web page or an issue could cause GitHub Copilot to change the chat.tools.autoApprove setting in .vscode/settings.json. Terminal commands could then be executed without the normal user confirmation. Patched in August 2025. A good example of why an agent shouldn't be allowed to change the controls that are meant to restrict it.

Memory is what makes these problems persist. ASI06 (Memory and Context Poisoning) is about information that gets stored and which then affects later sessions. Work done on Gemini's long term memory showed how hidden instructions in the processed content could be used to inject false information which would then persist into other conversations. I'd treat memory writes as privileged operations with clear ownership and a mechanism to review and delete the stored information.

When a number of agents are working together, their messages become another security boundary. ASI07 (Insecure Inter-Agent Communication) covers the issues of impersonation, message modification and replay. Unit 42's Agent Session Smuggling research showed how a malicious remote agent could be used to send covert instructions during an A2A session. In the PoC a financial assistant was tricked into buying 10 shares without the user being aware. Of course authentication and message integrity checks are important when one agent is going to trust another.

A mistake can also propagate right through the entire workflow. That's ASI08 (Cascading Failures). The Replit incident is a case in point of a single bad action leading to a whole cascade of events. Another MCP security analysis referenced in the OWASP material looked at a 72.4% propagation rate from a compromised server in a 5 server testbed. That's the figure from that particular testbed, but the concern at the heart of it is very much something we're familiar with in the world of distributed systems where one bad component can have an effect on everything else that relies on it.

Human approval doesn't automatically fix the problem. ASI09 (Human-Agent Trust Exploitation) is about situations where a user gives their approval to an operation without actually seeing what will be executed. Checkmarx's HITL Dialog Forging research showed how approval dialogs in both Claude Code and Copilot Chat could be forged. A command might appear completely innocuous in the approval dialog, whilst the actual operation that would be executed is quite different. The command and its arguments have to be visible and the approved operation has to be exactly the same until it is actually executed.

The final category is ASI10 (Rogue Agents) which is about agents that just keep on going outside of their policy. In February 2026 Meta researcher Summer Yue reported that her OpenClaw agent had actually deleted over 200 emails even though its instruction was to propose deletions and then wait for approval. It had also completely ignored attempts to shut it down remotely. Her explanation was that the instructions had been lost during context compaction. It's a reported incident, but it does raise a very practical question: can you actually shut an agent down without having to rely on the agent itself?

 

#### What I'd test

For an LLM application I'd test docs with hidden instructions, cross-tenant retrieval, unexpected output and resource limits. I'd also check that if you delete a document you delete the embeddings and the cached content as well as the document itself.

With an agent I'd be spending a lot of time on the execution path. Can it access a repo outside of its assigned permissions? What happens if an MCP server returns manipulated metadata? Can the generated code escape the sandbox? Does the approval dialog actually show you the operation that's going to run? Can you stop the agent whilst a task is still in progress?

These are very much the kind of application security and integration testing issues you'd expect. The difference is that the model is now making decisions which can have an effect on multiple systems.

I'd also want to be able to reconstruct what happened post operation. Who was the user that triggered the task? Which agent was the one that actually did it? What tool was called? Was authorization checked? What was the outcome? Without that information you're pretty much stuck in the mire when trying to investigate an agent related incident.

 

#### Keeping control outside the model

The first OWASP list is all about the model, the data and the output. The second one extends that to include the risks associated with the agent's goals, tools, identities, memory and communication.

For me the practical issue is what happens after the model has made up its mind.

I wouldn't let a prompt enforce database permissions, decide whether a financial transaction is permitted or determine whether a shell command can access production. Those are all things that should be handled in the application where they can be enforced and tested independently.

The model can propose an action. The app is then responsible for determining whether that action is permissible.

 

#### References

**Official OWASP publications**

[OWASP Top 10 for LLM Applications 2026](https://owasp.org/www-project-top-10-for-large-language-model-applications/)

[OWASP Top 10 for Agentic Applications 2026](https://owasp.org/www-project-top-10-for-agentic-ai-security/)

**LLM security research and incidents**

[AI Incident Database - Chevrolet chatbot incident](https://incidentdatabase.ai/)

[Wiz - DeepSeek database exposure](https://www.wiz.io/blog/wiz-research-uncovers-exposed-deepseek-database)

[JFrog - Malicious Hugging Face models](https://jfrog.com/blog/data-scientists-targeted-by-malicious-hugging-face-ml-models-with-silent-backdoor/)

[Anthropic - A small number of samples can poison LLMs](https://www.anthropic.com/research/poisoning-web-scale-training-datasets)

[Sysdig - LLMjacking](https://sysdig.com/blog/llmjacking-stolen-cloud-credentials-used-in-new-ai-attack/)

[Moffatt v. Air Canada, 2024 BCCRT 149](https://www.bccrt.ca/decisions/2024/february/2024_bccrt_149.pdf)

[NVD - CVE-2024-5565](https://nvd.nist.gov/vuln/detail/CVE-2024-5565)

[NVD - CVE-2025-32711 (EchoLeak)](https://nvd.nist.gov/vuln/detail/CVE-2025-32711)

**Agentic security research and incidents**

[AWS Security Bulletin - Amazon Q Developer](https://aws.amazon.com/security/security-bulletins/)

[Invariant Labs - GitHub MCP vulnerability](https://invariantlabs.ai/blog/mcp-github-vulnerability)

[JFrog - CVE-2025-6514](https://jfrog.com/blog/cve-2025-6514-mcp-remote-rce/)

[NVD - CVE-2025-53773](https://nvd.nist.gov/vuln/detail/CVE-2025-53773)

[Palo Alto Networks Unit 42 - Agent Session Smuggling](https://unit42.paloaltonetworks.com/agent-session-smuggling/)

[Checkmarx - HITL Dialog Forging](https://checkmarx.com/blog/hitl-dialog-forging/)

[TechCrunch - OpenClaw email deletion incident](https://techcrunch.com/2026/02/openclaw-email-deletion/)

Share: [facebook-f icon](http://www.facebook.com/share.php?u=https://hepapi.com/blog/owasp-top-10-for-llm-and-agentic-applications-security-beyond-the-prompt) [linkedin-in icon](http://www.linkedin.com/shareArticle?mini=true&url=https://hepapi.com/blog/owasp-top-10-for-llm-and-agentic-applications-security-beyond-the-prompt) [twitter icon](https://twitter.com/intent/tweet?url=https://hepapi.com/blog/owasp-top-10-for-llm-and-agentic-applications-security-beyond-the-prompt) [envelope icon](mailto:?body=https://hepapi.com/blog/owasp-top-10-for-llm-and-agentic-applications-security-beyond-the-prompt)

[![hepapi-logo-light](https://hepapi.com/hubfs/hepapi-logo-light.svg "hepapi-logo-light")](https://hepapi.com/)

[![telcoset-group-company](https://hepapi.com/hs-fs/hubfs/telcoset-group-company.png?width=120&height=36&name=telcoset-group-company.png "telcoset-group-company")](https://telcoset.com.tr/)

Transforming Enterprises with Innovative DevOps, QA, and AI Solutions

[linkedin-in icon](https://www.linkedin.com/company/hepapi) [Follow us on Facebook](mailto:info@hepapi.com)

**Company**

[About](https://hepapi.com/about-us)[Career](https://hepapi.com/career)

[Services](https://hepapi.com/services)

[Partnerships](https://hepapi.com/partnerships)

[Contact Us](https://hepapi.com/contact-us)

[Privacy Policy](https://hepapi.com/privacy-policy)  
[Cookie Policy](https://hepapi.com/cookie-policy)

[Terms & Conditions](https://hepapi.com/terms-and-conditions)

**Resources**

[Blog](https://hepapi.com/blog)

[Knowledge Hub](https://hepapi.github.io/knowledge-hub/)

 

Copyright © 2026, Hepapi Software LTD.

```json
{
  "@context" : "https://schema.org",
  "@type" : "BlogPosting",
  "author" : {
    "@type" : "Person",
    "name" : "Asaf Emre Öztürk",
    "url" : "https://hepapi.com/blog/author/asaf-emre-öztürk"
  },
  "dateModified" : "2026-12-01T10:21:28.857Z",
  "datePublished" : "2026-12-01T10:21:28.000Z",
  "headline" : "OWASP Top 10 for LLM and Agentic Applications: Security Beyond the Prompt",
  "image" : [ "https://hepapi.com/hubfs/owasp-top-10-llm-agentic-applications-security-1600.webp" ],
  "mainEntityOfPage" : {
    "@id" : "https://hepapi.com/blog/owasp-top-10-for-llm-and-agentic-applications-security-beyond-the-prompt",
    "@type" : "WebPage"
  },
  "publisher" : {
    "@type" : "Organization",
    "logo" : {
      "@type" : "ImageObject",
      "url" : "https://hepapi.com/hubfs/hepapi-logo.svg"
    },
    "name" : "Hepapi Teknoloji Anonim Sirketi"
  }
}
```