Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

owasp-ai-testing

БесплатноБез исполняемых скриптовНе проверен

AI trustworthiness testing using OWASP AI Testing Guide v1. Execute 32 test cases across 4 layers (Application, Model, Infrastructure, Data) with practical…

mastepanoskiот mastepanoski★ 74 звезды на GitHub

Об этом скилле

OWASP AI Testing Guide

This skill enables AI agents to perform systematic trustworthiness testing of AI systems using the OWASP AI Testing Guide v1, published November 2025 by the OWASP Foundation.

The AI Testing Guide is the industry's first open standard for AI trustworthiness testing. Unlike vulnerability lists that identify WHAT risks exist, this guide provides a practical, repeatable methodology for HOW to test AI systems. It establishes 32 test cases across 4 layers, each with objectives, payloads, observable responses, and remediation guidance.

The guide's core principle: "Security is not sufficient, AI Trustworthiness is the real objective." AI systems fail for reasons beyond traditional security, including bias, hallucinations, misalignment, opacity, and data quality issues.

Use this skill to execute comprehensive AI testing, validate trustworthiness controls, prepare for audits, and build repeatable test suites for AI systems.

Combine with "OWASP LLM Top 10" for vulnerability identification, "NIST AI RMF" for risk management, or "ISO 42001 AI Governance" for governance compliance.

When to Use This Skill

Invoke this skill when:

  • Performing penetration testing of AI/ML systems
  • Validating AI trustworthiness before production deployment
  • Building automated test suites for AI applications
  • Conducting red-team exercises against AI features
  • Preparing for AI security audits or certifications
  • Testing RAG systems, chatbots, agents, or ML pipelines
  • Evaluating model robustness and adversarial resistance
  • Assessing data quality, bias, and privacy compliance
  • Validating AI supply chain security
  • Testing after model updates, fine-tuning, or data changes

Inputs Required

When executing this testing guide, gather:

  • ai_system_description: Description of the AI system (type, purpose, architecture, models used) [REQUIRED]
  • system_architecture: Technical architecture (APIs, models, vector stores, plugins, data pipelines) [OPTIONAL but recommended]
  • testing_scope: Which layers to test (Application, Model, Infrastructure, Data, or All) [OPTIONAL, defaults to All]
  • model_details: Model provider, version, fine-tuning details, hosting (cloud/self-hosted) [OPTIONAL]
  • data_details: Training data sources, vector databases, data pipelines [OPTIONAL]
  • existing_controls: Current security and trustworthiness measures [OPTIONAL]
  • risk_context: Data sensitivity, regulatory requirements, deployment context [OPTIONAL]
  • testing_authorization: Explicit authorization, environment, and boundaries for active testing [REQUIRED for live or active tests]
  • safe_testing_mode: documentation-only, staging, production-readonly, or production-approved [OPTIONAL, defaults to documentation-only unless authorization is clear]

Authorized Testing Boundary

Only run active tests on systems the user owns or is explicitly authorized to test. If testing_authorization is absent or ambiguous, limit the work to architecture review, checklist assessment, and safe hypothetical payload examples.

For production systems:

  • Prefer read-only validation or a staging environment
  • Do not attempt destructive, persistence, denial-of-service, or data-exfiltration tests unless written authorization and scope are explicit
  • Redact credentials, secrets, PII, and sensitive outputs in reports
  • Stop and report if testing crosses the approved scope

The 4-Layer Testing Framework

The OWASP AI Testing Guide organizes 32 test cases across four layers:

┌─────────────────────────────────────────┐
│        AI Application Layer             │
│   (AITG-APP-01 to AITG-APP-14)         │
│   Prompts, interfaces, outputs, agency  │
├─────────────────────────────────────────┤
│        AI Model Layer                   │
│   (AITG-MOD-01 to AITG-MOD-07)         │
│   Robustness, alignment, privacy       │
├─────────────────────────────────────────┤
│        AI Infrastructure Layer          │
│   (AITG-INF-01 to AITG-INF-06)         │
│   Supply chain, resources, boundaries  │
├─────────────────────────────────────────┤
│        AI Data Layer                    │
│   (AITG-DAT-01 to AITG-DAT-05)         │
│   Training data, privacy, diversity    │
└─────────────────────────────────────────┘

Test Cases

The guide defines 32 test cases across the four layers. Each case includes an objective, payloads/procedure, observable responses, severity guidance, and remediation. The full catalog — with payloads and a P0–P2 priority index — is in references/test-cases.md. Read the layer section you are testing rather than loading all 32 at once.

Layer Prefix Cases Focus
1. Application AITG-APP 14 Prompts, interfaces, outputs, agency
2. Model AITG-MOD 7 Robustness, alignment, privacy
3. Infrastructure AITG-INF 6 Supply chain, resources, boundaries
4. Data AITG-DAT 5 T
Полный SKILL.md на GitHub

Установить owasp-ai-testing в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/report-template.mdreferences/test-cases.md

FAQ

Что делает скилл owasp-ai-testing?

AI trustworthiness testing using OWASP AI Testing Guide v1. Execute 32 test cases across 4 layers (Application, Model, Infrastructure, Data) with practical payloads and remediation.

Как установить скилл owasp-ai-testing?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл owasp-ai-testing запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить owasp-ai-testing с