Skip to content
Agentmart
Submit a tool

pentest-ai-llm-security

AI/LLM application security testing — prompt injection, jailbreaking, data exfiltration, and insecure output handling per OWASP LLM Top 10.

Skill by jd-opensource

IndexedApache-2.0★ 315
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/jd-opensource-pentest-ai-llm-security

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

AI/LLM application security testing — prompt injection, jailbreaking, data exfiltration, and insecure output handling per OWASP LLM Top 10.

Use cases: testing, data, ml, security

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/pentest-ai-llm-security

What's inside

Skill name
pentest-ai-llm-security
Description
AI/LLM application security testing — prompt injection, jailbreaking, data exfiltration, and insecure output handling per OWASP LLM Top 10.
License
Apache-2.0
Instructions
57 lines in SKILL.md · view on GitHub

Files (3)

  • SKILL.md
  • tools.md · references/
  • workflows.md · references/

SKILL.md (first lines)

# Pentest AI/LLM Security

## Purpose
AI-integrated applications introduce entirely new attack surfaces. Prompt injection is the "SQLi of AI." Neither Shannon nor any existing skill addresses this domain. OWASP LLM Top 10 (2025) defines the methodology.

## Prerequisites

### Authorization Requirements
- **Written authorization** with AI/LLM testing scope explicitly included
- **Model access details** — API endpoints, model versions, tool/function access
- **Data sensitivity classification** — what data the LLM can access
- **Rate limit awareness** — LLM API costs can escalate quickly

### Environment Setup
- Garak for automated LLM vulnerability scanning
- Burp Suite for API interception of LLM requests/responses
- Python scripts for custom prompt injection payloads
- Local proxy to capture full request/response chains

## Core Workflow
1. **Integration Point Discovery**: Identify all LLM integration points — chat interfaces, content generation, RAG pipelines, AI search, code completion, summarization.
2. **Direct Prompt Injection**: Override system prompts, extract system prompt content, inject instructions that change model behavior.
3. **Indirect Prompt Injection**: Embed malicious instructions in documents/emails/web pages the LLM processes, poisoned RAG context.
4. **Data Exfiltration**: Extract training data, PII from context windows, other users' conversation history, system config details.
5. **Insecure Output Handling**: LLM output rendered as HTML (XSS via LLM), used in SQL queries (SQLi via LLM), used in system commands.
6. **Excessive Agency**: LLM with tool access performing unauthorized actions, privilege escalation through tool chains, resource abuse.
7. **Classification**: Document findings with OWASP LLM Top 10 (2025) classification and remediation guidance.

## OWASP LLM Top 10 (2025) Coverage

| Category | Test Focus | Status |
|----------|-----------|--------|
| LLM01 Prompt Injection | Direct and indirect injection | ✅ |
| LLM02 Sensitive Information Disclosure | Data exfiltration, PII leakage | ✅ |
| LLM03 Supply Chain | Model provenance, plugin trust | ✅ |
| LLM04 Data and Model Poisoning | Training data integrity | ✅ |
| LLM05 Improper Output Handling | XSS/SQLi via LLM output | ✅ |
| LLM06 Excessive Agency | Unauthorized tool use | ✅ |
| LLM07 System Prompt Leakage | System prompt extraction | ✅ |
| LLM08 Vector and Embedding Weaknesses | RAG poisoning | ✅ |
| LLM09 Misinformation | Hallucination exploitation | ✅ |
| LLM10 Unbounded Consumption | Resource exhaustion | ✅ |

## Tool Categories

| Category | Tools | Purpose |
|----------|-------|---------|
| LLM Scanning | Garak, rebuff | Automated prompt injection testing |
| API Interception | Burp Suite, mitmproxy | LLM API request/response capture |
| Prompt Fuzzing | Custom Python scripts | Payload generation and testing |
| Output Analysis | Browser DevTools, Burp | Insecure output rendering detection |

## References
- `references/tools.md` - Tool function signatures and parameters
- `references/workflows.md` - Attack pattern definitions and test vectors

From jd-opensource/JoySafeter, Apache-2.0.

More from jd-opensource/JoySafeter

Compare and alternatives

    Featured in

    Signals

    Stars
    315
    Forks
    56
    Open issues
    17
    Last commit (this folder)
    Feb 11, 2026 (8 months ago)
    Last release
    Jul 2, 2026 (3 months ago)

    From GitHub (fetched Oct 24, 2026).

    Details

    License
    Apache-2.0
    First seen
    Oct 24, 2026
    Last checked
    Oct 24, 2026

    More from jd-opensource

    Cite this page

    pentest-ai-llm-security skill. Agent Mart. https://agentmart.dev/skills/jd-opensource-pentest-ai-llm-security (last updated 2026-10-24)