AI Security

security

Model Layer and Agent Layer

This page covers the model and application layer: what can be done to a model through its inputs, its training data, its weights and its outputs. The agent layer, where the system also takes autonomous action, has a threat surface these controls were never designed for. That shift is now visible in the ranking itself, with Excessive Agency the largest riser of the 2026 edition, and is covered separately in Agentic Zero Trust and Sandboxing and Isolation.

format_list_numbered

OWASP GenAI LLM Top 10 (2026)

Published 4 August 2026, replacing the 2025 edition. This is the first edition weighted by real incident data rather than practitioner voting alone, at roughly 75% community consensus to 25% incident analysis, and the ordering below the top two moved more than in any previous revision.

RankVulnerabilityDescriptionMitigationvs 2025In Depth
LLM01Prompt InjectionInstructions reach the model through a channel intended to carry data, overriding or manipulating its behaviourProvenance on all retrieved content, policy enforced outside the prompt, output filteringUnchangedGuardrails
LLM02Sensitive Information DisclosureThe model reveals training data, PII, or confidential information, affecting both model and applicationData filtering, PII detection, output monitoring, redactionUnchangedPrivacy-Preserving ML
LLM03Excessive AgencySystems granted autonomy or permissions beyond intended scope. The largest riser in the 2026 edition, reflecting agentic deployment reaching productionLeast privilege, per-action gating, delegated identity, human in the loopUp 3Agentic Zero Trust
LLM04Supply ChainVulnerabilities from compromised models, datasets, tools or dependencies anywhere in the chainModel verification, dependency scanning, provenance tracking, version pinningDown 1Rug-pull threats
LLM05Data and Model PoisoningManipulation of pre-training, fine-tuning or embedding data to introduce vulnerabilities, backdoors or bias. Now absorbs fine-tuning subversionData provenance, validation, anomaly detection, trigger-aware evaluationDown 1ML Quality Assurance
LLM06Unbounded ConsumptionProcesses consume excessive resources, causing denial of service, cost overruns or degradation. Rose four places on practitioner concernRate limiting, input length limits, cost monitoring, hard loop budgetsUp 4Loop control
LLM07MisinformationThe model generates false, misleading or fabricated information. Ranked higher by incident data than by practitioner voteGrounding, source citations, verification, human reviewUp 2Hallucinations
LLM08Hidden Context ExposureRenamed and broadened from System Prompt Leakage. Covers exposure of any context the user was not meant to see, including tool definitions, retrieved content and memory, not just the system promptKeep secrets out of context entirely, access controls, monitoring for extraction patternsRenamedPrompt Engineering
LLM09Vector and Embedding WeaknessesVulnerabilities in vector stores and embeddings, including cross-tenant retrieval and embedding inversion in RAG systemsTenant-scoped retrieval, vector validation, access controlsDown 1RAG Architecture
LLM10Improper Output HandlingInsufficient validation of model output before downstream use. The largest faller, dropping five places from fifthSanitise before rendering, validate before execution, sandbox anything executableDown 5Sandboxing
radar

Concentric Threat Flow

The ranked list says nothing about how the risks relate. Grouping them into entry vectors, the machinery that amplifies them, and the impacts an organisation actually suffers shows why controls at one radius cannot cover another. Four of the ten sit in more than one ring.

Hover a risk to see which layers it sits in.

Dashed risks sit in more than one layer.

bug_report

Attack Vectors

blur_on
Adversarial InputsCrafted inputs designed to produce a wrong result from a correct model
EvasionPerturbations that flip a classification while looking unchanged to a human
Model inversionReconstructing training records from model responses
Membership inferenceDetermining whether a specific record was in the training set

Defence: Adversarial training, input validation, robustness testing, and rate limits on the query patterns these attacks require.

code_off
Prompt InjectionInstructions reaching the model through a channel intended to carry data
DirectThe user's own message overrides the system prompt
IndirectInstructions hidden in a fetched page, document, email or code comment
JailbreakingFraming that moves the model outside its trained refusal behaviour

Defence: Treat retrieved content as data for its whole lifetime, enforce policy outside the prompt, and never let output act without independent authorisation.

coronavirus
Data and Model PoisoningCorrupting what the model learned, before it ever reaches production
BackdoorsA trigger phrase that produces attacker-chosen behaviour on demand
Bias injectionSystematic skew introduced through curated training examples
Targeted misclassificationSpecific inputs made to fail while aggregate accuracy holds

Defence: Data provenance and signing, anomaly detection over training sets, and evaluation suites designed to catch trigger behaviour rather than average accuracy.

file_download_off
Model Extraction and TheftRecovering the model itself, by querying it or by taking the artefact
DistillationTraining a competing model on the target's outputs
Boundary reconstructionRecovering decision boundaries through systematic probing
Artefact theftTaking the weights directly from storage or a registry

Defence: Query monitoring and rate limiting, watermarking, plus signing, encryption and access control on the weights themselves.

smart_toy

What Agents Change

Every control above assumes a request and a response, with a human deciding what happens next. An agent removes that boundary, and each assumption fails in a specific way.

Assumption at the Model LayerHow Agents Break ItHandled In
Output is read, not executedAgent output becomes tool calls, shell commands and code that run without a human reading them firstSandboxing
Input comes from the userMost input arrives from tools, documents and other agents, so input filtering never sees the payloadThreat routes
A session is one exchangeActions accumulate over long horizons, and a benign sequence can end somewhere no single step would be blockedAgentic Errors
The model has no identityThe agent authenticates, holds credentials and acts, so authorisation and attribution both become live problemsIdentity and delegation
State resets each turnMemory persists, so an injected instruction can survive the session and fire against unrelated later workAgent Memory
layers

Defence in Depth

No single layer is sufficient, and each one has a class of attack it structurally cannot see. Knowing what a layer misses matters more than knowing what it catches.

LayerStopsCannot StopCost of Omitting
Input filteringKnown jailbreak phrasing and obvious injection attempts in user messagesAnything arriving through retrieval or tool results, which is where most injection now livesLow
Instruction hierarchyCasual attempts to override the system promptDetermined attacks, because it depends on the model behaviour under attackMedium
Output filteringPII, secrets and disallowed content leaving in the responseHarmful actions already taken before anything was renderedHigh
Action authorisationUnauthorised tool calls regardless of how the model was persuadedPermitted actions used for an unintended purposeSevere
Execution isolationA permitted action reaching beyond its blast radiusDamage entirely within the granted scopeSevere
Monitoring and auditNothing in the moment; it is how you find out and reconstructEverything, until someone looksHigh
handyman

Tooling

biotechRed Teaming and Scanning

Probing a deployed model or application for exploitable behaviour before someone else does.

GarakOpen-source LLM vulnerability scanner with a broad probe library
PyRITMicrosoft risk identification toolkit for generative AI red teaming
GiskardAutomated scanning for robustness, bias and injection issues
ARTAdversarial Robustness Toolbox, focused on classical ML attacks and defences
shieldGuardrail and Classifier Models

Models that sit around the primary model to classify input and output. Compared in depth on the Guardrails page.

Llama GuardOpen-weight safety classifier for input and output moderation
Prompt GuardClassifier targeted specifically at injection and jailbreak detection
NeMo GuardrailsProgrammable rails for dialogue flow and topic control
Guardrails AIOutput validation against declared schemas and constraints
verifiedModel and Artefact Integrity

Establishing that the weights you load are the weights you expected.

safetensorsSerialisation format that removes the arbitrary code execution risk in pickle
ModelScanScans model files for unsafe serialisation and embedded payloads
SigstoreSigning and transparency logs for artefacts and provenance
Model cards and SBOMDeclared lineage and dependency inventory for audit
lockPrivacy and PII

Limiting what the model can memorise and what the application can emit.

PresidioPII detection and anonymisation across text and structured data
OpacusDifferential privacy training for PyTorch
TensorFlow PrivacyDP-SGD implementation for TensorFlow
PySyftFederated learning and encrypted computation

Platform guardrail products are compared in more detail on AI Guardrails. For certification evidence, see AIUC-1, and for governance frameworks see AI Governance and Compliance.