Skip to content
Skill

AI threat testing

Guides an agent through authorized OWASP LLM Top 10 security tests of AI applications

AI threat testing is an open-source agent skill for security. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
641
Last commit
License
MIT
Listing updated

Similar skills

About AI threat testing

This skill organizes offensive security testing of LLM-based applications around the OWASP LLM Top 10 (2025 edition). It maps each category to an attack surface, such as prompt injection, sensitive information disclosure, supply chain weaknesses, poisoning, improper output handling, excessive agency, and unbounded consumption including model extraction. A catalogue file controls which playbook covers which category, and two extra local classes cover monitoring evasion and adversarial perturbation of non-text input.

The skill offers three workflows: a full assessment covering all categories, a focused test of a single category, and a supply chain audit that inventories dependencies, scans for CVEs, and checks model provenance. It also describes evidence capture (screenshots, network logs, API responses, console output) and a report format with CVSS-scored findings and proof-of-concept scripts. It is written to complement a general pentest workflow rather than replace it.

The skill is documentation-driven. The repository includes reference playbooks and a catalogue file, and the instructions assume a target LLM application URL, API endpoint, or local model, along with written authorization for the test.

When your agent uses it

Offensive AI security testing and exploitation framework. Systematically tests LLM applications for OWASP Top 10 vulnerabilities including prompt injection, model extraction, data poisoning, and supply chain attacks. Integrates with pentest workflows to discover and exploit AI-specific threats.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 26 files (112 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

Copy the skill folder to ~/.claude/skills/ai-threat-testing to use it in all your projects:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/transilienceai/communitytools.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/ai-threat-testing &&
cp -R "$tmp/skills/ai-threat-testing" ~/.claude/skills/ai-threat-testing &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/ai-threat-testing inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/ai-threat-testing to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/transilienceai/communitytools.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/ai-threat-testing &&
cp -R "$tmp/skills/ai-threat-testing" ~/.agents/skills/ai-threat-testing &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/ai-threat-testing inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/ai-threat-testing to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/transilienceai/communitytools.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/ai-threat-testing &&
cp -R "$tmp/skills/ai-threat-testing" ~/.cursor/skills/ai-threat-testing &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/ai-threat-testing inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/transilienceai/communitytools.git --path skills/ai-threat-testing

Or copy the folder to ~/.gemini/skills/ai-threat-testing yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/ai-threat-testing:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/transilienceai/communitytools.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/ai-threat-testing &&
cp -R "$tmp/skills/ai-threat-testing" ~/.copilot/skills/ai-threat-testing &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/ai-threat-testing inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/transilienceai/communitytools.git

Then copy communitytools/skills/ai-threat-testing into your agent's skills folder as ai-threat-testing. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

OWASP LLM Top 10 coverage
Maps testing areas to the 2025 edition of the OWASP LLM Top 10 categories.
Focused category testing
Runs a single vulnerability category when a narrower assessment is needed.
Supply chain audit
Inventories dependencies, scans for CVEs, and verifies model provenance.
Evidence capture
Collects screenshots, network logs, API responses, errors and console output.
Reproducible findings report
Produces findings with CVSS scores, PoC scripts and remediation guidance.
Pentest integration
Designed to run alongside a general pentest workflow for combined assessments.

Good for

  • Test a chatbot for prompt injection and system prompt extraction
  • Audit an LLM app's plugins and dependencies for known CVEs
  • Check whether an AI agent can be pushed into unauthorized tool actions
  • Assess an LLM API for token flooding and model extraction risk
  • Review an MCP server debugging endpoint for exposed command execution

AI threat testing FAQ

Does AI threat testing require authorization before testing?

Yes. The skill lists written authorization as required before any testing and says testing must stay within defined scope.

What inputs does AI threat testing need?

A target such as an LLM application URL, an API endpoint or a local model, plus a chosen scope: full OWASP Top 10, a specific vulnerability, or supply chain.

How does AI threat testing fit with a pentest?

It is described as an extension of the /pentest skill, adding AI-specific tests and combining findings into one report.

Does AI threat testing run scripts itself?

The skill folder does not include scripts; its instructions and reference playbooks guide the agent's testing.

How do I install AI threat testing in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/ai-threat-testing to use it in all your projects, or to .claude/skills/ai-threat-testing in one project.

Does AI threat testing run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use AI threat testing?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to AI threat testing?

The closest alternatives to AI threat testing are Agentic safety audit, API security, Agent owasp compliance, Security review and Awesome hacking resources.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from transilienceai/communitytools

  1. Guides an agent through security testing of REST, GraphQL, WebSocket and LLM APIs

    • Open source
    • 641 GitHub stars
    • Security
  2. Chains confirmed single-asset findings into multi-hop attack paths across an organization

    • Open source
    • 641 GitHub stars
    • Security
  3. Guides an agent through authentication security testing: JWT, OAuth, 2FA, SAML and CAPTCHA

    • Open source
    • 641 GitHub stars
    • Security
  4. Guides an agent through Solidity smart contract security testing and blockchain CTF

    • Open source
    • 641 GitHub stars
    • Security
  5. Guides an agent through testing web apps for XSS, CSRF, CORS, clickjacking and more

    • Open source
    • 641 GitHub stars
    • Security