OWASP Top 10 for LLM Applications 2026: each risk and its control

What each of the ten risks is, where it enters an LLM application, and which runtime control can stop it.

20 min read
In short: The OWASP Top 10 for LLM Applications is the OWASP GenAI Security Project's list of the ten most critical risks in software built on large language models. Most of the risks pass through one of four points: text entering the model's context, a document entering an index, a tool call the model generated, or a completion leaving the application. A runtime control at those points addresses prompt injection, sensitive information disclosure, excessive agency, and unbounded consumption, and part of four more. Supply chain and misinformation need controls outside the running application.

What is the OWASP Top 10 for LLM Applications?

The OWASP Top 10 for LLM Applications is a ranked list of the ten most critical security risks in software built on large language models (LLMs). The OWASP GenAI Security Project publishes it, and this guide follows the 2026 edition. Security teams use it the way they use the older OWASP Top 10 for web applications: as shared vocabulary in threat models, as a checklist in design reviews, and as a structure for explaining to an auditor or a customer how each risk is handled.

The list describes risks, not products. Each entry explains how the risk arises, gives example attacks, and suggests mitigations, and most entries need more than one control. The most useful way to read it is risk by risk: find the point in your application where the risk can be stopped, and decide what checks it there.

This guide reads it that way. For each risk, it explains what goes wrong and where in an application it happens, then what a check at that point can and can't do. It uses Arcjet as the worked example, and it says plainly where Arcjet doesn't help.

What changed in the 2026 edition?

The 2026 edition keeps prompt injection and sensitive information disclosure at the top, and reorders most of the rest. The new order reflects how LLM applications are built today: as agents, which are applications in which the model chooses which tools to call, that retrieve documents and run in loops.

2026 rankRiskChange from 2025
LLM01Prompt InjectionUnchanged rank, broader scope
LLM02Sensitive Information DisclosureUnchanged rank, broader scope
LLM03Excessive AgencyUp from sixth
LLM04Supply ChainDown from third
LLM05Data and Model PoisoningDown from fourth
LLM06Unbounded ConsumptionUp from tenth
LLM07MisinformationUp from ninth
LLM08Hidden Context ExposureRenamed and broadened from System Prompt Leakage
LLM09Vector and Embedding WeaknessesDown from eighth
LLM10Improper Output HandlingDown from fifth

Two moves stand out. Excessive Agency rose to third, because agents take real actions, such as refunds, emails, and database writes, and what an agent is allowed to do sets how much damage a manipulated model can cause. Unbounded Consumption rose to sixth, because an agent loop turns one request into many model and tool calls, so runaway cost and outages are no longer rare. And System Prompt Leakage became Hidden Context Exposure, because the system prompt is only one part of what an attacker wants to read: the definitions of the agent's tools, policy text, and workflow rules matter as much.

Where the controls run

An LLM application differs from a web application in where its risks travel. Most of the ten risks pass through one of four points:

  1. Text entering the model's context, which is everything the model reads before it answers. The text can come from the user, a document, a web page, or the result of a tool call.
  2. A document entering a store that the model learns from or looks things up in.
  3. A tool call that the model generates, on its way to the code that runs it.
  4. The model's answer, called a completion, leaving the application for a user, a log, or another system.

A check at one of these points can stop a risk before it has an effect. A check anywhere else misses most of the traffic. A network firewall in front of your HTTP route, for example, sees the request that starts an agent run, but none of the tool calls, retrieved documents, or completions that follow inside your application.

Arcjet is a security platform that places checks at those points from inside your code. You add the Arcjet SDK to your application, in JavaScript and TypeScript, Python, or Go. For an HTTP request, you call protect() in the route handler. For an agent action, such as a tool call, a model call, or a write to an index, you call guard() immediately before it. Each call returns ALLOW or DENY before your code continues. Arcjet provides detectors for prompt injection and sensitive information, rate limits that include token budgets, and policies that your security team publishes and changes without a deployment. Because the check runs inside your code, it knows what a network control can't: who the user is, which tool is about to run, and which arguments the model chose.

Throughout this guide, each risk gets one of three coverage levels. Product means that an Arcjet control handles the risk. Partial means that Arcjet checks the point the risk passes through, and part of the work stays in your code. Not covered means that the risk is outside what a check in your running application can do, and your build pipeline, data pipeline, or application logic handles it.

LLM01:2026 Prompt Injection

Prompt injection is text that changes what the model does, not only what it says. It works because a model reads instructions and data through the same channel, and there's no syntax that marks a span of text as data the model must never obey. Direct injection arrives in the user's own message. Indirect injection arrives in content that the application retrieved: a web page, a document from a search index, an email, or the response from a Model Context Protocol (MCP) server, which is a service that offers tools to an agent. Indirect injection causes most incidents, because the user who triggered it can be innocent, and the attack never appears in the request that started the run.

The defense is to screen every piece of untrusted text before it enters the model's context, including tool results and retrieved documents, not only the user's message. Arcjet covers this risk with prompt injection detection. Its own detection models screen the text, and Arcjet returns DENY before your code calls the model provider, so a detected instruction never reaches the model.

Detection lowers how often an injection succeeds, but it can't recognize an instruction that reads as an ordinary business request, such as a line in an invoice that asks for a copy to go to an outside address. That's why the controls for LLM03 and LLM10 matter: they limit what a successful injection can do. For the full layered approach, see how to prevent prompt injection in LLM applications.

LLM02:2026 Sensitive Information Disclosure

Sensitive information disclosure is private data that ends up somewhere it shouldn't: personal data sent to a model provider, a credential written to a log, or one customer's records shown to another. In an LLM application, the data can arrive in a pasted prompt, a retrieved document, or a tool result, and it can leave in a completion or in the arguments of a tool call.

The defense is to detect sensitive values wherever text moves, and to block or redact them there. Arcjet covers this risk with sensitive information detection, which runs in your own process, so the text it scans doesn't leave your environment. The SDK's built-in analyzer detects email addresses, phone numbers, IP addresses, and card numbers. An optional on-device model, which recognizes values from their context and which you add to the rule, extends that to Social Security numbers, bank accounts, government IDs, names, and street addresses. Detection of protected health information and of secrets, such as API keys and private keys, runs on Arcjet's servers, so the text that you screen for them goes to Arcjet.

Detection decides whether a piece of text may pass a point in your application. It doesn't decide which records a user may read in the first place. That's access control, and it stays in your application. For the techniques, see how to detect and redact PII in LLM inputs and outputs.

LLM03:2026 Excessive Agency

Excessive agency means that an agent can do more than its task needs. The model doesn't have to be malicious for this to cause harm. Once the agent can call a tool that refunds, deletes, or sends, a prompt injection, a misread instruction, or an invented argument is enough.

OWASP's mitigations start with least privilege: give the agent only the tools it needs, with credentials limited to the task. That limits what an agent can do in general. It doesn't decide whether a particular call should run. An agent that can use the payments API isn't thereby allowed to refund this invoice for this amount.

Arcjet covers this risk with agent guards, which make that call-by-call decision. You call guard() inside the tool handler, immediately before the action runs, and pass the values that matter, such as the amount and the user's approval limit. Your code reads those values from its own records of the signed-in user, not from the model, because the model's output is what the guard is there to check. Arcjet evaluates the policy for that action and returns ALLOW or DENY:

const decision = await arcjet.guard({
label: "refund.issued",
actor: user.id,
inputs: {
amount_cents: policyInput.server.integer(amountCents),
approval_limit: policyInput.server.integer(user.refundLimitCents),
},
});
// Refuse unless Arcjet completed the check against a published policy.
if (
decision.conclusion === "DENY" ||
decision.hasFailedOpen() ||
decision.policyEvaluation?.status !== "APPLIED"
) {
return { error: "Refund not allowed" };
}

The policy decides this one call: the tool, the person it acts for, and the arguments. Your security team writes it in the Arcjet Console, tests it, and runs it in dry run, which records what it would deny without denying anything, before enforcing it. None of that needs a deployment. The code refuses the refund unless Arcjet fully evaluated a published policy, so a missing or unpublished policy can't let a refund through. Which invoices a user may refund at all is still a question for your own authorization code; the policy decides whether this amount is allowed. If you build on an agent framework, Arcjet's framework integrations wrap each tool, so you don't write the call by hand.

For how to design checks on individual actions, see how to prevent irreversible AI agent actions.

LLM04:2026 Supply Chain

The supply chain risk covers everything an LLM application is built from: model weights, datasets, adapters, model repositories, and software packages. The 2026 edition adds slopsquatting. Coding assistants sometimes suggest package names that don't exist, and attackers register those names in advance, so an install command that the assistant suggests pulls in malicious code.

These risks arise before the application runs, and their controls are model provenance checks, pinned dependency versions, software composition analysis, and review of what you install. Arcjet doesn't cover this risk. It runs after the model is trained and the dependencies are installed, so it doesn't verify them.

One part of the supply chain does appear at runtime: the MCP servers that an agent connects to. An Arcjet guard policy can restrict a tool to the MCP servers that you've reviewed. That narrows one part of the risk, but it doesn't change the rating for the risk as a whole.

LLM05:2026 Data and Model Poisoning

Data and model poisoning is tampering with what a model learns from or looks things up in: training data, fine-tuning data, or the documents in a retrieval-augmented generation (RAG) store. In RAG, the application searches a store of documents and adds the closest matches to the model's context. An attacker who can add a document stating that the refund policy is always yes doesn't need to attack the model later. The model retrieves the statement and follows it as policy.

Nothing at runtime can repair a model that was trained on poisoned data. What a check can do is screen content at the boundary of the store, before it's indexed or used for fine-tuning. Arcjet covers part of this risk. It screens each uploaded file or queued document with prompt injection detection and sensitive information detection, or against the requirements of a particular tool's input, and your code rejects the item on DENY. Where your training data comes from, and who may write to each store, stay in your data pipeline. For the store boundary in detail, see how to secure a RAG application.

LLM06:2026 Unbounded Consumption

Unbounded consumption is resource use without a limit: model tokens, repeated model calls, and tool calls. Its effects are outages, a bill large enough to harm the business, and model extraction, in which an attacker copies a model's behavior by sending it a high volume of queries.

A rate limit on the HTTP route counts requests, not cost. One chat request can start an agent loop that makes dozens of model calls, and two requests of the same size can differ in cost by orders of magnitude. The limit has to sit on the model call and count tokens.

Arcjet covers this risk with token budgets. A token budget is a token bucket: each user, agent, or run has a balance of tokens that refills at a rate that you set, so a user can spend in bursts and recover over time. Before each model call, the call is charged its estimated token count, and Arcjet denies it when the balance runs out. On the HTTP route, Arcjet bot protection and rate limiting reduce automated traffic before it reaches the model. For how to choose keys and estimate tokens, see how to enforce token and spend budgets for AI agents.

LLM07:2026 Misinformation

Misinformation is incorrect or invented output that people or other systems trust and act on. Its causes lie in the model and in the data it draws on, and its mitigations are grounding the model in reliable sources, showing citations, evaluating output, and designing an interface that tells users how far to trust an answer.

Arcjet doesn't cover this risk, because it doesn't judge whether an answer is true. It controls what an answer can do. When an invented answer leads to a tool call, such as a refund issued against a policy that doesn't exist, the guard on that tool checks the action against your policy before it runs, as the LLM10 section describes.

LLM08:2026 Hidden Context Exposure

Hidden context exposure is the leak of information that the model can see but the user shouldn't: the system prompt, developer instructions, the definitions of the agent's tools, retrieved policy text, and workflow rules. OWASP treats it as an amplifier. An attacker who reads how the application behaves can write a more targeted prompt injection, and when the context holds keys or personal data, the leak is a breach in its own right. The 2026 guidance is to assume that anything in the model's context can be discovered, and never to rely on hidden context alone to decide who may do what.

Arcjet covers part of this risk by screening text in both directions. On the way in, retrieved documents and tool results pass prompt injection detection before your code adds them to the prompt, so an instruction hidden in content, such as a request to print the system prompt, is denied before the model sees it. On the way out, completions and tool arguments pass sensitive information detection, including server-side detection of secrets and credentials, so a key or personal data held in the system prompt is denied before it leaves in a response. Keeping secrets out of the prompt in the first place, and returning errors that don't repeat internal configuration, stay in your code. For more, see how to prevent system prompt leakage.

LLM09:2026 Vector and Embedding Weaknesses

Vector and embedding weaknesses are risks in the stores that RAG systems search, and in semantic caches and agent memory built the same way. To make text searchable by meaning, an application converts it into embeddings, lists of numbers that represent what the text means, and keeps them in a vector store. Three things can go wrong there. One customer's search can return another customer's documents. An attacker can manipulate what a search returns. And an attacker with access to the stored vectors can partly reconstruct the original text, which is called embedding inversion.

Inversion can only reconstruct what was embedded, so the most effective check is on what enters the store. Arcjet covers part of this risk there. Screen each chunk of text before it's embedded, and have your code skip any chunk in which Arcjet detects a sensitive value, so that value can't be reconstructed from the vectors. Personal data can be screened in your own process. Secrets and credentials need Arcjet's server-side detector, which means sending the chunk to Arcjet, because a check that runs only in your process can pass a document that contains an API key. When chunks come back from a search, screen them again with prompt injection detection before they enter the context. Inversion of vectors that already exist, attacks that manipulate search results, and the store's own access control stay outside Arcjet. Limit every search to the current customer in the query itself.

LLM10:2026 Improper Output Handling

Improper output handling is passing model output to another system without the checks that system needs. A completion used as a SQL query, a shell command, HTML in a browser, or the arguments to an API call can do whatever its text says. Model output is untrusted input to whatever runs next.

When the next step is a tool, Arcjet covers part of this risk with agent guards, which sit between the completion and the action it triggers. Each tool call that the model generates is checked against your policy before it runs. A database tool can refuse DROP and DELETE statements. A fetch tool can refuse hosts that aren't on its list, or that Arcjet IP threat intelligence rates as high risk. A file tool can refuse paths outside its workspace. Output that fails the policy is denied. Output that never reaches a tool, such as text that your frontend displays, still needs encoding, parameterized queries, and schema validation in your code.

Coverage summary

The following table brings the ten ratings together:

OWASP riskArcjet controlCoverage
LLM01 Prompt InjectionPrompt injection detectionProduct
LLM02 Sensitive Information DisclosureSensitive information detectionProduct
LLM03 Excessive AgencyAgent guardsProduct
LLM04 Supply ChainNoneNot covered
LLM05 Data and Model PoisoningInput screening at the store boundaryPartial
LLM06 Unbounded ConsumptionToken budgetsProduct
LLM07 MisinformationNoneNot covered
LLM08 Hidden Context ExposureContext screening in both directionsPartial
LLM09 Vector and Embedding WeaknessesScreening before embedding and after retrievalPartial
LLM10 Improper Output HandlingAgent guards on the next actionPartial

Four risks have an Arcjet control that handles them. Four have a check at the point the risk passes through, with the rest of the work in your code. Two are outside what a check in your running application can do. No single product covers the whole list, so if a vendor claims to, ask which of its controls handles supply chain and misinformation.

Next steps

Start with the risks that decide how large an incident can get. Put a guard on each tool that moves money, sends data outside your organization, or changes production, and put a token budget on each model call. Then add prompt injection detection wherever untrusted text enters, and sensitive information detection wherever text leaves your application.

The Arcjet documentation maps each risk to its configuration, with code for every control.

Frequently asked questions

What is the OWASP Top 10 for LLM Applications?

It's a ranked list of the ten most critical security risks in software built on large language models, published by the OWASP GenAI Security Project. Each entry describes how the risk arises, example attacks, and mitigations. Teams use it for threat models, design reviews, and explaining to auditors how each risk is handled.

What are the ten risks in the 2026 edition?

LLM01 Prompt Injection, LLM02 Sensitive Information Disclosure, LLM03 Excessive Agency, LLM04 Supply Chain, LLM05 Data and Model Poisoning, LLM06 Unbounded Consumption, LLM07 Misinformation, LLM08 Hidden Context Exposure, LLM09 Vector and Embedding Weaknesses, and LLM10 Improper Output Handling.

What replaced System Prompt Leakage in the 2026 list?

Hidden Context Exposure, at LLM08. It broadens the risk from the system prompt to all context the user isn't meant to see, including developer instructions, tool schemas, policy text, and workflow rules.

Can one product cover the whole OWASP LLM Top 10?

No. Supply chain risks arise before the application runs and need provenance checks, dependency pinning, and software composition analysis. Misinformation needs grounding and evaluation. A runtime control covers the risks that pass through the running application, fully or in part.

Which OWASP LLM risks does Arcjet cover?

Arcjet has a shipped control for prompt injection, sensitive information disclosure, excessive agency, and unbounded consumption. It covers part of data and model poisoning, hidden context exposure, vector and embedding weaknesses, and improper output handling, where your code keeps the rest. It doesn't cover supply chain or misinformation.

AI runtime security in your code

Protect your AI agent workflows with Arcjet

Start with the risks that decide the size of an incident: guard each tool that moves money, sends data out, or changes production.