pentest-ai-llm-security
Skill312 starsChanged 10 months agoApache-2.0View on GitHub
AI/LLM application security testing — prompt injection, jailbreaking, data exfiltration, and insecure output handling per OWASP LLM Top 10.
In this repository31 other files it gives its agents.
- brainstormingSkill
- executing-plansSkill
- openclaw-security-checkerSkill
- openclaw-threat-detectSkill
- pdfSkill
- pentest-api-deepSkill
- pentest-business-logicSkill
- pentest-client-advancedSkill
- pentest-cloud-infrastructureSkill
- pentest-config-hardeningSkill
- pentest-ctf-binarySkill
- pentest-ctf-cryptoSkill
- pentest-ctf-forensicsSkill
- seclens-enterprise-webSkill
- pentest-exploit-validationSkill
- pentest-http-smugglingSkill
- pentest-mobile-appSkill
- pentest-network-internalSkill
- pentest-osint-reconSkill
- pentest-race-conditionsSkill
- pentest-recon-attack-surfaceSkill
- pentest-secrets-exposureSkill
- pentest-supply-chainSkill
- pentest-vuln-verify-testSkill
- pentest-whitebox-code-reviewSkill
- planning-with-filesSkill
- pptxSkill
- skill-creatorSkill
- skill-security-auditorSkill
- writing-plansSkill
- xlsxSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 32
Classification: Document findings with OWASP LLM Top 10 (2025) classification and remediation guidance.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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
- Integration Point Discovery: Identify all LLM integration points — chat interfaces, content generation, RAG pipelines, AI search, code completion, summarization.
- Direct Prompt Injection: Override system prompts, extract system prompt content, inject instructions that change model behavior.
- Indirect Prompt Injection: Embed malicious instructions in documents/emails/web pages the LLM processes, poisoned RAG context.
- Data Exfiltration: Extract training data, PII from context windows, other users' conversation history, system config details.
- Insecure Output Handling: LLM output rendered as HTML (XSS via LLM), used in SQL queries (SQLi via LLM), used in system commands.
- Excessive Agency: LLM with tool access performing unauthorized actions, privilege escalation through tool chains, resource abuse.
- 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 parametersreferences/workflows.md- Attack pattern definitions and test vectors
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

