anmolksachan/AI-ML-Free-Resources-for-Security-and-Prompt-Injection
A GitHub-hosted, structured learning roadmap for AI/ML security and prompt injection, covering prerequisites (web/API basics), LLM fundamentals (OWASP LLM Top 10 2025, MITRE ATLAS), attack classes (prompt injection, indirect prompt injection, jailbreaking, multi-turn attacks, MCP tool poisoning, RAG poisoning, model extraction, supply chain), and hands-on labs/tools (Garak, PyRIT, ART, CleverHans, ModelScan). It also catalogs named CVEs in AI coding assistants (CVE-2025-53773 GitHub Copilot RCE, CVE-2025-54135 Cursor IPI-to-RCE) and points to bug bounty platforms, checklists for pentesting LLM apps, and community resources (AI Village, Embrace the Red, r/llmsecurity).
What it is
A curated reading and lab roadmap for AI/ML security, last updated September 2026. It is a link index with short annotations, not original research. The existing summary cites the OWASP LLM Top 10 2025, but the page treats the 2026 edition as current and the 2025 list as "Legacy". It also covers more than the summary lists: agent skills, agentic browsers, memory poisoning and RAG authorization.
What the page adds
OWASP 2026 LLM Top 10 (published 4 August 2026, per the page): 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 System Prompt Leakage), LLM09 Vector & Embedding Weaknesses, LLM10 Improper Output Handling. The page says most 2025 to early 2026 tooling and CTFs still map to the 2025 numbering.
Further CVEs beyond the two the summary names:
- CVE-2025-6514: mcp-remote proxy RCE, CVSS 9.6, 437,000+ installs affected.
- CVE-2025-53109 and CVE-2025-53110: "EscapeRoute" filesystem MCP sandbox bypass.
- CVE-2025-59536: Claude Code hook-triggered RCE, CVSS 8.7, patched October 2025.
- CVE-2026-21852: Claude Code API key exfiltration, CVSS 5.3, patched January 2026.
- CVE-2026-25253: RCE in an agent skill runtime, described as the first CVE assigned to an agentic AI system.
- Shelltorch: TorchServe vulnerabilities, CVSS 9.9.
Other catalogs it points to: OWASP Top 10 for Agentic Applications 2026 (ASI01 to ASI10) and an OWASP MCP Top 10 (MCP01 to MCP10).
Triage heuristic
The page recommends Meta's Agents Rule of Two (October 2025). An agent should satisfy no more than two of three properties. On engagements, an agent that meets all three is where to spend time.
flowchart LR
A[Untrusted inputs] --> D{All three?}
B[Sensitive data access] --> D
C[External state change] --> D
D -->|yes| E[Highest-risk agent]
D -->|no| F[Blast radius bounded]What to do
- Test web bug classes first. The page says many paid AI bounty findings are AuthZ, IDOR, SSRF and cache-deception bugs reached through an AI feature. It says markdown-image exfiltration (
) is still the most consistently paid finding. - Treat every file in a cloned repo as attacker input. For AI coding assistants, check
.cursor/rules,CLAUDE.md,AGENTS.md,.github/copilot-instructions.md, repo-controlled hooks andmcp.json. - Check MCP authorization. Look for token passthrough and missing audience binding. The page notes MCP authorization is optional in the spec.
- For RAG, use the page's checklist:
- Can you get content into the corpus?
- Is document-level ACL enforced at retrieval, not just in the UI?
- Can near-duplicate queries surface another tenant's chunks?
- Is the vector store reachable directly?
- Are ingested documents scanned for injection payloads and invisible Unicode?
- Enumerate inference servers. The list is vLLM, Ollama, llama.cpp, TensorRT-LLM, Triton, TorchServe, Ray and Kubernetes GPU workloads. The page says defaults often ship with no authentication.
- Read bounty scope before submitting. The page says prompt-injection reports sent to programs that exclude them are the most common wasted report in 2026.
- Weigh defense claims against adaptive attacks. Start with CaMeL (arXiv 2503.18813, control/data-flow separation) and "The Attacker Moves Second" (arXiv 2510.09023, adaptive attacks bypass 12 published defenses at over 90%). If you benchmark with AgentDojo, report attack success rate alongside a benign-utility baseline.
Caveats
- Items tagged Unverified are community submissions the maintainers have not validated. These include several arXiv IDs (2601.17548, 2603.21654, 2604.05480). The page says to confirm them before formal citation.
- Statistics such as 92% multi-turn success and over 85% attack success against defenses are quoted from third-party research, not reproduced by the maintainers.
- The page says bounty scopes and payout tables change often and must be re-read on the official pages.
- The roadmap gives no commands of its own. Its value is routing to sources, so each CVE's mechanism has to be read at the linked write-up.
CVEs named here
- CVE-2025-6514
- CVE-2025-53109
- CVE-2025-53110
- CVE-2025-53773
- CVE-2025-54135
- CVE-2025-59536
- CVE-2026-21852
- CVE-2026-25253
Technologies named here
- DarkMoon
- mcp-remote proxy
- GitHub Copilot
- garak
- PyRIT
- Cursor
- promptfoo
- Claude Code
- ModelScan
- TorchServe
- picklescan
- Ollama
- CleverHans
- vLLM
- ART
- llama.cpp / llama-server
- Foolbox
- TensorRT-LLM
- TextAttack
- Triton Inference Server
- Microsoft Counterfit
- Ray
- Kubernetes GPU workloads
- Burp Suite
- Hugging Face
- Postman
- curl
- Anthropic Git MCP server
- Supabase / Cursor support-ticket chain
- AIGoat
- Asana MCP
- Damn Vulnerable LLM Agent
- DVMCP
- ChatGPT / OpenAI ecosystem
- skill-scanner
- Google AI Studio
- Google Gemini
- MCP-Scan
- Meta AI
- AI Exploits
- Comet
- Gandalf
- Windsurf, Cline, Roo Code, Codex-class tools
- AgentDojo
- WASP
- WAInjectBench
- HarmBench
- JailbreakBench
- OWASP GenAI Red Team Lab
- Invariant Labs mcp-injection-experiments
- Spikee
- atlas-prompt-injection-poc
- Model Context Protocol
- ChatGPT
- LangChain
Techniques named here
- Prompt Injection
- Indirect prompt injection
- Jailbreaking
- Multi-Turn Attacks
- Crescendo / gradual escalation
- Low-resource language and encoding transfer
- Tool poisoning
- Tool shadowing
- Rug Pull
- Resource Theft
- Conversation Hijacking
- Covert Tool Invocation
- Cross-MCP Contamination
- Token Passthrough / Confused Deputy
- STDIO credential harvesting
- Model Inversion
- Membership Inference
- Data poisoning
- Adversarial Examples
- Model Extraction/Stealing
- Supply-chain attacks
- MCP Server Exploitation
- AI IDE Attacks
- RAG poisoning
- Training Data Exfiltration
- Denial of service
- Agent-to-Agent Attacks
- Agent Skill / Plugin Poisoning
- Memory Poisoning & Persistence
- Hidden context exposure
- Embedding Inversion & Cross-Tenant Retrieval
- Visual / Multimodal Prompt Injection
- Confused Deputy & Excessive Agency
- Shadow MCP / Shadow Agents
- Do Anything Now
- Role-playing / Persona manipulation
- Token smuggling
- Prompt leaking
- Rules File Backdoor
- Settings/hook execution
- MCP config injection
- Corpus / knowledge-base poisoning
- Embedding inversion
- Cross-tenant retrieval
- Authorization drift
- Retrieval-side exfiltration
- Similarity-search DoS
- Data exfiltration via markdown rendering
- Web Cache Deception
- Log-To-Leak
- PoisonedRAG
Threat actors named here
- GTG-1002
- ClawHavoc campaign
- Morris II
- MedusaLocker
- DAN
Also named here
- ClawHub
Related in AI Security
