AI ML Free Resources For Security And Prompt Injection
#🛡️ AI/ML Pentesting Roadmap (2026 Edition)
A comprehensive, structured guide to learning AI/ML security and penetration testing — from zero to practitioner. Updated with the latest tools, research, attack surfaces (including MCP/agentic AI, RAG, AI coding assistants, agent skills, and computer-use agents), and community resources.
Legend used throughout this roadmap:
Foundational — still the best way to learn the concept · Historical — kept for context, superseded in practice · Archived — project no longer maintained but still readable · Legacy — older version retained alongside its successor · Unverified — community-submitted, not independently validated by maintainers
#📋 Table of Contents
- Prerequisites
- Phase 1 — Foundations
- Phase 2 — AI/ML Security Concepts
- Phase 3 — Prompt Injection & LLM Attacks
- Phase 4 — Agentic AI, MCP & Agent Ecosystem Security
- Phase 5 — RAG, Vector & Embedding Security
- Phase 6 — Hands-On Practice
- Phase 7 — Advanced Exploitation Techniques
- Phase 8 — Real-World Research & Bug Bounty
- Standards, Frameworks & References
- Tools & Repositories
- Benchmarks & Datasets
- Books, PDFs & E-Books
- Video Resources & Podcasts
- CTF & Competitions
- Bug Bounty Programs
- Community & News
- Key Academic Papers
- Suggested Learning Path by Experience Level
- What's New in This Edition
#Prerequisites
Before diving into AI/ML pentesting, ensure you have the following foundation:
#General Security Basics
- PortSwigger Web Security Academy — Free, hands-on web security training (XSS, SQLi, SSRF, etc.)
- TryHackMe — Pre-Security Path
- HackTheBox Academy
- OWASP Top 10
- OWASP API Security Top 10 — Most LLM app bugs are still API bugs underneath
Why web security first: a large share of paid AI bug bounty findings are classic AuthZ, IDOR, SSRF, and cache-deception bugs reached through an AI feature. The model is often just a new entry vector to the same old bug classes.
#Programming (Python is essential)
- Python for Everybody — Coursera
- Automate the Boring Stuff with Python — Free online book
- CS50P — Python — Free Harvard course
#APIs & HTTP
- Understand REST APIs, HTTP methods, headers, and authentication flows
- Postman Learning Center
- Practice with tools:
curl,Burp Suite,Postman - Understand OAuth 2.0 / OAuth 2.1 and JWT — required for MCP authorization work
#Autonomous / AI-Assisted Pentest Platforms
- Darkmoon — Open source (GPL-3.0) autonomous AI penetration testing platform covering web, API, Active Directory and Kubernetes, with proof of exploitation and a local privacy gateway.
Unverified
#Phase 1 — Foundations
#1.1 Machine Learning Fundamentals
| Resource | Type | Cost |
|---|---|---|
| Machine Learning — Andrew Ng (Coursera) | Course | Audit Free · Foundational |
| Machine Learning Specialization (current successor) | Course | Audit Free |
| Introduction to ML — edX | Course | Audit Free |
| fast.ai Practical Deep Learning | Course | Free |
| Google Machine Learning Crash Course | Course | Free |
| Kaggle ML Courses | Course | Free |
| 3Blue1Brown — Neural Networks | Video | Free |
#1.2 Large Language Models (LLMs)
Understanding how LLMs work is critical before attacking them.
| Resource | Type | Cost |
|---|---|---|
| Andrej Karpathy — Intro to LLMs | Video | Free |
| Andrej Karpathy — Let's build GPT | Video | Free |
| Andrej Karpathy — Let's build the GPT Tokenizer | Video | Free — tokenization underpins token smuggling, homoglyph and Unicode attacks |
| Hugging Face NLP Course | Course | Free |
| Hugging Face Agents Course | Course | Free — tool calling and agent loops from first principles |
| LLM University by Cohere | Course | Free |
| Prompt Engineering Guide | Guide | Free |
| The Illustrated Transformer — Jay Alammar | Article | Free · Foundational |
| Attention Is All You Need (original transformer paper) | Paper | Free · Foundational |
#1.3 Model Internals That Matter for Attackers
You do not need to train models, but you do need to know where the seams are.
- Tokenization — byte-pair encoding explains why invisible characters, homoglyphs and control characters slip past filters
- Context window & attention — why "ignore previous instructions" works at all: there is no privilege boundary between system, user, and retrieved text inside the token stream
- Embeddings — why vector stores leak (see Phase 5)
- Inference & sampling — temperature, top-p, and why attack reproducibility is probabilistic
- Fine-tuning, RLHF/RLAIF & alignment — where safety training lives, and why it is shallow relative to capability
- Anthropic — Constitutional AI — how RLAIF-style alignment is actually built
- Hugging Face — RLHF illustrated
#Phase 2 — AI/ML Security Concepts
#2.1 Core Security Concepts
- OWASP GenAI LLM Top 10 — 2026 edition — Current release, published 4 August 2026. The 2026 ranking: LLM01 Prompt Injection, LLM02 Sensitive Information Disclosure, LLM03 Excessive Agency (up three places), LLM04 Supply Chain, LLM05 Data & Model Poisoning, LLM06 Unbounded Consumption, LLM07 Misinformation, LLM08 Hidden Context Exposure (replaces the narrower System Prompt Leakage category), LLM09 Vector & Embedding Weaknesses, LLM10 Improper Output Handling
- OWASP GenAI LLM Top 10 — canonical GitHub source — Errata form, Zenodo archive, and the machine-readable citation file
- OWASP LLM Top 10 (2025) —
Legacybut still widely referenced; most tooling and CTFs published in 2025–early 2026 map to this version, so keep it for cross-referencing - OWASP Top 10 for LLM Applications v1.1 (2023) —
Historicalarchive of the original list - OWASP Top 10 for Agentic Applications 2026 (ASI01–ASI10) — Announced December 2025. Covers planning, tool use, identity, supply chain, code execution, memory, inter-agent communication, cascading failures, human–agent trust, and rogue agents
- OWASP GenAI Security Project — Agent Control Standard & 2026 announcements — September 2026: ACS donation, expanded AI security solutions guidance
- OWASP MCP Top 10 — MCP01 Token Mismanagement, MCP02 Privilege Escalation via Scope Creep, MCP03 Tool Poisoning, MCP04 Supply Chain & Dependency Tampering, MCP05 Command Injection, MCP06 Intent Flow Subversion, MCP07 Insufficient AuthN/AuthZ, MCP08 Lack of Audit & Telemetry, MCP09 Shadow MCP Servers, MCP10 Context Injection & Over-Sharing
- OWASP GenAI Red Teaming Guide & Red Team Initiative — Practical red teaming methodology; browse the project Resources index for the current PDF
- OWASP GenAI Red Team Lab (GitHub) — Companion repo to the Red Teaming Handbook: local LLM and RAG sandboxes plus garak/promptfoo exploitation examples
- MITRE ATLAS Matrix — The AI adversarial threat matrix. v5.1.0 (November 2025) expanded to 16 tactics and 84 techniques; 2026 releases added agentic AI techniques. Prompt injection is
AML.T0051 - MITRE ATLAS Case Studies — Real incidents mapped to the matrix; the best source of grounded threat models
- NIST AI 100-2e2025 — Adversarial Machine Learning: A Taxonomy and Terminology of Attacks and Mitigations — The canonical taxonomy (PredAI vs GenAI, evasion/poisoning/privacy/abuse). Published March 2025, supersedes AI 100-2e2023
- NIST AI Risk Management Framework — Federal AI risk guidance
- IBM — AI Security Overview
- AI Village — LLM Threat Modeling
- HackerOne — Ultimate Guide to Managing Ethical and Security Risks in AI
- Adversa AI 2025 Security Report — 35% of real-world AI incidents caused by simple prompts
#2.2 Attack Surface Overview
Key attack vectors in AI/ML systems:
- Prompt Injection — Manipulating LLM behavior through crafted inputs
- Indirect Prompt Injection (IPI) — Attacks via documents, web content, emails, RAG pipelines
- Jailbreaking — Bypassing safety filters and guardrails
- Multi-Turn Attacks — Attacks unfolding across extended conversations (92% success rate reported in 2025 research)
- Tool Poisoning — Injecting malicious instructions into MCP tool metadata/descriptions
- Model Inversion — Extracting training data from a model
- Membership Inference — Determining if data was in training set
- Data Poisoning — Corrupting training data to influence behavior
- Adversarial Examples — Perturbed inputs that fool classifiers
- Model Extraction/Stealing — Cloning a model via API queries
- Supply Chain Attacks — Malicious models/weights on platforms like Hugging Face
- MCP Server Exploitation — Tool poisoning, resource theft, conversation hijacking via MCP
- AI IDE Attacks — Exploiting Cursor, GitHub Copilot, Claude Code via rules files and MCP config
- RAG Poisoning — Injecting malicious content into retrieval-augmented generation pipelines
- Training Data Exfiltration — Extracting memorized private data
- Denial of Service — Overloading models via crafted prompts
- Agent-to-Agent Attacks — Compromising multi-agent pipelines (A2A protocol abuse)
- Agent Skill / Plugin Poisoning — Malicious instructions in
SKILL.md, plugin manifests and marketplace packages - Memory Poisoning & Persistence — Writing attacker instructions into long-term agent memory so they survive the session
- Hidden Context Exposure — Leaking retrieved documents, memory, tool responses and application state, not just the literal system prompt (OWASP LLM08:2026)
- Embedding Inversion & Cross-Tenant Retrieval — Reconstructing source text from vectors; retrieving another tenant's chunks
- Visual / Multimodal Prompt Injection — Instructions hidden in images, screenshots, OCR text, audio, PDFs
- Confused Deputy & Excessive Agency — Agent uses its own high privileges on behalf of a low-privileged attacker
- Shadow MCP / Shadow Agents — Unapproved, unmanaged agent infrastructure inside the enterprise
#2.3 MLOps & Infrastructure Security
- From MLOps to MLOops — JFrog
- Offensive ML Playbook
- AI Exploits — ProtectAI
- Awesome AI Security — ottosulin
- Shelltorch — TorchServe vulnerabilities (CVSS 9.9) — Still the reference case study for exposed inference servers
- Cisco — Detecting Exposed LLM Servers: A Shodan Case Study on Ollama — Unauthenticated local-inference servers exposed to the internet
- Inference-server attack surface worth enumerating: vLLM, Ollama, llama.cpp /
llama-server, TensorRT-LLM, Triton Inference Server, TorchServe, Ray, and Kubernetes GPU workloads. Default configurations frequently ship with no authentication
#Phase 3 — Prompt Injection & LLM Attacks
#3.1 Understanding Prompt Injection
- OWASP LLM01:2025 Prompt Injection — Canonical definition updated for agentic systems; the baseline every 2025–26 tool cites. Still LLM01 in the 2026 edition
- IBM Guide on Prompt Injection
- Simon Willison's Explanation of Prompt Injection —
Foundational - Simon Willison — prompt injection tag (running archive) — The single best continuously updated index of injection incidents
- Prompt Injection in 2026: Why the Attack Surface Keeps Growing — Explains why the problem is structural, not fixable by filters, and covers the Morris II AI worm.
Unverified - Learn Prompting — Prompt Hacking and Injection
- PortSwigger LLM Attacks
- NCC Group — Exploring Prompt Injection Attacks —
Foundational - Bugcrowd — AI Vulnerability Deep Dive: Prompt Injection
- Prompt Injection Cheat Sheet — Seclify — Practical cheat sheet for AI bot integrations
- Don't You (Forget NLP) — Dropbox Tech — Injection via control characters
- hego.red — Practical AI/LLM Red Teaming Notes — Hands-on guide: prompt injection, jailbreaks, indirect injection, RAG poisoning, agent and tool attacks, with a full methodology and worked labs.
Unverified
#3.2 Jailbreaking Techniques
- DAN (Do Anything Now) — Classic jailbreak technique: Chatgpt-DAN Repo ·
Historical - Role-playing / Persona manipulation
- Token smuggling — Encoding instructions to bypass filters
- Prompt leaking — Extracting system prompts
- Indirect prompt injection — Attacks via documents, web content, memory
- Multi-turn jailbreaks — Steering models over successive conversation turns (>90% bypass rate against most published defenses)
- Crescendo / gradual escalation — Benign opening turns that incrementally relocate the conversation past the refusal boundary
- Low-resource language and encoding transfer — Safety training generalizes unevenly across languages, base64, ROT13 and leetspeak
- WideOpenAI — Jailbreak Collection
- PayloadsAllTheThings — Prompt Injection
- PALLMs — Payloads for Attacking LLMs
- L1B3RT4S — jailbreak prompt collection — Large, actively updated public jailbreak corpus, useful as a regression-test set
#3.3 Indirect Prompt Injection
A sophisticated attack where malicious instructions are injected via external data sources (emails, documents, websites, RAG chunks) that an LLM agent processes.
- Greshake — LLM Security / Not What You've Signed Up For —
Foundational, the original IPI proof-of-concept collection - Embrace The Red — Blog — Leading blog covering real-world indirect injection
- GitHub Copilot Chat: Prompt Injection to Data Exfiltration
- Google AI Studio Data Exfiltration
- Indirect Prompt Injection Through MCP Tools: A Defense Guide — Feb 2026, covers every MCP tool category
- CrowdStrike — Indirect Prompt Injection Attacks: Hidden AI Risks — Dec 2025, enterprise IPI TTPs and SOC detection signals
- Lakera — Indirect Prompt Injection: The Hidden Threat — Zero-click RCE in MCP-based AI IDEs case study
#3.4 Advanced Prompt Attack Techniques
- How to Persuade an LLM to Change Its System Prompt
- Design Patterns for Securing LLM Agents Against Prompt Injection — Jun 2025
- OpenAI — Hardening Atlas Against Prompt Injection Attacks — Dec 2025 real attack chain disclosure + RL-trained automated attacker; states plainly that prompt injection is unlikely ever to be fully solved
- Improving LLM Security Against Prompt Injection: AppSec Guidance — Role-based APIs and 13 system prompt guidelines
- Bugcrowd Ultimate Guide to AI Security (PDF)
- Snyk OWASP Top 10 LLM (PDF) —
Legacy(2025 list) - Vanna.AI Prompt Injection RCE — JFrog
#3.5 Defenses Worth Understanding (and Breaking)
You cannot assess a defense you do not understand. Every item below has published bypasses — study both halves.
- CaMeL — Defeating Prompt Injections by Design (arXiv 2503.18813) — Google DeepMind; control/data-flow separation rather than detection. The most architecturally serious defense published so far
- Microsoft FIDES — Information-Flow Control Against IPI in Copilot — Jul 2025 privilege separation system
- Meta — Agents Rule of Two (Practical AI Agent Security) — Bound the blast radius architecturally (see 4.5)
- PromptArmor (arXiv 2507.15219) — Simple detection baseline reporting sub-1% FP/FN on AgentDojo
- A Critical Evaluation of Defenses against Prompt Injection Attacks (arXiv 2505.18333) — Why most reported defense numbers do not survive adaptive attackers
- The Attacker Moves Second (arXiv 2510.09023) — Adaptive attacks bypass 12 published defenses at >90%
- tldrsec/prompt-injection-defenses — Actively maintained catalog of every practical defense in production
#Phase 4 — Agentic AI, MCP & Agent Ecosystem Security
This is the fastest-growing and most dangerous attack surface as of 2025–2026. When LLMs are given tools, memory, and autonomous action capabilities, the blast radius of any injection expands dramatically.
#4.1 Why Agentic AI Changes Everything
Agentic AI systems operate in observe-orient-decide-act loops. They can browse the web, read/write files, execute code, call APIs, and communicate with other agents. A single successful injection can lead to:
- Remote Code Execution (RCE)
- Data exfiltration from private repositories
- Unauthorized financial transactions
- Lateral movement across multi-agent pipelines
Key reading:
- OWASP Top 10 for Agentic Applications 2026 (ASI01–ASI10) — Start here. Announced Dec 2025, peer-reviewed by 100+ contributors
- OWASP — Why the Agentic Top 10 exists — Project leads on the LLM-vs-agentic distinction
- Anthropic — Disrupting the first reported AI-orchestrated cyber espionage campaign — GTG-1002: state-linked actors weaponized an agentic coding tool with malicious MCP servers; reported 80–90% of tactical operations executed autonomously. The most significant real-world agentic-abuse disclosure to date
- AI Agent Attacks in Q4 2025 Signal New Risks for 2026 — eSecurity Planet
- Enterprises Are Racing to Secure Agentic AI Deployments — Help Net Security — Multi-turn attacks achieved 92% success against 8 open-weight models
- Adversa AI 2025 AI Security Incidents Report
#4.2 Model Context Protocol (MCP) Security
MCP (introduced by Anthropic in late 2024) is the de facto standard for connecting LLMs to external tools — and is the dominant new attack surface.
MCP-specific attack classes:
- Tool Poisoning — Embedding malicious instructions in tool
descriptionfields that agents trust implicitly - Tool Shadowing — Registering a malicious tool with a name/description that intercepts calls meant for a legitimate tool
- Rug Pull — A server that serves a benign tool definition at install time and mutates it later
- Resource Theft — Abusing MCP sampling to drain compute quotas
- Conversation Hijacking — Compromised MCP servers inject persistent instructions
- Covert Tool Invocation — Hidden file system operations without user awareness
- Cross-MCP Contamination — One MCP server overrides another's behavior
- Token Passthrough / Confused Deputy — Servers accepting tokens not issued for them; missing audience binding
- Shadow MCP — Unapproved servers running inside the org with no inventory or audit trail
- STDIO credential harvesting — Local servers inheriting the full environment, including every secret in it
Standards and primary guidance:
- OWASP MCP Top 10 — The reference taxonomy (MCP01–MCP10). Supersedes the placeholder "OWASP MCP CheatSheet" link carried in earlier editions of this roadmap
- Model Context Protocol — official specification — Read the security best practices and authorization sections of the current spec revision; authorization is optional, which is the root of much of MCP01/MCP07
- Microsoft — OWASP MCP Top 10 Security Guidance for Azure — Maps each MCP risk to concrete platform controls; useful even if you are not on Azure
- CSA — Agentic MCP Security Best Practices — 2026 consolidation of the tool-poisoning, rug-pull and cross-server literature
Attack research:
- Invariant Labs — mcp-injection-experiments — Reproducible PoCs for direct poisoning, tool shadowing, and the WhatsApp sleeper rug pull. The canonical hands-on starting point
- Palo Alto Unit 42 — New Prompt Injection Attack Vectors Through MCP Sampling — Dec 2025, three critical attack vectors
- Checkmarx — 11 Emerging AI Security Risks with MCP — Nov 2025
- MCP Prompt Injection: How AI Gets Hacked (YouTube) — Nov 2025 hands-on walkthrough
- ToxicSkills: Snyk Finds Malware in 36% of AI Agent Skills — Feb 2026; 3,984 skills audited, 36.82% flawed, 13.4% critical, confirmed malicious payloads
Notable MCP CVEs and incidents to study:
- CVE-2025-6514 —
mcp-remoteproxy RCE (CVSS 9.6), 437,000+ affected installs - CVE-2025-53109 / CVE-2025-53110 — "EscapeRoute" filesystem MCP sandbox bypass
- Anthropic Git MCP server — argument-injection class issues allowing backdoors via processed repositories
- Supabase/Cursor support-ticket chain (June 2025) — SQL executed and exfiltrated via a poisoned support ticket
- Asana MCP cross-tenant exposure (2025) — Multi-tenant isolation failure in a production MCP integration
#4.3 AI IDE & Coding Assistant Security
AI coding assistants (Claude Code, GitHub Copilot, Cursor, Windsurf, Cline, Roo Code, Codex-class tools) have system-level access and are a high-value target. Assume every file in a cloned repository is attacker-controlled input.
- Rules File Backdoor —
.cursor/rules,CLAUDE.md,AGENTS.md,.github/copilot-instructions.mdand similar context files can be poisoned with malicious instructions - Settings/hook execution — Repository-controlled configuration that runs commands at project-open time, before any user interaction
- MCP config injection — Malicious
mcp.jsonentries added to a repo - CVE-2025-53773 — GitHub Copilot RCE (CVSS 9.6) via prompt injection
- CVE-2025-54135 — Cursor indirect prompt injection via MCP config → RCE
- CVE-2025-59536 — Claude Code hook-triggered RCE (CVSS 8.7), patched Oct 2025
- CVE-2026-21852 — Claude Code API key exfiltration (CVSS 5.3), patched Jan 2026
- IDEsaster — 30+ CVEs in AI IDEs: The Hacker News coverage
Resources:
- Rules File Backdoor — Cursor/Copilot
- GitGuardian — Can GitHub Copilot Leak Secrets?
- Your AI, My Shell (arXiv 2509.22040) — AIShellJack; systematic analysis of prompt injection in agentic coding editors, ~84% ASR for shell injection on Copilot/Cursor
- Prompt Injection Attacks on Agentic Coding Assistants (SoK, arXiv 2601.17548) — Meta-analysis of 78 studies; >85% attack success against state-of-the-art defenses.
UnverifiedID — confirm before citing in formal work
#4.4 Agent Skills, Plugins & Extension Supply Chain
The SKILL.md file is the new package.json, and it currently ships with no signing, no sandbox by default, and a publishing bar of roughly "a Markdown file and a week-old GitHub account." This is the fastest-moving supply-chain story of 2026.
- Snyk — ToxicSkills — Feb 2026, first large-scale audit (3,984 skills)
- HiddenLayer — The Next AI Supply Chain Risk: Malicious Skills in Agentic AI — Jun 2026; why the pattern transfers from consumer agents to Claude Code, Cursor and Copilot
- Cato CTRL — Weaponizing Claude Skills with MedusaLocker — Ransomware delivery via a legitimate-looking skill; consent-gap analysis
- CSA — SKILL.md and Agent Context Poisoning — Executive briefing tying the CVEs and audits together
- Agent Skills in the Wild (arXiv 2601.10338) — Large-scale empirical security study of the skill ecosystem
- Malicious Agent Skills in the Wild (arXiv 2602.06547) — "Do Not Mention This to the User": detection and taxonomy of in-the-wild malicious skills
- Cisco AI Defense — skill-scanner — Static analyzer for agent skills
- CVE-2026-25253 — RCE in an agent skill runtime; reported as the first CVE assigned to an agentic AI system
- ClawHavoc campaign (2026) — Coordinated publication of malicious skills to a public marketplace, delivering a credential stealer
#4.5 Meta's "Agents Rule of Two" Framework
Meta's Oct 2025 architectural approach: agents must satisfy no more than two of:
- (A) Processing untrustworthy inputs
- (B) Access to sensitive data
- (C) Ability to change state externally
This provides a deterministic way to bound blast radius. Read: Meta — Practical AI Agent Security
Use it as a triage heuristic on engagements: find the agent that satisfies all three, and you have found where to spend your time.
#4.6 Computer-Use & Browser Agent Security
Agentic browsers and GUI agents inherit the user's authenticated sessions and cookies, which turns any injected instruction into a cross-origin data-access primitive.
- UW study — Some agentic AI browsers come with major cybersecurity risks — Jun 2026; PoC cross-site data theft, with the finding that agents granted fewer permissions were measurably safer
- OpenAI — Hardening Atlas Against Prompt Injection — Vendor-side account of a real attack chain plus lockdown-mode tradeoffs
- Brave — research on agentic browser vulnerabilities — Originated the Comet screenshot/OCR injection disclosure and subsequent hidden-HTML work on other agentic browsers
- CSA — PleaseFix: Zero-Click Browser Agent Hijacking — Mar 2026; consolidates ZombieAgent, GeminiJack, Tainted Memories, HashJack and CometJacking into one attack class
- VPI-Bench: Visual Prompt Injection for Computer-Use Agents (arXiv 2506.02456)
- WASP: Benchmarking Web Agent Security Against Prompt Injection (arXiv 2504.18575) — Meta
- WAInjectBench (arXiv 2510.01354) — Benchmarking prompt-injection detection for web agents
- CaMeLs Can Use Computers Too (arXiv 2601.09923) — System-level security for computer-use agents
- atlas-prompt-injection-poc — Minimal reproducible PoC page for testing agentic browsers safely
#4.7 Multimodal Attack Surface
- Image-embedded instructions (low-contrast text, steganographic and typographic prompts)
- OCR-channel injection — the agent reads what the user cannot see
- FigStep: Jailbreaking Large Vision-Language Models via Typographic Visual Prompts
- Con Instruction: Universal Jailbreaking of Multimodal LLMs via Non-Textual Modalities (ACL 2025)
- Document-channel injection — PDFs, DOCX, spreadsheets and calendar invites parsed into context. The January 2026 Gemini calendar-invite exploit is the cleanest public example of a semantically benign payload
- Audio and video channels — transcription pipelines are an unfiltered instruction path
#4.8 Multi-Agent, A2A & Memory Attacks
- PoisonedRAG (USENIX Security 2025) — Knowledge corruption attack injecting poisoned texts into RAG databases
- A2A Protocol Abuse — Google's Agent2Agent protocol creates new inter-agent attack surfaces
- Log-To-Leak — Covert privacy attacks via side channels in agent logs
- MINJA / memory poisoning — Writing adversarial entries into an agent's long-term memory store so the injection outlives the session
- ScienceDirect — From Prompt Injections to Protocol Exploits — 30+ attack techniques catalogued across agent ecosystems
- Microsoft — AI Recommendation Poisoning — Feb 2026; commercial-scale manipulation of agent recommendations observed in the wild
#4.9 Agent Identity & Authorization
Increasingly the actual root cause behind "prompt injection" incidents: the agent had more authority than the person driving it.
- Per-agent identity with short-lived credentials rather than shared service accounts
- Audience-bound tokens; never pass a user token through to a downstream MCP server unchanged
- Human-in-the-loop gates on state-changing and irreversible actions
- Sandboxed execution and explicit blast-radius isolation
- Continuous behavioral monitoring with kill switches
- OWASP Agent Control Standard — Donated to the GenAI Security Project in Sept 2026; runtime enforcement model for agent behavior
- Test for confused-deputy conditions first: can a low-privileged input cause the agent to exercise its own high privileges?
#Phase 5 — RAG, Vector & Embedding Security
RAG is where enterprise data meets untrusted content, and it maps to LLM09: Vector and Embedding Weaknesses in the OWASP 2026 list. The knowledge base is part of the attack surface, not a trusted internal resource.
#5.1 Attack Classes
- Corpus / knowledge-base poisoning — Published research shows a handful of documents among millions can reach 90%+ attack success on targeted queries; a single poisoned document is often enough to steer a specific answer
- Indirect prompt injection via retrieved chunks — The most common real-world RAG bug
- Embedding inversion — Reconstructing substantial portions of source text from stored vectors. Embeddings are not anonymization
- Cross-tenant retrieval — Inadequate logical partitioning in a shared vector store returning another tenant's chunks
- Authorization drift — The retriever runs with a service identity that ignores the calling user's document-level ACLs; the classic "the chatbot answered from a file I can't open" finding
- Retrieval-side exfiltration — Using the retriever as an oracle to enumerate the corpus
- Federation knowledge conflict — Conflicting sources causing unpredictable trust resolution
- Similarity-search DoS — Weaponizing unbounded ANN query cost
#5.2 Reading
- OWASP LLM09 — Vector and Embedding Weaknesses — The normative description
- RAG Security: The Forgotten Attack Surface — Christian Schneider — Feb 2026; the best single practitioner write-up, with concrete detection guidance
- PoisonedRAG (USENIX Security 2025) — The reference corpus-poisoning paper
- Towards Secure Retrieval-Augmented Generation: Threats, Defenses and Benchmarks (arXiv 2603.21654) — 2026 survey covering inversion, poisoning and defenses.
UnverifiedID - Can You Trust the Vectors in Your Vector Database? (arXiv 2604.05480) — Black-hole attacks from embedding-space defects.
UnverifiedID
#5.3 Testing a RAG Pipeline
A practical checklist for engagements:
- Can you get content into the corpus? (upload, crawl, ticket, email, shared drive, wiki)
- Does retrieved content get treated as instructions rather than data?
- Is document-level authorization enforced at retrieval time or only at the UI?
- In multi-tenant deployments, can crafted near-duplicate queries surface another tenant's chunks?
- Are ingested documents scanned for injection payloads and invisible Unicode before embedding?
- Are retrieval traces logged with attribution, so a poisoned chunk can be traced and quarantined?
- Can the vector store be reached directly, without going through the application?
#Phase 6 — Hands-On Practice
#6.1 Interactive Platforms & Games
| Platform | Description | Link |
|---|---|---|
| Gandalf | LLM prompt testing game — extract the password (8 levels) | gandalf.lakera.ai |
| OWASP FinBot CTF ⭐ NEW | "The Juice Shop for Agentic AI." Multi-agent vendor-management platform with real tool access; challenges mapped to OWASP LLM Top 10, ASI Top 10, CWE and MITRE ATLAS. No setup, browser-based | owasp-finbot-ctf.org |
| AI Goat (AIGoat) ⭐ NEW | Local-first, fully offline vulnerable AI e-commerce app (Ollama-backed). Attack labs + CTF challenges + progressive defense levels across the whole OWASP LLM Top 10 | github.com/AISecurityConsortium/AIGoat |
| Damn Vulnerable MCP Server (DVMCP) ⭐ NEW | 10 Dockerized MCP challenges: prompt injection, tool poisoning, excessive permissions, rug pulls, tool shadowing, token theft, multi-vector chains | github.com/harishsg993010/damn-vulnerable-MCP-server |
| Prompt Airlines | Gamified prompt injection learning | promptairlines.com |
| Crucible | Interactive AI security challenges by Dreadnode | crucible.dreadnode.io |
| Immersive Labs AI | Structured AI security exercises | prompting.ai.immersivelabs.com |
| Secdim AI Games | Prompt injection games | play.secdim.com/game/ai |
| HackAPrompt | Community prompt injection competition | hackaprompt.com |
| PortSwigger LLM Labs | Hands-on web LLM attack labs — prompt injection, excessive agency, insecure output handling | Web Security Academy |
| PromptTrace | 7 labs + 15-level CTF with real-time context trace | prompttrace.airedlab.com · Unverified |
| CrowdStrike AI Unlocked | Agent-focused prompt injection challenges (Feb 2026) | crowdstrike.com |
| AI/LLM Exploitation Challenges | AI, ML, LLM CTF challenges | 8ksec.io |
| LLMVault | CTF-style LLM security lab aligned to the OWASP LLM Top 10 | github.com/CyberSunil/LLMVault · Unverified |
| Jackpot | Ten-floor casino, each floor a deliberately broken AI, one per OWASP LLM Top 10 category | hego.red/jackpot · Unverified |
#6.2 Vulnerable-by-Design Projects
| Repository | Description |
|---|---|
| Damn Vulnerable LLM Agent — WithSecureLabs | Intentionally vulnerable ReAct LLM agent |
| Damn Vulnerable MCP Server | ⭐ 10 MCP challenges, easy → hard, Docker ports 9001–9010 |
| AIGoat — AI Security Consortium | ⭐ Full OWASP LLM Top 10 coverage, runs offline with Ollama |
| OWASP FinBot CTF (source) | ⭐ Self-hostable agentic CTF platform, Python 3.13+ |
| OWASP GenAI Red Team Lab | ⭐ Local LLM and RAG sandboxes + garak/promptfoo exploitation examples |
| invariantlabs-ai/mcp-injection-experiments | ⭐ Reproducible tool poisoning, shadowing and sleeper rug-pull servers |
| ScottLogic Prompt Injection Playground | Local prompt injection lab |
| Greshake LLM Security Tools | Proof-of-concept attacks · Foundational |
| ctf-prompt-injection by CharlesTheGreat77 | Dockerized CTF with Ollama + local LLM, progressively harder levels |
| ai-prompt-ctf by c-goosen | Indirect injection against tool-calling agents: RAG, function calling, ReAct |
#6.3 Tutorials
- Google AI Red Teaming Walkthrough (PDF)
- Spikee: Testing LLM Apps for Prompt Injection — WithSecure Labs — Step-by-step with Burp Suite integration
- How AI Prompt Injection Works | Hands-on with LLMs (YouTube) — Jan 2026 code-level demo with LLM Guard detection
- Prompt Injection in LLM Agents: ReAct, Langchain (YouTube) — Theory and hands-on lab
- Synthetic Recollections — WithSecure Labs — ReAct loop hijacking via forged thoughts
- garak documentation — Getting from
garak --model_type openaito a usable report
#6.4 CTF Writeups to Study
#Phase 7 — Advanced Exploitation Techniques
#7.1 Agent & Tool Integration Attacks
- LLM Pentest: Leveraging Agent Integration for RCE — BlazeInfoSec
- Dumping a Database with an AI Chatbot — Synack
- CSWSH Meets LLM Chatbots
- Prompt Injection Attacks on Agentic Coding Assistants (SoK, arXiv 2026) — Meta-analysis of 78 studies; >85% attack success against state-of-the-art defenses
#7.2 Data Exfiltration via LLMs
- Google AI Studio: LLM-Powered Data Exfiltration
- Google AI Studio Mass Data Exfil (Regression)
- Hacking Google Bard — From Prompt Injection to Data Exfiltration
- AWS Amazon Q Markdown Rendering Vulnerability
- GitHub Copilot Chat Data Exfiltration
- ChatGPT Plugins: Data Exfiltration via Images & Cross Plugin Request Forgery
#7.3 Account Takeover & Authentication Attacks
- ChatGPT Account Takeover — Wildcard Web Cache Deception
- Shockwave — Critical ChatGPT Vulnerability (Web Cache Deception)
- Security Flaws in ChatGPT Ecosystem — Salt Security
- OpenAI Allowed Unlimited Credit on New Accounts — Checkmarx
#7.4 XSS & Web Vulnerabilities in AI Products
- XSS Marks the Spot: Digging Up Vulnerabilities in ChatGPT — Imperva
- Zeroday on GitHub Copilot
- Prompt Injection 2.0: Hybrid AI Threats (arXiv 2507.13169) — Prompt injections combined with XSS, CSRF, AI worm propagation to evade WAFs
#7.5 Model & Infrastructure Attacks
- Shelltorch Explained — Multiple Vulnerabilities in TorchServe (CVSS 9.9)
- From ChatBot to SpyBot: ChatGPT Post-Exploitation — Imperva
- Microsoft FIDES — Information-Flow Control Against IPI in Copilot — Jul 2025 privilege separation system
#7.6 Persistent Attacks & Memory Exploitation
- ChatGPT Persistent Denial of Service via Memory Attacks — Embrace the Red
- Embrace the Red — memory persistence research — Ongoing work on writing durable instructions into assistant memory ("spAIware" class)
#7.7 Adversarial Machine Learning
- CleverHans Library — Adversarial example library ·
Foundational - ART (Adversarial Robustness Toolbox) — IBM
- Foolbox — Python toolbox for adversarial attacks
- TextAttack — Adversarial attacks and data augmentation for NLP
- Microsoft Counterfit — CLI for assessing ML model security ·
Archivedbut still useful as a harness pattern - NIST AI 100-2e2025 — Use as the vocabulary for evasion, poisoning, privacy and abuse attacks
#7.8 Supply Chain & Model File Attacks
- Malicious code embedded in model files (pickle, safetensors) can execute on load
- 250 poisoned documents in training data can implant backdoors that activate on trigger phrases
- ModelScan — ProtectAI — Scan ML model files for malicious payloads
- picklescan — Detects unsafe globals in pickled model files; used by Hugging Face scanning
- Hugging Face — model security documentation — Malware scanning, pickle scanning, secrets scanning, and how to read the warnings on a repo
- Fake npm/pip packages mimicking AI integrations (e.g., fake email MCP that silently copies outbound messages)
- Agent skill and plugin marketplaces (see 4.4) — now the highest-velocity part of this surface
- Provenance direction of travel: AIBOM, model signing and SLSA-style attestation for weights and datasets; expect these to become audit requirements before they become reliable controls
#Phase 8 — Real-World Research & Bug Bounty
#8.1 Notable Research & Disclosures
- Anthropic — Disrupting the first reported AI-orchestrated cyber espionage campaign — The GTG-1002 report
- We Hacked Google AI for $50,000 — LandH
- New Google Gemini Content Manipulation Vulnerabilities — HiddenLayer
- Jailbreak of Meta AI (Llama 3.1) Revealing Config Details
- My LLM Bug Bounty Journey on Hugging Face Hub
- Anonymised Penetration Test Report — Volkis
- Lakera Real World LLM Exploits (PDF)
- The Register — Anthropic, Google, Microsoft paid AI bug bounties quietly — Apr 2026; agent prompt injection to credential theft across three vendors, and the CVE-assignment gap it exposed
- AI Penetration Testing: A Complete Guide — HackingDream — Mar 2026 comprehensive playbook
#8.2 How to Find LLM Vulnerabilities
Key areas to test when assessing an LLM-powered application:
- System prompt extraction — Can you leak the hidden system prompt?
- Hidden context exposure — Beyond the system prompt: retrieved docs, memory, tool responses, app state (OWASP LLM08:2026)
- Instruction override — Can you ignore system-level instructions?
- Plugin/tool abuse — Can agent tools be misused (SSRF, RCE, SQLi)?
- MCP tool poisoning — Can you inject instructions into tool metadata?
- Tool shadowing / rug pull — Can a second server intercept or mutate a trusted tool?
- Data exfiltration via markdown — Does the UI render
? - Persistent injection via memory/RAG — Can you inject instructions that persist?
- PII leakage — Does the model reveal training data or other users' data?
- Cross-user / cross-tenant data leakage — In multi-tenant apps, can you reach other users' contexts or vector chunks?
- Authorization bypass — Can you trick the LLM into performing privileged actions?
- Confused deputy — Does the agent's identity carry more authority than the requesting user's?
- Multi-turn escalation — Can you steer the model across conversation turns?
- AI IDE rules file backdoor — Can
.cursor/rules,CLAUDE.md,AGENTS.mdor hooks be poisoned? - Agent skill / plugin poisoning — Is third-party skill content reviewed, signed, or sandboxed?
- Supply chain — Are third-party models/datasets scanned for malicious payloads?
- Unbounded consumption — Can you drive cost or latency DoS through prompts, retrieval, or sampling?
#Standards, Frameworks & References
| Resource | Description |
|---|---|
| OWASP GenAI LLM Top 10 (2026) | Current. Published 4 Aug 2026; adds Hidden Context Exposure, elevates Excessive Agency, maps to NIST/ATLAS/CWE/ASI |
| OWASP LLM Top 10 (2025) | Legacy — still the mapping target for most 2025–early-2026 tooling and CTFs |
| OWASP Top 10 for LLM Apps v1.1 (2023) | Historical archive |
| OWASP Top 10 for Agentic Applications (2026) | ASI01–ASI10; goal hijack, tool misuse, memory poisoning, rogue agents |
| OWASP MCP Top 10 | MCP01–MCP10 protocol-layer risks |
| OWASP Agent Control Standard | Runtime enforcement model for agent behavior, donated Sept 2026 |
| OWASP AI Exchange | Cross-industry AI security guidance; feeds ISO/IEC and EU AI Act work |
| OWASP GenAI Red Teaming Guide | Practical red teaming methodology (Resources index) |
| MITRE ATLAS | AI adversarial threat matrix; v5.1.0 Nov 2025, agentic techniques added through 2026 |
| MITRE ATLAS Navigator & Arsenal | Free threat-modeling and red-team tooling built on the matrix |
| NIST AI 100-2e2025 | Adversarial ML taxonomy and terminology (March 2025) |
| NIST AI RMF | US Federal AI risk management framework |
| NIST AI 600-1 — Generative AI Profile | GenAI-specific companion profile to the AI RMF |
| ISO/IEC 42001 | International AI management standard |
| ENISA AI Threat Landscape | EU AI threat landscape report |
| Google Secure AI Framework (SAIF) | Google's AI security framework |
| CISA — AI security guidance | US joint guidance on deploying AI systems securely |
| UK NCSC — Machine Learning Principles | Principles-based ML security guidance referenced by NIST |
| CSA AI Controls Matrix | 247 control objectives across 18 domains; maps to ISO 42001 and ISO 27001 |
| Model Context Protocol specification | Read the security and authorization sections of the current revision |
#Tools & Repositories
#Offensive / Red Team Tools
| Tool | Purpose |
|---|---|
| garak — NVIDIA | LLM vulnerability scanner — 100+ probes for injection, jailbreaks, leakage. Note: the canonical repo moved from leondz/garak to NVIDIA/garak. Paper: arXiv 2406.11036 |
| PyRIT | Microsoft's Python Risk Identification Toolkit; multi-turn strategies (Crescendo, TAP, Skeleton Key) across text, image, audio |
| promptfoo | ⭐ LLM eval + red teaming with 50+ vulnerability checks and first-class CI/CD integration |
| DeepTeam | ⭐ Red-teaming framework simulating jailbreaks and multi-turn attacks across 40+ probes |
| Giskard | ⭐ Testing framework detecting injection, hallucination, bias and toxicity |
| PurpleLlama / CyberSecEval | Meta's LLM security evaluation suite (repo moved from facebookresearch/PurpleLlama) |
| LLM Fuzzer | Fuzzing framework for LLMs |
| PALLMs | Payloads for attacking LLMs |
| PromptInject | Prompt injection attack framework · Foundational |
| LLM Injector | LLM Injector Burp Suite Extension |
| Prompt Map | Security scanner for custom LLM applications |
| Augustus — Praetorian | Feb 2026: 210+ probes, 47 attack categories, 28 LLM providers, Go binary |
| Spikee — WithSecure | Custom injection datasets + automated tests, Burp Suite integration |
| AgentSeal | 150 attack probes against AI agents; supports OpenAI, Anthropic, Ollama · Unverified |
| Token Turbulenz | Fuzzer to automate looking for prompt injections |
| InjectLab | MITRE-style matrix of adversarial prompt injection techniques · Unverified |
#MCP & Agent Security Tools ⭐ NEW
| Tool | Purpose |
|---|---|
| mcp-scan — Invariant Labs | ⭐ The reference MCP scanner. Detects tool poisoning and cross-origin escalation, pins tool hashes to catch rug pulls, scans installed agents/servers/skills, and can proxy traffic through local guardrails |
| mcp-scanner — Cisco AI Defense | Multi-engine (YARA, LLM analysis, Cisco AI Defense) scanning of MCP tools, prompts, resources and server instructions; CLI or REST; CI/CD static mode |
| skill-scanner — Cisco AI Defense | Static analysis of agent skills |
| mcp-injection-experiments | Attack-side reference implementations to validate your scanner |
| Sentinel AI | Real-time detection across 12 languages, Claude Code attack vectors, MCP proxy · Unverified |
| Armorer Guard | Local Rust scanner for AI-agent prompt injection, credential leakage, exfiltration, MCP context, risky tool-call enforcement · Unverified |
| PIC Standard | Protocol to block unauthorized agent actions via intent + provenance checks · Unverified |
#Defensive / Scanning Tools
| Tool | Purpose |
|---|---|
| Rebuff | Prompt injection detection |
| LLM Guard — Protect AI | ⭐ 15 input + 20 output scanners: injection, PII, secrets, toxicity |
| NeMo Guardrails | NVIDIA programmable input/dialog/retrieval/output rails |
| Lakera Guard | Commercial prompt injection protection |
| AI Exploits — ProtectAI | Real-world ML exploit collection |
| ModelScan | Scan ML model files for malicious code |
| picklescan | ⭐ Unsafe-global detection in pickled model files |
| Vigil LLM | Stacked scanners: vector similarity, YARA, transformer classifier, canary tokens |
| InjecGuard | +30.8% over prior SOTA on NotInject benchmark, addresses false positives |
| openclaw-bastion | Detects Unicode homoglyphs, hidden HTML injection, zero-width character smuggling · Unverified |
| BodAIGuard | 3-tier detection (regex, heuristics, structural), 42 block rules · Unverified |
| tldrsec/prompt-injection-defenses | Actively maintained catalog of every practical defense in production |
#Reference Lists
| Resource | Description |
|---|---|
| Awesome LLM Security — corca-ai | Curated LLM security list |
| Awesome LLM — Hannibal046 | Everything LLM including security |
| Awesome AI Security — ottosulin | General AI security resources |
| LLM Hacker's Handbook | Comprehensive hacking handbook · Foundational |
| PayloadsAllTheThings — Prompt Injection | Payload collection |
| WideOpenAI | Jailbreak and bypass collection |
| Chatgpt-DAN | DAN jailbreak collection · Historical |
| Awesome Prompt Injection — FonduAI | Curated prompt injection resources |
#Benchmarks & Datasets
Reproducible measurement is what separates research from anecdote. Use these to justify findings and to test defenses rather than assert them.
| Benchmark | Focus | Link |
|---|---|---|
| AgentDojo | The standard agent security benchmark: 97 realistic tasks, 629 security cases across banking/email/travel/Slack (NeurIPS 2024) | arXiv 2406.13352 · GitHub |
| InjecAgent | Indirect prompt injection in tool-integrated agents; 1,054 cases across 17 tools (ACL 2024) | arXiv 2403.02691 |
| WASP | Web agent security against prompt injection (Meta) | arXiv 2504.18575 |
| WAInjectBench | Benchmarking prompt-injection detectors for web agents | arXiv 2510.01354 |
| VPI-Bench | Visual prompt injection against computer-use agents | arXiv 2506.02456 |
| HarmBench | Standardized automated red teaming and robust refusal evaluation (ICML 2024) | arXiv 2402.04249 |
| JailbreakBench | Reproducible jailbreak artifacts and leaderboard | jailbreakbench.github.io |
| CyberSecEval / PurpleLlama | Meta's LLM cybersecurity risk evaluations | GitHub |
| NotInject | False-positive measurement for injection detectors | InjecGuard repo |
Datasets worth knowing: the HackAPrompt competition corpus (large real-world human injection dataset), garak's bundled probe payloads, and PayloadsAllTheThings for quick manual coverage.
#Books, PDFs & E-Books
| Resource | Link |
|---|---|
| LLM Hacker's Handbook | GitHub |
| OWASP GenAI LLM Top 10 2026 | OWASP |
| OWASP Top 10 for Agentic Applications 2026 | OWASP |
| NIST AI 100-2e2025 — Adversarial ML Taxonomy | |
| OWASP Top 10 for LLM (Snyk) | PDF · Legacy |
| Bugcrowd Ultimate Guide to AI Security | |
| Lakera Real World LLM Exploits | |
| HackerOne Ultimate Guide to Managing AI Risks | E-Book |
| Explaining and Harnessing Adversarial Examples — Goodfellow et al. | arXiv · Foundational paper (also listed under Academic Papers) |
| Google AI Red Team Walkthrough | |
| AI Penetration Testing 2026 Guide | HackingDream |
#Video Resources & Podcasts
| Resource | Link |
|---|---|
| Penetration Testing Against and With AI/LLM/ML (Playlist) | YouTube |
| Andrej Karpathy — Intro to Large Language Models | YouTube |
| Andrej Karpathy — Let's build the GPT Tokenizer | YouTube |
| DEF CON AI Village Talks | YouTube |
| LiveOverflow — AI/ML Security | YouTube |
| 3Blue1Brown — Neural Networks Series | YouTube |
| John Hammond — AI Security Challenges | YouTube |
| Cybrary — Machine Learning Security | Cybrary |
| How AI Prompt Injection Works — Hands-On (Jan 2026) | YouTube |
| MCP Prompt Injection: How AI Gets Hacked (Nov 2025) | YouTube |
| Prompt Injection in LLM Agents: ReAct, Langchain | YouTube |
| Black Hat — official channel (AI/ML track talks) | YouTube |
| USENIX Security & Enigma conference talks | YouTube |
Conferences worth tracking: DEF CON AI Village, Black Hat AI/ML track, USENIX Security, NDSS, IEEE S&P, ACM CCS, OWASP Global AppSec (the GenAI Security Project runs summits and workshops alongside it — the November 2026 edition is the next major one).
#CTF & Competitions
| Competition | Description | Link |
|---|---|---|
| OWASP FinBot CTF ⭐ | Agentic AI CTF from the OWASP GenAI Security Project; challenges mapped to LLM Top 10, ASI Top 10, CWE, ATLAS | owasp-finbot-ctf.org |
| Crucible | Ongoing AI security challenges | crucible.dreadnode.io |
| HackAPrompt | Annual prompt injection competition | hackaprompt.com |
| AI Village CTF (DEF CON) | Annual AI security CTF at DEF CON | aivillage.org |
| Gandalf | Self-paced LLM challenge, 8 levels | gandalf.lakera.ai |
| Prompt Airlines | Gamified injection challenges | promptairlines.com |
| Hack The Box AI Challenges | HTB AI-themed challenges | hackthebox.com |
| Secdim AI Games | Web-based AI security games | play.secdim.com/game/ai |
| Gray Swan Arena | Recurring public jailbreak/agent red-teaming competitions with prizes and leaderboards | grayswan.ai |
| PromptTrace Gauntlet | 15-level CTF with full context trace, real LLMs | prompttrace.airedlab.com · Unverified |
| CrowdStrike AI Unlocked | Agent-focused, increasingly capable challenges (Feb 2026) | crowdstrike.com |
| ctf-prompt-injection (CharlesTheGreat77) | Dockerized, self-hostable, Ollama + local LLM | GitHub |
| ai-prompt-ctf (c-goosen) | Indirect injection against tool-calling agents (RAG, ReAct, function calling) | GitHub |
| AI/LLM Exploitation Challenges — 8ksec | Structured AI/ML CTF challenges | 8ksec.io |
#Bug Bounty Programs
AI/ML security bug bounties are growing rapidly — but scopes differ sharply, and reading the scope is the single highest-value thing you can do before submitting. The most common wasted report in 2026 is a prompt-injection finding sent to a program that explicitly excludes them.
| Program | Scope notes | Link |
|---|---|---|
| OpenAI Security Bug Bounty | Traditional security vulnerabilities across ChatGPT, API and infrastructure | bugcrowd.com/openai |
| OpenAI Safety Bug Bounty ⭐ NEW | Explicitly scopes third-party prompt injection and data exfiltration against agentic products (Browser, ChatGPT Agent). Jailbreaks out of scope; general content-policy bypasses out of scope | openai.com/index/safety-bug-bounty |
| OpenAI Bio Bug Bounty | Invite/NDA program, rolling applications, model-specific scope that rotates | openai.com/index/bio-bug-bounty |
| Anthropic | Claude, API, and a model-safety program focused on universal jailbreaks against deployed safeguards. Now run publicly on HackerOne | anthropic.com/security |
| Google AI VRP | Gemini apps, Search, Workspace core, AI Studio. ⚠️ Prompt injection, jailbreaks and alignment issues are explicitly out of scope — send those elsewhere. Rewards emphasize sensitive-data exfiltration and state-changing bugs | bughunters.google.com |
| Microsoft (Copilot, Azure AI) | Copilot consumer AI experiences and Azure OpenAI; updated in 2026 to accept moderate-severity submissions | msrc.microsoft.com |
| Meta AI Bug Bounty | Llama models, Meta AI | facebook.com/whitehat |
| Huntr (AI/ML focused) | Open-source ML libraries, and the Hugging Face Hub / models / spaces surface | huntr.com |
| 0DIN (Mozilla) | GenAI-specific bounty program accepting jailbreak and model-manipulation classes that mainstream VRPs reject | 0din.ai |
Verification note: program scopes and payout tables change frequently. Every entry above should be re-read on the official page before you invest research time. Nothing in this table should be treated as a guarantee that a class of finding will be rewarded.
Tips for AI bug bounty:
- Focus on data exfiltration via markdown rendering (still the most consistently paid finding)
- Test MCP tool poisoning — embed instructions in tool descriptions
- Test plugin/tool integrations thoroughly for SSRF, RCE
- Look for prompt injection in RAG pipelines
- Explore memory and persistent context manipulation
- Check for cross-tenant data leakage in multi-user deployments
- Test AI IDE rules files for backdoor injection vectors
- Look for multi-turn escalation bypasses in long conversations
- Demonstrate impact, not behavior. "The model said something bad" is not a finding. "An attacker-controlled document caused the agent to exfiltrate another user's data" is
- Transfer your web skills: AuthZ, IDOR, SSRF and cache deception reached through an AI feature are often the highest-severity, fastest-triaged bugs in these programs
#Community & News
#Communities
- AI Village — DEF CON's AI security community
- OWASP AI Exchange — Open standard for AI security
- OWASP Gen AI Security Project — Standards body maintaining the LLM Top 10, Agentic Top 10, ACS and FinBot; 30,000+ members. Working groups are open on OWASP Slack
- ProtectAI — AI security research and tools
- Embrace the Red — Blog — Leading blog on LLM security
- Kai Greshake's Research — Indirect prompt injection research
- r/llmsecurity — Most active LLM security subreddit
#Researchers Worth Following
Johann Rehberger (Embrace the Red) · Simon Willison · Kai Greshake · Florian Tramèr and the ETH SPY Lab (AgentDojo, adaptive attacks) · Edoardo Debenedetti · Nicholas Carlini (training-data extraction, adaptive attacks) · Rich Harang and Leon Derczynski (NVIDIA, garak) · Steve Wilson, John Sotiropoulos, Rock Lambros and the OWASP GenAI leads · Invariant Labs · HiddenLayer and Palo Alto Unit 42 research teams
#Newsletters & Blogs
- Simon Willison's Weblog — Authoritative LLM security commentary; the prompt-injection tag is the best running archive
- AI Weekly — Tracks what influential AI experts and organizations are reading and sharing
- The Batch — DeepLearning.AI — Weekly AI news
- HiddenLayer Research — AI security research
- Lakera Blog — LLM and agentic AI security insights
- PortSwigger Research — Web + AI security research
- Adversa AI Blog — Real-world AI security incidents and red teaming
- Palo Alto Unit 42 — MCP and agentic attack-vector research
- Microsoft Security Blog — AI — FIDES, recommendation poisoning, Copilot defenses
- Google Online Security Blog — Indirect prompt injection defense methodology and AI VRP reasoning
- Anthropic Research & News — Agentic misuse disclosures and safeguards research
- Cloud Security Alliance AI research — Consolidation notes on agentic browser exploits, MCP, skill poisoning
#Key Academic Papers
#Suggested Learning Path by Experience Level
#🟢 Beginner (0–3 months)
- Complete PortSwigger Web Security Academy fundamentals
- Learn Python basics
- Take Google ML Crash Course
- Read the OWASP GenAI LLM Top 10 (2026) — then skim the 2025 list so you recognize the older category names in tooling
- Play Gandalf — all 8 levels
- Read Simon Willison's prompt injection article
- Watch Andrej Karpathy — Intro to LLMs and the tokenizer video
- Read Prompt Injection Cheat Sheet — Seclify
- Deploy AIGoat locally and work the labs — no API keys or cloud accounts needed
#🟡 Intermediate (3–9 months)
- Study the MITRE ATLAS Matrix including the 2025–26 agentic techniques, and read the case studies
- Complete PortSwigger LLM Attack labs
- Set up and exploit Damn Vulnerable LLM Agent
- Work OWASP FinBot CTF and Crucible
- Read the LLM Hacker's Handbook
- Study Embrace the Red blog in full
- Experiment with garak, PyRIT and promptfoo — get one running in CI
- Try the Offensive ML Playbook
- Run DVMCP and reproduce Invariant's tool-poisoning PoCs
- Read Palo Alto Unit 42 MCP Attack Vectors and the OWASP MCP Top 10
- Build a small RAG app, then poison your own corpus and try to break tenant isolation
#🔴 Advanced (9+ months)
- Participate in AI Village CTF at DEF CON and Gray Swan arenas
- Submit findings to Huntr, OpenAI Safety Bug Bounty or 0DIN — match the finding class to the scope
- Study adversarial ML with ART and CleverHans; use NIST AI 100-2e2025 as your vocabulary
- Read the 2025–2026 papers: CaMeL, The Attacker Moves Second, the coding-assistant and skill-ecosystem SoKs
- Run AgentDojo against your own agent and report ASR with a benign-utility baseline — numbers without a utility baseline are meaningless
- Set up a local MCP environment and test tool poisoning, shadowing, rug pulls and cross-server contamination
- Contribute to open source tools like garak, mcp-scan or AI Exploits
- Build your own vulnerable agentic demo environment with MCP integration
- Write and publish research — blog posts, CVEs, conference talks
#🎯 Specialization Tracks
Once past intermediate, depth beats breadth. Pick one:
Agent Security Specialist — OWASP ASI Top 10 → AgentDojo and WASP → memory poisoning and A2A → agent identity, short-lived credentials and sandboxing → build and break a multi-agent pipeline.
MCP / Protocol Security — MCP spec (authorization sections) → OWASP MCP Top 10 → DVMCP → Invariant PoCs → OAuth 2.1, audience binding and token passthrough → write a scanner check that catches something mcp-scan misses.
AI Supply Chain — NIST AI 100-2e2025 poisoning taxonomy → pickle/safetensors internals → ModelScan and picklescan → the skill-ecosystem papers → model signing, AIBOM and provenance.
AI Red Teamer — garak/PyRIT/promptfoo fluency → HarmBench and JailbreakBench methodology → multi-turn and adaptive attacks → write reproducible, quantified reports rather than one-off screenshots.
#What's New in This Edition
(Changes made in the September 2026 revision, relative to the March 2026 edition.)
| Area | What Changed |
|---|---|
| OWASP 2026 standards | Added OWASP GenAI LLM Top 10 2026 (published 4 Aug 2026; Hidden Context Exposure replaces System Prompt Leakage, Excessive Agency up to LLM03) alongside the retained 2025 and 2023 versions; added Top 10 for Agentic Applications (ASI01–ASI10), OWASP MCP Top 10, and the Agent Control Standard |
| New Phase 5 — RAG, Vector & Embedding Security | Corpus poisoning, embedding inversion, cross-tenant retrieval, authorization drift, plus a practical 7-point RAG testing checklist. Hands-On, Advanced Exploitation and Bug Bounty renumbered to Phases 6–8 |
| MCP section expanded | OWASP MCP Top 10 taxonomy, MCP spec authorization gaps, rug pulls, token passthrough, shadow MCP, STDIO credential inheritance; real CVEs (CVE-2025-6514 mcp-remote, EscapeRoute, Git MCP argument injection) and incidents (Supabase/Cursor, Asana) |
| New 4.4 — Agent Skills & Plugin Supply Chain | SKILL.md poisoning, the ToxicSkills and ClawHavoc findings, Cato CTRL ransomware-via-skill research, HiddenLayer analysis, first agentic-AI CVE, plus two 2026 arXiv empirical studies |
| New 4.6 — Computer-Use & Browser Agents | UW study, Brave disclosures, CSA PleaseFix consolidation of the zero-click class, VPI-Bench, WASP, WAInjectBench, a safe local PoC repo |
| New 4.7 / 4.9 — Multimodal & Agent Identity | Typographic and non-textual jailbreaks, document and calendar-invite channels; confused-deputy testing, audience-bound tokens, per-agent identity |
| New 3.5 — Defenses Worth Breaking | CaMeL, FIDES, PromptArmor, and the two papers showing published defenses fail under adaptive attack |
| New Benchmarks & Datasets section | AgentDojo, InjecAgent, WASP, WAInjectBench, VPI-Bench, HarmBench, JailbreakBench, CyberSecEval, NotInject |
| Hands-on labs expanded | OWASP FinBot CTF, AIGoat, DVMCP, OWASP GenAI Red Team Lab, Invariant injection experiments — all self-hostable, several fully offline |
| Tools | New MCP & Agent Security tool table (mcp-scan, Cisco mcp-scanner, skill-scanner); added promptfoo, DeepTeam, Giskard, LLM Guard, picklescan, TextAttack, Counterfit |
| Papers | Expanded to include a Topic column; ~15 papers added across agents, RAG, skills, multimodal and defenses |
| Bug bounty | Added OpenAI Safety and Bio bounties and 0DIN; flagged that Google AI VRP excludes prompt injection and jailbreaks; added scope-verification warning |
| Link fixes | leondz/garak → NVIDIA/garak; facebookresearch/PurpleLlama → meta-llama/PurpleLlama; the placeholder https://owasp.org/ MCP cheat-sheet link now points to the real OWASP MCP Top 10 project; the GenAI Red Teaming Guide no longer points at the LLM Top 10 project page; Andrew Ng course now lists its current successor alongside the original |
| Provenance labels | Added Foundational / Historical / Legacy / Archived / Unverified markers so older entries are contextualized rather than deleted |
Last updated: September 2026 | Contributions welcome — submit a PR with new resources.
Entries marked Unverified are community submissions that maintainers have not independently validated. If you can confirm or refute one, please open an issue.