Skip to main content

Verify

OWASP AISVS

The AI Security Verification Standard (AISVS 1.01): testable requirements at three assurance levels, by chapter and section. Levels are cumulative: Level 2 includes every Level 1 requirement.

  • 12 chapters
  • 44 sections
  • 213 requirements
  • 57 level 1
  • 110 level 2
  • 46 level 3

C1 Training Data Integrity & Traceability

This chapter addresses protecting the integrity and traceability of training data as it is sourced, handled, and maintained.

Controls that cite this chapter: M1 Memory Validation & Sanitization, M12 Secure Model Training & Validation, M16 Behavioral Monitoring & Ethics Framework, M17 Supply Chain Security & Provenance

C1.1 Training Data Origin & Data Security

Training data origin and security are critical to the trustworthiness of any AI system. Datasets must be sourced from verifiable origins, tracked across their full lifecycle, and protected against tampering, corruption, and poisoning so that unauthorized modification can be detected.

  1. C1.1.1 Level 1

    Verify that training data includes only features, attributes, and fields required for the model's stated purpose.

  2. C1.1.2 Level 2

    Verify that an up-to-date inventory is kept of every training-data source, including its origin, responsible party, license, collection method, intended use constraints, and processing history.

  3. C1.1.3 Level 2

    Verify that data integrity is provided when training data is stored and transferred.

  4. C1.1.4 Level 2

    Verify that integrity monitoring is applied to guard against unauthorized modifications or corruption of training data.

  5. C1.1.5 Level 3

    Verify that datasets are watermarked so their use can be attributed and any unauthorized use detected.

C1.2 Data Labeling and Annotation Security

Labeling and annotation processes must be protected against unauthorized modification, data leakage, and integrity compromise. Annotation platforms should enforce access control, preserve auditability, and protect labeling artifacts and sensitive label content throughout the training pipeline.

  1. C1.2.1 Level 1

    Verify that labeling platforms enforce access controls that restrict who can create, modify, or approve annotations.

  2. C1.2.2 Level 2

    Verify that cryptographic integrity is applied to labeling artifacts.

  3. C1.2.3 Level 2

    Verify that sensitive information in labels is redacted, anonymized, or encrypted before being used in any labeling artifact.

C1.3 Training Data Quality and Security Assurance

Quality and security assurance controls help detect corruption, poisoning, labeling errors, and exploitable dataset patterns before they affect model behavior. Pipelines should combine automated validation, poisoning detection, label quality checks, and bias analysis.

  1. C1.3.1 Level 2

    Verify that training and fine-tuning pipelines implement poisoning detection techniques to identify potential data poisoning or unintentional corruption in training data.

  2. C1.3.2 Level 2

    Verify that automatically generated labels are subject to confidence thresholds and consistency checks to detect misleading or low-confidence labels.

  3. C1.3.3 Level 2

    Verify that models used in security-relevant decisions are evaluated for bias patterns.

  4. C1.3.4 Level 2

    Verify that disallowed content is detected and removed before training.

  5. C1.3.5 Level 3

    Verify that defenses against clean-label poisoning attacks are implemented.

C2 Input Validation

This chapter addresses validation of all inputs as a first-line defense against prompt injection, one of the most damaging attacks on AI systems.

Controls that cite this chapter: M1 Memory Validation & Sanitization, M4 Prompt Hardening & Jailbreak Prevention, M9 Distributed Resource Management & Rate Limiting, M11 Content Security & Output Filtering

C2.1 Prompt Injection Defenses

Prompt injection is one of the top risks for AI systems, and defending against it requires a combination of pattern filters, data classifiers, and instruction hierarchy enforcement.

  1. C2.1.1 Level 1

    Verify that input normalization is applied before tokenization or embedding.

  2. C2.1.2 Level 1

    Verify that encoding and representation smuggling in inputs is detected and mitigated. Approved mitigations include canonicalization, strict schema validation, policy-based rejection, or explicit marking.

  3. C2.1.3 Level 1

    Verify that all inputs that could steer model behavior are treated as untrusted and screened by a prompt injection detection ruleset or classifier, with flagged inputs blocked.

  4. C2.1.4 Level 1

    Verify that input length controls prevent content from exceeding the context window. The controls must reject inputs that exceed token limits rather than truncating them.

  5. C2.1.5 Level 1

    Verify that the system implements a character set restriction for all inputs. The restriction must use an allow-list approach derived from the languages and use cases the system supports, permitting only characters that are explicitly required.

  6. C2.1.6 Level 2

    Verify that the system enforces an instruction hierarchy in which system and developer messages override user instructions and other untrusted inputs, even after user instructions have been processed. Untrusted content cannot acquire higher instruction priority through retrieval, tool processing, or persistence across conversation turns.

  7. C2.1.7 Level 2

    Verify that reserved special tokens are encoded as literal characters and cannot be injected into the model context.

  8. C2.1.8 Level 3

    Verify that the system can detect many-shot jailbreaking patterns.

C2.2 Content & Policy Screening

Syntactically valid prompts may still request disallowed content such as policy-violating instructions, harmful material, or restricted information. Input-side content screening prevents such prompts from reaching the model.

  1. C2.2.1 Level 1

    Verify that every prompt is scored by a content classifier for violence, self-harm, hate, and sexual content against configurable thresholds. Prompts that exceed those thresholds are rejected or sanitized before reaching the model context.

  2. C2.2.2 Level 1

    Verify that prompt content classification is evaluated for unsupported languages.

  3. C2.2.3 Level 2

    Verify that non-text inputs (image/video/audio) are checked for adversarial perturbations, steganographic payloads, hidden or embedded content, or known attack patterns.

  4. C2.2.4 Level 3

    Verify that coordinated attacks spanning multiple input types (e.g., steganographic payloads in images combined with prompt injection in text) are detected and blocked.

C3 Model Lifecycle Management & Change Control

This chapter addresses control of model changes so that unauthorized or unsafe modifications cannot reach production.

Controls that cite this chapter: M12 Secure Model Training & Validation, M13 Secure Development Lifecycle Integration, M17 Supply Chain Security & Provenance, M18 Incident Response & Recovery Framework, M20 Agent Supply-Chain Integrity

C3.1 Model Authorization & Integrity

Only authorized models with verified integrity should reach production environments.

  1. C3.1.1 Level 1

    Verify that a model registry maintains an inventory of all deployed model artifacts and their origin.

  2. C3.1.2 Level 2

    Verify that all model artifacts (weights, configurations, tokenizers, base models, fine-tunes, adapters, and safety/policy models) are cryptographically signed by authorized entities.

  3. C3.1.3 Level 2

    Verify that model cryptographic signatures are verified at deployment admission and on load.

C3.2 Model Validation & Testing

Models must pass defined security and safety validations before deployment.

  1. C3.2.1 Level 1

    Verify that models undergo automated input validation testing, safety evaluation testing, and output sanitization testing before deployment.

  2. C3.2.2 Level 2

    Verify that models subjected to post-training quantization are re-evaluated against the same safety and alignment test suite on the compressed artifact before deployment.

  3. C3.2.3 Level 3

    Verify that provider model, version, or routing changes trigger security re-evaluation before continued use.

C3.3 Controlled Deployment & Rollback

Model deployments must be controlled, monitored, and reversible to support lifecycle management.

  1. C3.3.1 Level 2

    Verify that production deployments implement rollout mechanisms with automated rollback triggers.

  2. C3.3.2 Level 2

    Verify that rollback capabilities restore the complete model state.

  3. C3.3.3 Level 2

    Verify that model versions running in parallel use isolated runtime state so that AI-specific shared resources are not shared across deployments.

C3.4 Secure Development Practices

Model development environments must be separated from production environments.

  1. C3.4.1 Level 1

    Verify that AI-specific runtime components are not shared across environment boundaries (e.g., development, staging, production).

  2. C3.4.2 Level 2

    Verify that model training and fine-tuning environments are isolated from production environments.

C3.5 Pipeline Fine-Tuning

Fine-tuning pipelines are high-privilege operations that can alter deployed model behavior at scale. Multi-stage pipelines compound this risk because a compromise at any intermediate stage produces a subtly altered artifact that subsequent stages accept.

  1. C3.5.1 Level 2

    Verify that models used in RLHF fine-tuning are versioned and integrity-verified before use in a training run.

  2. C3.5.2 Level 3

    Verify that RLHF training stages include automated detection of reward hacking or reward model over-optimization.

  3. C3.5.3 Level 3

    Verify that in multi-stage fine-tuning pipelines, each stage's output is integrity-verified before it is consumed by the next stage.

  4. C3.5.4 Level 3

    Verify that fine-tuning checkpoints are registered as distinct artifacts.

C4 Infrastructure, Configuration & Deployment Security

This chapter addresses hardening AI-specific infrastructure components against model theft, data leakage, and cross-tenant contamination.

Controls that cite this chapter: M2 Tool Sandboxing & Isolation, M10 Defense-in-Depth Architecture & Trust Boundaries, M13 Secure Development Lifecycle Integration, M14 Runtime Security Controls & Sandboxing

C4.1 AI Workload Sandboxing & Validation

Untrusted AI models must be isolated in secure sandboxes, and sensitive AI workloads protected using trusted execution environments (TEEs) and confidential computing technologies.

  1. C4.1.1 Level 1

    Verify that AI models execute in isolated sandboxes.

  2. C4.1.2 Level 1

    Verify that model artifact loading enforces an explicit allow-list of serialization formats that do not permit arbitrary code execution during deserialization.

  3. C4.1.3 Level 3

    Verify that workload attestation is performed before model loading to provide proof that the execution environment has not been tampered with.

  4. C4.1.4 Level 3

    Verify that confidential inference services protect model weights during runtime through isolated execution environments.

C4.2 AI Hardware Security

AI-specific hardware components, including GPUs, TPUs, and specialized AI accelerators, must be secured.

  1. C4.2.1 Level 2

    Verify that AI accelerator (GPU) firmware is version-pinned, signed, and attested at boot.

  2. C4.2.2 Level 3

    Verify that execution within a trusted execution environment (TEE) provides hardware-enforced isolation, memory encryption, and integrity protection.

  3. C4.2.3 Level 3

    Verify that AI accelerator (GPU) integrity is validated using hardware-based attestation mechanisms before each workload executes.

  4. C4.2.4 Level 3

    Verify that accelerator (GPU) memory is isolated between workloads through partitioning mechanisms with memory sanitization between jobs.

  5. C4.2.5 Level 3

    Verify that accelerator interconnects are restricted to approved topologies and authenticated endpoints.

C4.3 Edge & Distributed AI Security

Distributed AI deployments, including edge computing, federated learning, and multi-site architectures, must be secured.

  1. C4.3.1 Level 1

    Verify that edge AI devices authenticate to central infrastructure using strong authentication mechanisms.

  2. C4.3.2 Level 2

    Verify that models deployed to edge or mobile devices are cryptographically signed during packaging, and that the on-device runtime validates these signatures or checksums before loading or inference.

  3. C4.3.3 Level 3

    Verify that inference runtimes enforce process, memory, and file access isolation.

  4. C4.3.4 Level 3

    Verify that model weights and sensitive parameters stored locally are encrypted using hardware-backed key stores or secure enclaves.

  5. C4.3.5 Level 3

    Verify that models packaged within mobile, IoT, or embedded applications are encrypted at rest, and decrypted only inside a trusted runtime or secure enclave, preventing direct extraction from the app package or filesystem.

C5 Access Control & Identity for AI Components & Users

This chapter addresses access control challenges that AI systems introduce beyond traditional application security.

Controls that cite this chapter: M3 Secure Inter-Agent Communication, M7 Zero Trust & Least Privilege Access, M10 Defense-in-Depth Architecture & Trust Boundaries, M11 Content Security & Output Filtering, M15 Agent Identity & Authentication Framework

C5.1 Authentication

AI agents and human users accessing resources must be properly authenticated and authorized for their level of access.

  1. C5.1.1 Level 3

    Verify that high-risk AI operations (model deployment, weight export, training data access, production configuration changes) require step-up authentication.

  2. C5.1.2 Level 3

    Verify that AI agents in federated or multi-system deployments authenticate using short-lived, minimal-scoped, cryptographically signed tokens.

C5.2 AI Resource Authorization & Classification

The caller's authorization context must be enforced through AI-specific query pipelines (RAG retrieval, embedding lookups, inference chains) so the system does not return data the caller is not entitled to access.

  1. C5.2.1 Level 2

    Verify that every AI resource (datasets, endpoints, vector collections, embedding indices, compute instances) enforces access controls with explicit allow-lists and default-deny policies.

  2. C5.2.2 Level 2

    Verify that retrieval pipelines (e.g., RAG queries, embedding lookups) enforce the end-user's authorization context at each retrieval and assembly stage, rather than relying solely on the service account's permissions.

  3. C5.2.3 Level 2

    Verify that sensitive data is retrieved via retrieval pipelines (e.g., RAG queries, embedding lookups) to prevent permanent storage in models.

  4. C5.2.4 Level 2

    Verify that post-inference filtering mechanisms prevent responses from including data that the requester is not authorized to receive.

  5. C5.2.5 Level 2

    Verify that the policy decision point for agent authorization is isolated from the agent's execution environment.

  6. C5.2.6 Level 3

    Verify that privileged access to model weights, training pipelines, and production AI configuration is granted just in time, with a defined maximum session duration and automatic expiry. Zero Standing Privilege (ZSP) to these resources is encouraged.

  7. C5.2.7 Level 3

    Verify that data classification labels propagate to downstream resources (embeddings, prompt caches, model outputs).

C5.3 Multi-Tenant Isolation

Cross-tenant information leakage through AI-specific shared infrastructure, such as inference caches and shared model state, must be prevented.

  1. C5.3.1 Level 2

    Verify that shared model serving infrastructure prevents one tenant's fine-tuning, inference, or embedding operations from influencing or observing another tenant's operations.

  2. C5.3.2 Level 3

    Verify that one tenant cannot influence or observe another tenant's operations through shared compute resources. Satisfying this requirement typically requires hardware partitioning, confidential computing, or dedicated per-tenant compute allocation.

C6 Supply Chain Security for Models

This chapter addresses defending against AI supply chain attacks that exploit third-party models, frameworks, or datasets to embed backdoors, bias, or exploitable code.

Controls that cite this chapter: M13 Secure Development Lifecycle Integration, M17 Supply Chain Security & Provenance, M19 MCP Server Hardening & Tool Provenance, M20 Agent Supply-Chain Integrity

C6.1 Model Artifact Integrity

Third-party model origins must be authenticated and checked for hidden behavior before fine-tuning or deployment, and AI artifacts should be downloaded only from approved sources.

  1. C6.1.1 Level 1

    Verify that models are scanned for malicious code before import.

  2. C6.1.2 Level 1

    Verify that model weights, datasets, and fine-tuning adapters are downloaded only from approved sources.

  3. C6.1.3 Level 2

    Verify that every third-party model artifact can be integrity-verified.

  4. C6.1.4 Level 2

    Verify that models pass a behavioral acceptance test suite before being promoted to any non-development environment.

C6.2 AI BOM & Supply Chain Monitoring

Detailed AI-specific bills of materials must be generated and signed, with readiness to respond to supply chain compromise events.

  1. C6.2.1 Level 1

    Verify that every model artifact publishes a version-controlled, machine-readable AI BOM listing datasets, weights, licenses, and data-origin statements.

  2. C6.2.2 Level 2

    Verify that AI BOMs are cryptographically signed before deployment.

  3. C6.2.3 Level 2

    Verify that AI BOM completeness checks fail the build if any component metadata is missing.

C7 Model Behavior, Output Control & Safety Assurance

This chapter addresses constraining, validating, and monitoring model outputs so that unsafe, malformed, or high-risk responses cannot reach users or downstream systems.

Controls that cite this chapter: M5 Multi-Stage Reasoning Validation, M11 Content Security & Output Filtering, M16 Behavioral Monitoring & Ethics Framework

C7.1 Output Format Enforcement

Model outputs must be structured and validated to reduce downstream injection risk.

  1. C7.1.1 Level 1

    Verify that the application validates all model outputs against a defined schema and rejects any output that does not match.

  2. C7.1.2 Level 1

    Verify that model-generated output is bounded by length limits and termination controls.

  3. C7.1.3 Level 2

    Verify that, when an application uses an AI response to decide whether to perform an action, it does not perform that action if the AI refuses the request, reports a failure, or returns a response the application cannot correctly read or understand.

C7.2 Hallucination Detection & Mitigation

Potentially inaccurate or fabricated content must be detected so unreliable outputs do not reach users or downstream systems.

  1. C7.2.1 Level 2

    Verify that the system assesses the reliability of generated answers using a confidence estimation method.

  2. C7.2.2 Level 2

    Verify that the application automatically blocks answers or switches to a fallback message if the confidence score drops below a defined threshold.

  3. C7.2.3 Level 3

    Verify that for responses classified as high-risk by policy, the system performs an additional verification step.

C7.3 Output Safety

Technical controls must detect and remove unsafe content before it is shown to the user.

  1. C7.3.1 Level 1

    Verify that automated classifiers scan every response and block content that matches defined harmful content categories.

  2. C7.3.2 Level 2

    Verify that output filters detect and block responses that disclose system prompt content or backend data.

  3. C7.3.3 Level 2

    Verify that model-generated output is prevented from triggering outbound requests.

  4. C7.3.4 Level 3

    Verify that model outputs are checked for hidden, encoded, or misleading content created through homoglyphs, formatting, metadata, or structured fields.

C7.4 Source Attribution & Citation Integrity

RAG-grounded outputs must be traceable to their source documents, with cited claims verifiably supported by retrieved content.

  1. C7.4.1 Level 1

    Verify that responses generated using retrieval-augmented generation (RAG) include attribution to the source documents.

  2. C7.4.2 Level 1

    Verify that RAG attributions are derived from retrieval metadata and are not generated by the model, so provenance cannot be fabricated.

  3. C7.4.3 Level 2

    Verify that claims in a RAG response can be traced to the retrieved chunk.

  4. C7.4.4 Level 3

    Verify that generated media is watermarked to prove it was AI-generated.

C8 Memory, Embeddings & Vector Database Security

This chapter addresses securing the embeddings and vector stores that act as semi-persistent and persistent "memory" for AI systems through Retrieval-Augmented Generation (RAG).

Controls that cite this chapter: M1 Memory Validation & Sanitization, M18 Incident Response & Recovery Framework

C8.1 Access Controls on Memory & RAG Indices

Fine-grained access controls and query-time scope enforcement must be applied to every vector collection.

  1. C8.1.1 Level 1

    Verify that vector identifiers and namespaces enforce uniqueness per tenant and prevent cross-tenant collisions.

  2. C8.1.2 Level 2

    Verify that document metadata tags are immutable after the initial write.

  3. C8.1.3 Level 2

    Verify that retrieval operations enforce scope constraints.

C8.2 Embedding Sanitization & Validation

Content must be pre-screened before vectorization, and memory writes treated as untrusted input, to prevent ingestion of unsafe payloads.

  1. C8.2.1 Level 1

    Verify that sensitive fields are detected before embedding and are masked, tokenized, or dropped.

  2. C8.2.2 Level 2

    Verify that vectors that fall outside normal clustering patterns are flagged and quarantined before entering production indices.

  3. C8.2.3 Level 2

    Verify that no component reachable from agent execution can write agent outputs or tool outputs to trusted agent memory without explicit source validation.

  4. C8.2.4 Level 3

    Verify that content crafted to manipulate retrieval results is detected and rejected or quarantined before vectorization.

  5. C8.2.5 Level 3

    Verify that new content written to memory is checked for contradictions with what is already stored and that conflicts trigger alerts.

C8.3 Memory Expiry & Revocation

Retention and revocation must be explicit and enforceable for memory and RAG indices.

  1. C8.3.1 Level 2

    Verify that expired vectors are excluded from retrieval results.

  2. C8.3.2 Level 2

    Verify that memory can be reset.

  3. C8.3.3 Level 3

    Verify that quarantined content is retained but excluded from all retrieval results.

C9 Orchestration & Agentic Security

This chapter addresses ensuring autonomous and multi-agent systems execute only authorized, intended, and bounded actions.

Controls that cite this chapter: M2 Tool Sandboxing & Isolation, M3 Secure Inter-Agent Communication, M5 Multi-Stage Reasoning Validation, M6 Comprehensive Security Monitoring & Auditing, M7 Zero Trust & Least Privilege Access, M8 Adaptive Human-in-the-Loop Controls, M9 Distributed Resource Management & Rate Limiting, M10 Defense-in-Depth Architecture & Trust Boundaries, M14 Runtime Security Controls & Sandboxing, M15 Agent Identity & Authentication Framework, M18 Incident Response & Recovery Framework, M19 MCP Server Hardening & Tool Provenance, M20 Agent Supply-Chain Integrity

C9.1 Execution Budgets, Loop Control, and Circuit Breakers

Runtime expansion (recursion, concurrency, cost) must be bounded, with safe halting on runaway behavior.

  1. C9.1.1 Level 1

    Verify that per-tool quotas and timeouts (e.g., CPU, memory, disk, egress, and execution time) are enforced by the runtime.

  2. C9.1.2 Level 1

    Verify that per-execution budgets (e.g., max recursion depth, token use, and monetary spend) are enforced by the runtime.

  3. C9.1.3 Level 2

    Verify that a swarm-level kill-switch exists that can halt all active agent instances.

C9.2 High-Impact Action Approval and Irreversibility Controls

Privileged, high-impact, or hard-to-reverse agent actions must require trusted approval checkpoints.

  1. C9.2.1 Level 1

    Verify that the agent runtime blocks execution of privileged or irreversible actions until explicit human approval is received and verified.

  2. C9.2.2 Level 2

    Verify that approval requests display canonicalized and complete action parameters, such as diffs, commands, recipients, amounts, resources, and scopes, without truncation or unsafe transformation.

  3. C9.2.3 Level 2

    Verify that each high-impact action has a trusted reversibility classification, such as read-only, reversible, externally reversible, or irreversible.

  4. C9.2.4 Level 2

    Verify that the agent runtime enforces reversibility classifications by blocking, requiring approval, or restricting actions based on their impact and ability to be reversed.

  5. C9.2.5 Level 2

    Verify that any self-modification capability (e.g., prompt rewriting, tool-list changes, parameter updates) is restricted by boundaries that are enforced by the runtime and cannot be changed or bypassed by the agent.

  6. C9.2.6 Level 2

    Verify that agentic systems include an AI-augmented review of planned high-risk actions before execution that adds to, and does not replace, the deterministic policy gate.

  7. C9.2.7 Level 2

    Verify that the AI-augmented review mechanism is protected against manipulation by adversarial inputs, and cannot be overridden or bypassed through prompt injection.

  8. C9.2.8 Level 3

    Verify that approvals are cryptographically bound to action parameters, requester identity, execution context, and a unique single-use nonce, and are rejected if any bound value changes or the nonce is reused.

  9. C9.2.9 Level 3

    Verify that cryptographic key material or credentials used to issue approvals are isolated from the agent runtime, and that the runtime can neither read them nor use them to issue approvals.

  10. C9.2.10 Level 3

    Verify that approval gates for multi-step or multi-agent action chains enforce the highest-impact reversibility classification present anywhere in the chain, where the chain is established by a component outside the control of the agent being gated.

  11. C9.2.11 Level 3

    Verify that agent execution which would exceed the approved action chain is blocked until a new approval is obtained, and that the new approval enforces the highest-impact reversibility classification present across the cumulative chain.

C9.3 Component Isolation and Tool Authorization

Tool and plugin execution, loading, and outputs must be constrained to prevent unauthorized system access and unsafe side effects.

  1. C9.3.1 Level 1

    Verify that each tool/plugin executes in a least-privilege sandbox or is otherwise isolated from model operations.

  2. C9.3.2 Level 1

    Verify that tool outputs are validated against schemas.

  3. C9.3.3 Level 2

    Verify that tool manifests declare required privileges, resource limits, and output validation requirements.

  4. C9.3.4 Level 2

    Verify that the runtime enforces the privileges, resource limits, and output-validation requirements declared in tool manifests.

  5. C9.3.5 Level 2

    Verify that components processing untrusted data are isolated from tool-calling capabilities, ensuring that compromised data processing cannot trigger unauthorized tool invocations.

  6. C9.3.6 Level 2

    Verify that there is architectural separation between processing of untrusted tool outputs and agent operations.

  7. C9.3.7 Level 2

    Verify that external resources named in model output are verified against an approved allow-list or registry before the agent installs or invokes them.

  8. C9.3.8 Level 3

    Verify that policy violations trigger automatic containment of affected tools, such as stopping their execution, isolating them, or revoking their permissions.

  9. C9.3.9 Level 2

    Verify that services reachable from agent or tool sandboxes enforce the defined run, task, or tenant isolation policy on agent-writable state, including object names.

C9.4 Agent and Orchestrator Identity

Every action must be attributable and every mutation detectable.

  1. C9.4.1 Level 2

    Verify that each agent instance has a unique cryptographic identity and authenticates as a first-class principal to downstream systems.

  2. C9.4.2 Level 2

    Verify that agent-initiated actions are cryptographically bound to each step of the execution chain for non-repudiation.

  3. C9.4.3 Level 3

    Verify that agent identity credentials rotate on a defined schedule.

  4. C9.4.4 Level 3

    Verify that agent state persisted between invocations is integrity-protected.

C9.5 Agent Authorization, Delegation, and Continuous Enforcement

Every action must be authorized at execution time and constrained by scope.

  1. C9.5.1 Level 2

    Verify that agent actions are authorized against fine-grained policies enforced by the runtime that restrict which tools an agent may invoke, and which parameter values it may supply.

  2. C9.5.2 Level 2

    Verify that when an agent acts on a user's behalf, the runtime propagates an integrity-protected, scope-limited token that carries the user's authorization context and is enforced at every downstream call.

  3. C9.5.3 Level 2

    Verify that all access control decisions are enforced by application logic or a policy engine, never by the AI model itself.

  4. C9.5.4 Level 2

    Verify that secrets and credentials required by an agent at runtime are not exposed within the model's observable context, including the context window, system prompts, or tool call parameters.

  5. C9.5.5 Level 2

    Verify that inter-agent task delegation is restricted by an explicit authorization policy.

  6. C9.5.6 Level 3

    Verify that long-running agent sessions re-evaluate current backend authorization policy on every privileged action.

  7. C9.5.7 Level 2

    Verify that authority derived through delegation never exceeds the delegating agent's current authority.

C9.6 Shutdown and Graceful Degradation

Shutdown and graceful degradation paths must remain under human control, with mechanisms that stay reliable and are exercised over time.

  1. C9.6.1 Level 1

    Verify that a manual kill-switch mechanism exists to immediately halt AI model inference and outputs.

  2. C9.6.2 Level 2

    Verify that when a human-approval gate is not satisfied within the defined approval time, the system blocks the pending action.

  3. C9.6.3 Level 3

    Verify that kill-switch commands are implemented through an out-of-band channel that is isolated from the agent runtime.

C10 Model Context Protocol (MCP) Security

This chapter addresses secure discovery, authentication, authorization, transport, and use of MCP-based tool and resource integrations.

Controls that cite this chapter: M2 Tool Sandboxing & Isolation, M3 Secure Inter-Agent Communication, M10 Defense-in-Depth Architecture & Trust Boundaries, M15 Agent Identity & Authentication Framework, M19 MCP Server Hardening & Tool Provenance, M20 Agent Supply-Chain Integrity

C10.1 Component Integrity

Only trusted MCP components must be used, and locally launched servers must be secured.

  1. C10.1.1 Level 1

    Verify that MCP components are obtained only from trusted sources and cryptographically verified.

  2. C10.1.2 Level 2

    Verify that only allow-listed MCP servers are permitted.

  3. C10.1.3 Level 2

    Verify that locally launched MCP servers run in a least-privilege sandbox with restricted file system, network, and system access.

C10.2 Authentication & Authorization

Callers must be authenticated and access to MCP servers authorized, following protocol best practices.

  1. C10.2.1 Level 1

    Verify that MCP servers validate access tokens for each request and do not rely on transport security alone.

  2. C10.2.2 Level 1

    Verify that MCP servers validate the presented access token's issuer, audience, expiration, and scope claims in accordance with OAuth 2.1.

  3. C10.2.3 Level 1

    Verify that MCP servers acting as OAuth 2.1 resource servers do not store or persist access tokens or user credentials.

  4. C10.2.4 Level 2

    Verify that MCP tools/list returns only tools permitted by the requester's authorized scopes, and that list responses vary only by authorization context, never by connection.

  5. C10.2.5 Level 2

    Verify that MCP servers enforce access control on every tool invocation, validating that the user's access token authorizes both the requested tool and the specific argument values supplied.

  6. C10.2.7 Level 1

    Verify that MCP servers only accept tokens explicitly issued for them, and do not pass tokens issued for other services through to downstream APIs.

  7. C10.2.8 Level 1

    Verify that MCP servers protect the integrity of requestState that influences authorization, resource access, or business logic, and reject state that fails verification.

  8. C10.2.9 Level 2

    Verify that MCP clients bind persisted OAuth client credentials to the issuing authorization server and do not present them to a different authorization server.

  9. C10.2.10 Level 2

    Verify that MCP servers enforce single use server-side for requestState that must be consumed at most once.

C10.3 Secure Transport

MCP communications must be secured following protocol best practices.

  1. C10.3.1 Level 1

    Verify that authenticated, encrypted streamable HTTP is used for MCP transport for remote services.

  2. C10.3.2 Level 1

    Verify that stdio transport is permitted only in controlled local environments.

  3. C10.3.3 Level 1

    Verify that MCP servers validate both the Origin header and the Host header independently on all HTTP-based transports to prevent DNS rebinding attacks.

  4. C10.3.4 Level 2

    Verify that MCP clients enforce a minimum acceptable protocol version and do not retry with, or fall back to, a protocol version or legacy handshake below that minimum.

  5. C10.3.5 Level 3

    Verify that access tokens between the MCP client and server are sender-constrained using mTLS or DPoP.

  6. C10.3.6 Level 2

    Verify that MCP intermediaries enforcing policy on mirrored request headers confirm that the protocol version indicates a revision requiring header and body validation before trusting those headers.

C10.4 Schema, Message, and Input Validation

Schema, message, and input validation must be enforced in both MCP servers and clients.

  1. C10.4.1 Level 1

    Verify that MCP tools/list and tools/call responses are validated against their declared schemas before being injected into the model context.

  2. C10.4.2 Level 1

    Verify that MCP tools/list and tools/call responses are screened for indirect prompt injection before being injected into the model context.

  3. C10.4.3 Level 1

    Verify that MCP servers reject unrecognized or oversized parameters in function calls.

  4. C10.4.4 Level 2

    Verify that all MCP servers enforce strict schema validation.

  5. C10.4.5 Level 2

    Verify that all MCP transports enforce maximum payload size limits.

  6. C10.4.6 Level 2

    Verify that MCP servers sign tool responses with a unique nonce and timestamp so MCP clients can detect replay attempts.

  7. C10.4.7 Level 2

    Verify that MCP clients present users with explicit consent dialogue and cancellation options upon installation of a local MCP server.

  8. C10.4.8 Level 3

    Verify that MCP clients maintain a snapshot of tool definitions and that any change to a tool definition triggers re-approval before the modified tool can be invoked.

  9. C10.4.9 Level 2

    Verify that MCP proxy servers using a shared upstream OAuth client identity do not allow a requesting MCP client to inherit authorization established for a different MCP client.

  10. C10.4.10 Level 2

    Verify that MCP clients bind each approved MCP server's granted consent and authorization to the connection endpoint approved for that server, and require user re-approval before any further interaction once that endpoint changes.

  11. C10.4.11 Level 1

    Verify that MCP clients reject tool definitions containing invalid mirrored-header annotations, excluding the affected tool rather than the entire tool list.

  12. C10.4.12 Level 2

    Verify that MCP servers reject requests where mirrored request headers do not match the corresponding request body values, after decoding any encoded header values.

  13. C10.4.13 Level 2

    Verify that MCP implementations apply resource bounds to schema validation, such as a maximum schema depth, a cap on the total number of nested schema elements, or a per-validation time budget.

  14. C10.4.14 Level 1

    Verify that MCP implementations do not automatically dereference JSON Schema $ref values that resolve to network URIs, and that any opt-in external resolution is disabled by default and rejects loopback, link-local, and private network addresses.

  15. C10.4.15 Level 2

    Verify that MCP implementations reject schemas that fail to validate due to an unresolved external $ref rather than treating them as permissive.

  16. C10.4.16 Level 2

    Verify that MCP clients and intermediaries reuse cached responses marked with a private cache scope only within the authorization context that produced them, and do not cache results of multi round-trip requests.

  17. C10.4.17 Level 2

    Verify that MCP servers mark cacheable results containing user-specific or authorization-filtered data with a private cache scope.

  18. C10.4.18 Level 2

    Verify that MCP servers do not use form-mode elicitation to request secrets or payment credentials, and that in URL-mode elicitation the user completing the flow is the same user who initiated it.

  19. C10.4.19 Level 1

    Verify that MCP servers exclude end-user credentials and personal data from URL-mode elicitation URLs, and do not issue URLs that are pre-authenticated to a protected resource.

  20. C10.4.20 Level 2

    Verify that MCP clients require explicit user consent and display the full URL before opening any URL-mode elicitation target, and do not pre-fetch the URL or its metadata.

  21. C10.4.21 Level 2

    Verify that MCP clients open URL-mode elicitation targets so that neither the client nor the model can observe the page contents or the user's input.

C11 Adversarial Robustness

This chapter addresses keeping AI systems reliable and abuse-resistant when facing evasion, inference, extraction, or poisoning attacks.

Controls that cite this chapter: M4 Prompt Hardening & Jailbreak Prevention, M9 Distributed Resource Management & Rate Limiting, M11 Content Security & Output Filtering, M12 Secure Model Training & Validation, M16 Behavioral Monitoring & Ethics Framework

C11.1 Model Alignment, Safety, and Robustness Testing and Training

Model resilience to manipulated inputs designed to cause misclassification or policy bypass must be increased, primarily through adversarial testing and robustness benchmarking.

  1. C11.1.1 Level 1

    Verify that the model has undergone alignment and safety training or fine-tuning to prevent the model from generating disallowed content categories.

  2. C11.1.2 Level 1

    Verify that a version-controlled alignment test suite is run on every model update or release.

  3. C11.1.3 Level 1

    Verify that models are evaluated against known adversarial attack techniques relevant to their modality.

  4. C11.1.4 Level 2

    Verify that models are hardened against adversarial inputs.

  5. C11.1.5 Level 3

    Verify that an automated evaluator measures harmful-content rate and flags regressions beyond a defined threshold.

  6. C11.1.6 Level 2

    Verify that adversarial evaluation results are reported alongside results for the same tasks, scored the same way, with no attack applied.

C11.2 Membership-Inference and Model-Inversion Mitigation

The ability to determine whether a specific record was in the training data must be limited, and reconstruction of private training data or sensitive attributes from model outputs prevented.

  1. C11.2.1 Level 1

    Verify that model-inferred sensitive attributes are not directly returned in outputs.

  2. C11.2.2 Level 1

    Verify that inference endpoints enforce per-principal and global rate limits sized to the extraction threat model, and not solely as a generic API throttle.

  3. C11.2.3 Level 2

    Verify that model outputs are calibrated to reduce overconfident predictions.

  4. C11.2.4 Level 2

    Verify that training on sensitive datasets employs differentially-private optimization.

  5. C11.2.5 Level 3

    Verify that membership-inference attack simulations demonstrate that attack accuracy does not exceed random guessing on evaluated data.

C11.3 Model-Extraction Defense

Unauthorized model cloning through API abuse must be detected and deterred using rate limiting, query-pattern analysis, and watermarking.

  1. C11.3.1 Level 1

    Verify that query-pattern analysis feeds an extraction-attempt detector.

  2. C11.3.2 Level 2

    Verify that raw model outputs are not directly exposed beyond the application backend, and that externally visible responses are calibrated to the extraction risk level.

  3. C11.3.3 Level 3

    Verify that model watermarking or fingerprinting techniques are applied so that unauthorized copies can be identified.

  4. C11.3.4 Level 3

    Verify that detection of suspected extraction triggers response measures.

  5. C11.3.5 Level 2

    Verify that inference endpoints constrain sampling and decoding parameters supplied by untrusted callers (e.g., temperature, top-k, top-p, logit bias, candidate/n count) to server-side approved ranges and defaults, rejecting out-of-policy values.

C11.4 Model Runtime Anomaly Detection

Manipulated, backdoored, or adversarial data entering the model context at inference time via external sources must be identified and neutralized.

  1. C11.4.1 Level 2

    Verify that inputs from external or untrusted sources pass through anomaly detection before model inference.

  2. C11.4.2 Level 2

    Verify that inputs flagged as anomalous trigger gating actions.

  3. C11.4.3 Level 3

    Verify that the safety violation feedback pipeline includes poisoning detection and human review gates to prevent adversarial manipulation of the improvement mechanism.

C12 Monitoring, Logging & Anomaly Detection

This chapter addresses real-time and forensic visibility into what the model and other AI components see, do, and return, so that AI-specific threats can be detected and triaged.

Controls that cite this chapter: M1 Memory Validation & Sanitization, M4 Prompt Hardening & Jailbreak Prevention, M6 Comprehensive Security Monitoring & Auditing, M8 Adaptive Human-in-the-Loop Controls, M9 Distributed Resource Management & Rate Limiting, M16 Behavioral Monitoring & Ethics Framework, M18 Incident Response & Recovery Framework

C12.1 Request & Response Logging

AI requests and responses must be logged to create an audit trail and support incident response.

  1. C12.1.1 Level 1

    Verify that AI interactions are logged with session context and AI-specific telemetry.

  2. C12.1.2 Level 2

    Verify that safety filtering and policy decisions are logged with sufficient detail to support audit, debugging, and forensic analysis of content moderation systems.

  3. C12.1.3 Level 2

    Verify that log entries for AI inference events follow a structured, interoperable schema that includes at least the model identifier, token usage (input and output), provider name, and operation type.

  4. C12.1.4 Level 2

    Verify that RAG pipeline retrieval events are logged, including the query, documents retrieved, and knowledge source.

C12.2 Detection and Alerting

AI-specific attack patterns (jailbreak, prompt injection, model extraction, multi-turn trajectory attacks, covert channels over LLM endpoints) must be detected, and security events enriched with AI-specific context so downstream detection and response systems can act on them.

  1. C12.2.1 Level 1

    Verify that the system detects and alerts on known jailbreak patterns, prompt injection attempts, and adversarial inputs.

  2. C12.2.2 Level 2

    Verify that behavioral anomaly detection identifies unusual conversation patterns, excessive retry attempts, or probing behaviors.

  3. C12.2.3 Level 2

    Verify that custom rules detect AI-specific threat patterns for coordinated jailbreak attempts, prompt injection, and system prompt extraction attempts.

  4. C12.2.4 Level 2

    Verify that extraction-alert events include offending query metadata to support investigation.

  5. C12.2.5 Level 2

    Verify that token usage is tracked at granular attribution levels including per user, per session, per feature endpoint, and per team or workspace.

  6. C12.2.6 Level 3

    Verify that LLM API traffic is monitored for covert-channel indicators and communication signatures to identify malware and command-and-control (C2) activity.

C12.3 Model, Data, and Performance Drift Detection

Drift and degradation across model outputs, input distributions, and data schemas must be monitored to identify quality regressions and security-relevant behavioral shifts.

  1. C12.3.1 Level 1

    Verify that data drift detection monitors input distribution changes that may impact model performance, using statistically validated methods matched to the input data type (e.g., KS test or PSI for tabular numeric features, embedding-distance metrics for text or image).

  2. C12.3.2 Level 2

    Verify that hallucination detection monitors identify and flag model outputs that contain factually incorrect, inconsistent, or fabricated information.

  3. C12.3.3 Level 2

    Verify that hallucination rates are tracked as continuous time-series metrics to enable trend analysis and detection of sustained model degradation.

  4. C12.3.4 Level 3

    Verify that unexplained behavioral shifts are distinguished from gradual, expected operational drift.

C12.4 Proactive Security Behavior Monitoring

Security threats arising from proactive (agent-initiated) behavior must be detected and prevented, including pre-execution validation, behavior pattern analysis, and audit trails for approval of security-critical actions.

  1. C12.4.1 Level 2

    Verify that autonomous action triggers include proactive behavior-pattern analysis, security evaluation, and threat-landscape assessment.

  2. C12.4.2 Level 2

    Verify that audit logs capture security-critical proactive actions, including approver identity, timestamp, action parameters, and decision outcomes.

  3. C12.4.3 Level 2

    Verify that kill-switch activations and override commands are logged.

C12.5 Training Data & Model Lifecycle Audit

The provenance and change history of training data, model artifacts, and knowledge sources must be auditable throughout the AI development lifecycle.

  1. C12.5.1 Level 1

    Verify that dataset lineage records each dataset and its components, including all transformations, augmentations, and merges.

  2. C12.5.2 Level 1

    Verify that all labeling activities are recorded in logs.

  3. C12.5.3 Level 2

    Verify that all model changes generate immutable audit records.

  4. C12.5.4 Level 2

    Verify that every ingested document is tagged at write time with source, writer identity, and timestamp.

Source: OWASP AI Security Verification Standard (AISVS) 1.01 · retrieved 2026-11