AI Security Wiki GitHub

Home / Test Case Library

AI Security Vendor Evaluation: Test Case Library

A library of 682 test cases for evaluating AI security products in a controlled proof of concept: 549 cases organised by the 17 layers of the AI lifecycle, tagged with seven buyer-facing use-case domains, and 133 cases in six emerging domains that cut across the layers.

Status: draft for review. Reference identifiers (MITRE ATLAS, OWASP LLM, NIST AI RMF) must be verified against current published versions, and numeric thresholds are starting values to tune to your risk appetite and vendor SLAs.

Start here

  • Reference Index: numbering, field definitions, applicability codes, domain tags, coverage matrix
  • Standard Fields: the wording that cases share (scoring, pass and fail criteria, reviewer notes, standard evidence, per-layer setup). A case shows a field only when it differs; the shared wording that applies is listed, closed, at the end of each case, so a copied case keeps it
  • Appendix: Lab Prerequisites: the lab environment, tooling and fabricated data each layer needs
  • Framework Adoption Guide: how to use the governance and legal layers with ISO/IEC 27001, DPDP, NESA, PDPL or any other framework, plus a crosswalk template
  • Test Your Own Application: the same testing written for an owner who can change the code, with no product or provider language, an adapter template and a plain procedure for each case in the payload kit
  • Payload Kit: attack sets, legitimate requests and a runner for 36 Critical cases, with a baseline-versus-protected comparison you can point at your own application
  • AI Security PoC Test Case Library: a 20-scenario quick-start set for a first PoC, mapped to the layers below
  • Regulatory Crosswalk: UAE and other GCC instruments mapped to controls and to the control themes used in layers L01 to L03
  • EU Regulatory Crosswalk: the AI Act, GDPR and related EU instruments mapped to controls and to the same control themes

Every case names the control it tests, by ID, from the AI Security Control Objectives Library.

To find a specific case, type its ID (for example TC-L08-014) or a keyword into the search box at the top of any page. Each of the 682 cases is indexed individually.

Validation levels

A published case says what to test. It is not evidence that any product passes it, and the size of this library says nothing about how well it protects a real system. Every case therefore shows a Validation Level in its table, so a reader can see how far the case itself has been proven.

Level Meaning Cases now
Documented The scenario, procedure and expected result are written out. No run against a real product is recorded. 646
Executable A runnable payload set exists in the Payload Kit and has been run against the kit's stand-in applications. Those stand-ins are a few regular expressions, not a model, so the result shows the kit works, not that any product is protected. 36
Lab-validated The case has been run against a named application or product version in a lab, and the result and evidence are recorded in the case's Validated Against row. 0
Independently reproduced A second tester, independent of the first, reproduced a lab-validated result on the same or a later version, with their own evidence. 0

The Cases now column is counted when the site is built. Until a case reaches Lab-validated, treat it as untested against any real system, including yours. A case that does not state a level is Documented, or Executable if the kit has a payload file for it; the build fills the level in.

To record a run against a real system, add two rows to the case's table, below Control(s) Tested:

| **Validation Level** | Lab-validated |
| **Validated Against** | <application or product> <version>, <YYYY-MM-DD>, <PASS, FAIL or INCONCLUSIVE>, [evidence](<link to the report or run log>) |

The link check rejects any other level, and rejects a Lab-validated or Independently reproduced case whose Validated Against row has no date or no evidence link. Record failures as well as passes: a FAIL against a named version is still a validated result. Manual checks (inventory, configuration, evidence and attestation cases) are validated the same way, with the inspection record as the evidence.

Layers

Layer Name Primary test focus Cases Critical High Medium Low
L01 Business & Use Cases use-case registry, risk-tiering, business-owner attribution 22 6 10 5 1
L02 Governance & Risk Mgmt policy-to-control mapping, risk register, exceptions workflow 25 7 11 7 0
L03 Legal, Privacy & Compliance UAE/GCC residency, PDPL-type obligations, evidence export, DPIA support, fairness, transparency, human oversight, intellectual property and authority engagement 45 12 25 8 0
L04 Human Interaction Layer browser/workforce AI, user coaching, approval prompts, multimodal input 32 6 16 10 0
L05 AI Applications discovery, app-level runtime protection, output handling 36 8 20 8 0
L06 Agent Orchestration Layer agent and MCP discovery, tool governance, access grant approval, delegation chains, agent-to-agent trust, kill switch 47 19 25 3 0
L07 Prompt & Context Layer prompt injection (direct/indirect), jailbreak, context and memory poisoning, memory governance 45 11 27 7 0
L08 AI Gateway & Security Controls inline policy, DLP, guardrails, guardrail policy ownership, bypass resistance, latency 44 8 27 8 1
L09 Identity & Access Mgmt user and agent (non-human) identity, scoped tokens, RBAC 27 9 15 3 0
L10 Data Layer sensitive-data classification, DLP, lineage, tenant isolation, data quality 35 11 16 8 0
L11 Knowledge & Retrieval Layer RAG poisoning, vector-store access control, retrieval leakage, embedding and index governance 28 6 12 10 0
L12 Model Layer model theft, extraction, adversarial inputs, model scanning, identity for model access, model approval, predictive model drift and privacy attacks 34 7 13 13 1
L13 Training & Fine-Tuning Layer data poisoning, dataset provenance, fine-tune integrity, training job identity 26 4 14 8 0
L14 MLOps / LLMOps Layer pipeline and registry security, CI/CD gates, artifact signing 24 4 14 6 0
L15 Infrastructure Layer GPU/cluster hardening, secrets, network segmentation, sovereignty of control plane 20 8 10 2 0
L16 Supply Chain & Third Party AI-BOM, model and package provenance, third-party SaaS AI risk 26 4 13 9 0
L17 Monitoring, Detection & Response telemetry, SIEM/SOAR integration, AI incident response, forensics, tracing platforms, quality failures 33 4 21 8 0
Total 549 134 289 123 3

Emerging domains

Six further domains cut across the layers and use their own ID series, TC-D##-###. Each case records the lifecycle layers it touches and links to the layer cases it builds on. The layer case tests the platform control; the domain case tests the buyer concern from the domain's own point of view.

Domain Name Focus Cases Critical High Medium Low
D08 AI Red Teaming and Continuous Testing ground-truth accuracy, coverage, judging, reproducibility, CI/CD, safe execution 25 6 16 3 0
D09 Agent and Non-Human Identity Governance registry, sponsors, recertification, drift, delegation, revocation 20 3 13 4 0
D10 Browser and Computer-Use Agents isolation, credentials, action policy, injection via web content, approvals, kill switch 23 9 11 3 0
D11 Multimodal and Voice Input Security images, documents, audio and video as injection and leakage channels, voice authentication, recording governance 22 5 14 3 0
D12 AI Incident Response and Forensics taxonomy, state preservation, replay, scoping, containment, provider coordination, evidence handling 22 9 11 2 0
D13 AI Cost and Abuse Controls attribution, budgets, denial of wallet, key abuse, runaway agents, shadow spend, enforcement 21 5 11 5 0
Total 133 37 76 20 0

Coverage at a glance

Counts are taken from the case index of each layer and domain file. Test method covers all 682 cases; the domain tags below apply to the 549 layer cases.

Test method Cases Meaning
Technical 561 Executed live in the PoC lab
Evidence 107 Verified by configuration, export, workflow or document inspection
Attestation 14 Vendor written declaration, scored lower than demonstrated evidence
Tag Use-case domain Cases tagged
D1 Workforce / Browser AI Governance 56
D2 Developer / IDE AI Security 30
D3 Custom AI Application Runtime Security 200
D4 Model Security / AI Supply Chain 122
D5 Agentic AI / MCP / Tool Governance 93
D6 Data Protection / DLP / Investigation 115
D7 Sovereignty / Compliance / UAE Requirements 177

A case can carry more than one domain tag, so the domain counts add up to more than 549. D2 covers the developer workflow end to end: IDE prompts, assistant extensions, coding agents, MCP configuration, repository policy, pipeline bots and SOC telemetry, with L05 as its primary layer.

Numbering and structure

Layer case IDs take the form TC-L##-###: the lifecycle layer and a sequence within it, for example TC-L08-014. Emerging-domain case IDs take the form TC-D##-###, for example TC-D10-007. IDs are unique across the library and stable once issued. Where a case is the detailed version of a quick-start scenario, the Quick-Start Scenario field links to it by ID, for example AI-POC-ID-004.

Each case records: lifecycle layer, use-case domains, test method (Technical, Evidence or Attestation), vendor applicability (E endpoint or browser agent, G inline gateway or proxy, A application or API-level control, P posture or AI-SPM, R red-team tool, W governance workflow), risk, scenarios, test data, numbered procedure, expected results, pass and fail criteria, scoring, evidence to capture, and reference mappings.

Layers L01 to L03 are framework-neutral. Their cases use an Expected Result field in place of Expected Detection, and add Control Theme, Applicable Requirement and Framework Crosswalk fields for the assessor to complete.

Safety boundary

All test cases use synthetic, non-functional or clearly marked test data only. No real customer, employee, financial, health or credential data should be used or substituted during execution. Probe and simulation scripts are harmless lab tools. Never run them against production systems.

How to use

  1. Read the Reference Index and decide which layers, use-case domains and emerging domains are in scope.
  2. Build the lab prerequisites each layer calls for (mock providers, test cluster, lab SIEM, fabricated data).
  3. Run each case, capture the evidence listed, and score 0, 3 or 5 (or N/A where the vendor architecture cannot perform the test by design).
  4. For layers L01 to L03, complete the Applicable Requirement and Framework Crosswalk fields first.

Pages in This Section

Reference IndexReference index for the AI security test case library: ID numbering, field definitions, vendor applicability codes, domain tags and coverage matrix. Framework Adoption GuideHow to map AI governance and compliance test cases to ISO/IEC 27001, DPDP, NESA, PDPL and other frameworks, with a reusable crosswalk template. Appendix: Lab PrerequisitesLab prerequisites for AI security PoC testing: the environment, mock services, tooling and synthetic data needed for each AI lifecycle layer. L01 Business & Use Cases22 AI security test cases for the Business & Use Cases: use-case registry, risk-tiering, business-owner attribution. Payload Kit: Runnable Attack Sets for Critical CasesPayload files and a small runner for 36 Critical test cases, with a baseline-versus-protected comparison you can point at your own application. L02 Governance & Risk Mgmt25 AI security test cases for the Governance & Risk Mgmt: policy-to-control mapping, risk register, exceptions workflow. Test Your Own ApplicationHow to run the Critical test cases against an application you built or operate: no product, tenant or provider language, with a setup guide, an adapter template and a plain-language procedure for each case in the payload kit. L03 Legal, Privacy & Compliance45 AI security test cases for the Legal, Privacy & Compliance: UAE/GCC residency, PDPL-type obligations, evidence export, DPIA support, fairness… Standard FieldsThe wording that test cases share and therefore leave out: scoring, pass and fail criteria, reviewer notes, standard evidence and the setup each layer assumes. L04 Human Interaction Layer32 AI security test cases for the Human Interaction Layer: browser/workforce AI, user coaching, approval prompts, multimodal input. L05 AI Applications36 AI security test cases for the AI Applications: discovery, app-level runtime protection, output handling. L06 Agent Orchestration Layer47 AI security test cases for the Agent Orchestration Layer: agent and MCP discovery, tool governance, delegation chains, agent-to-agent trust, kill switch. L07 Prompt & Context Layer45 AI security test cases for the Prompt & Context Layer: prompt injection (direct/indirect), jailbreak, context and memory poisoning. L08 AI Gateway & Security Controls44 AI security test cases for the AI Gateway & Security Controls: inline policy, DLP, guardrails, bypass resistance, latency. L09 Identity & Access Mgmt27 AI security test cases for the Identity & Access Mgmt: user and agent (non-human) identity, scoped tokens, RBAC. L10 Data Layer35 AI security test cases for the Data Layer: sensitive-data classification, DLP, lineage, tenant isolation. L11 Knowledge & Retrieval Layer28 AI security test cases for the Knowledge & Retrieval Layer: RAG poisoning, vector-store access control, retrieval leakage. L12 Model Layer34 AI security test cases for the Model Layer: model theft, extraction, adversarial inputs, model scanning, identity for model access, predictive model drift… L13 Training & Fine-Tuning Layer26 AI security test cases for the Training & Fine-Tuning Layer: data poisoning, dataset provenance, fine-tune integrity, training job identity. L14 MLOps / LLMOps Layer24 AI security test cases for the MLOps / LLMOps Layer: pipeline and registry security, CI/CD gates, artifact signing. L15 Infrastructure Layer20 AI security test cases for the Infrastructure Layer: GPU/cluster hardening, secrets, network segmentation, sovereignty of control plane. L16 Supply Chain & Third Party26 AI security test cases for the Supply Chain & Third Party: AI-BOM, model and package provenance, third-party SaaS AI risk. L17 Monitoring, Detection & Response33 AI security test cases for the Monitoring, Detection & Response: telemetry, SIEM/SOAR integration, AI incident response, forensics. D08 AI Red Teaming and Continuous Testing25 AI security test cases for AI Red Teaming and Continuous Testing: ground-truth accuracy, coverage, judging, reproducibility, CI/CD, safe execution. D09 Agent and Non-Human Identity Governance20 AI security test cases for Agent and Non-Human Identity Governance: registry, sponsors, recertification, drift, delegation, revocation. D10 Browser and Computer-Use Agents23 AI security test cases for Browser and Computer-Use Agents: isolation, credentials, action policy, injection via web content, approvals, kill switch. D11 Multimodal and Voice Input Security22 AI security test cases for Multimodal and Voice Input Security: images, documents, audio and video as injection and leakage channels, voice… D12 AI Incident Response and Forensics22 AI security test cases for AI Incident Response and Forensics: taxonomy, state preservation, replay, scoping, containment, provider coordination, evidence… D13 AI Cost and Abuse Controls21 AI security test cases for AI Cost and Abuse Controls: attribution, budgets, denial of wallet, key abuse, runaway agents, shadow spend, enforcement.