agentleFS
haoithaoit/agentic-autopentest/skills/llm-pentest/SKILL.md

llm-pentest

Skill11 starsChanged 19 days agoMITView on GitHub

LLM & AI red-teaming / penetration-testing knowledge base. Use for authorised security testing, red-teaming, or vulnerability analysis of LLM and AI systems — prompt injection (direct & indirect), jailbreaking, multi-turn (Crescendo/Echo Chamber), token smuggling, output-control & data exfiltration, RAG/vector poisoning, AI agent & MCP exploitation, agent-to-agent injection, multimodal & voice attacks, reasoning-model (chain-of-thought) attacks, model extraction/inversion/membership inference, data poisoning & backdoors, evasion & guardrail bypass, coding-assistant/IDE attacks, browser-agent attacks, malicious model files & ML supply chain, hardware/GPU & network side-channels, denial-of-wallet, attacking LLM-as-a-judge, deepfake social engineering, and defenses/guardrails & reporting mapped to the OWASP LLM Top 10, MITRE ATLAS and NIST AI RMF. Reach for it whenever a task involves finding, understanding, exploiting, defending, or explaining an LLM/AI vulnerability, or needs attack techniques, methodology, payload categories, or remediation for AI systems.

  • In this repository2 other files it gives its agents.

The file

Files
SKILL.md

LLM Pentest

A practical, reference-grade knowledge base for red-teaming and penetration-testing LLM / AI systems. It combines a Foundations primer (the core attack surface, §1–§22) with 21 deep-dive supplements on the newest 2024–2025 techniques, CVEs, and real-world incidents. Everything is written for authorised testing and education, with payload bodies kept as [RESTRICTED]/canary placeholders — the techniques transfer between targets; operational strings do not.

How to use this skill

  1. Start from the Foundations primer — references/00-foundations.md. Its 22 sections (§1–§22) map the whole surface: fundamentals, prompt injection, jailbreaking, multi-turn, output control, token smuggling, social engineering, the OWASP LLM Top 10, methodology, automation, RAG, agents, MCP, multimodal, recon, poisoning, extraction, evasion, safety, defenses, reporting, A2A.
  2. Go deep with the supplements (references/s01…s21) when you need a specific modern technique, CVE, or incident. The supplements cross-reference the primer as Foundations §N.
  3. Each entry follows one shape: mechanism → maps to a foundation → what to test (recon + technique ladder + payload categories) → defenses → sources. Use the "what to test" checklists directly on an authorised engagement, and the "maps to OWASP/ATLAS" lines to write the report.
  4. Scoring & reporting: severity = impact × exploitability × persistence × blast radius × bypass difficulty; map every finding to OWASP LLM Top 10 + a MITRE ATLAS technique ID (see §21).

Supplement index (2024–2025 deep dives)

#SupplementFocus
S01Modern jailbreak familiesPolicy Puppetry, Echo Chamber, Deceptive Delight, Bad Likert Judge, Context Compliance, FlipAttack, Best-of-N, PAP, GOAT
S02Reasoning-model attacksH-CoT, chain-of-thought hijacking, think-tag injection (o1/o3, DeepSeek-R1)
S03Coding-assistant & IDE attacksRules File Backdoor, slopsquatting, CurXecute, MCPoison
S04AI browser-agent attacksComet, Atlas, Operator, screenshot injection, CometJacking
S05Memory & persistence (promptware)SpAIware, MINJA, MemGhost, persistent memory poisoning
S06Guardrail & classifier evasionemoji/variation-selector smuggling, TokenBreak, measured bypass rates
S07Harmful fine-tuning & model tamperingjailbreak-tuning, shallow-safety removal, abliteration
S08Agentic casebook & exfiltration channelsEchoLeak, ForcedLeak, AgentFlayer, ShadowLeak + exfil catalog
S09Voice, audio & real-time attacksAudioJailbreak, over-the-air, flanking, auditory injection
S10Malicious model files & ML supply chainpickle RCE, Sleepy Pickle, nullifAI, ShadowLogic
S11Malicious LLMs / Dark AIWormGPT, FraudGPT, GhostGPT, jailbreak-as-a-service
S12Deepfakes & synthetic-media SEvoice cloning, real-time video deepfakes, KYC bypass
S13Provenance & watermark robustnessC2PA, SynthID, AI-detector evasion (defensive framing)
S14Agent-framework & LLM-app CVEsLangChain, LlamaIndex RCE/SSRF/SQLi CVEs
S15Indirect-injection delivery-vector catalog20-channel recon checklist
S16Hardware & GPU infrastructure attacksGPU Rowhammer, LeftoverLocals, bit-flips, TEE
S17Network traffic side-channelstoken-length response reconstruction from encrypted streams
S18Autonomous offensive AI agentsone-day exploit agents, Big Sleep, XBOW
S19Federated-learning attacksgradient inversion, Byzantine/model poisoning, FL backdoors
S20Availability / denial-of-wallet / spongeoutput-inflation, cost amplification, tool-loop bombs
S21Attacking LLM-as-a-judgeJudgeDeceiver, judge bias, RLAIF reward hacking

Scope & ethics

For authorised penetration testing, red-teaming, security research, CTFs, and defensive education only. Payloads are kept at concept/canary level by design. Dual-use topics (dark AI, deepfakes, offensive agents, watermark robustness) are written as threat intelligence and defense, not operational how-to. Figures are vendor/author self-reported and flagged; verify against the cited primary sources before relying on them.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.