Retrieved article excerpt
Open article · Retrieved 2026-11-03T11:24:52.913089+00:00
[Skip to content](https://0x4d31.github.io/airt/#home)
[AIRT
AIRT](https://0x4d31.github.io/airt/#home)
Open Source · Free Forever
# AI Red Team Academy
Master AI Security. Break AI Systems. Defend What Matters.
A free, open-source course covering offensive security testing of AI systems — from prompt injection to supply chain attacks. 60+ hours of content with hands-on Docker labs.
[Start Learning](https://0x4d31.github.io/airt/#modules)
[Download All Labs](https://0x4d31.github.io/airt/#quickstart)
airt-lab ~ terminal
# Scan LLM for vulnerabilities
$ garak --model\_type ollama --model\_name llama3 --probes all
[\*] Loading 47 probes across 12 categories...
[\*] Testing prompt injection vectors...
[!] VULN: Direct prompt injection — system prompt override
[!] VULN: Encoding bypass — Base64 instruction injection
# Launch multi-turn Crescendo attack
$ pyrit attack --strategy crescendo --target http://localhost:8080
[\*] Initializing 5-turn escalation sequence...
[\*] Turn 3/5: Context boundary weakening detected
[!] Turn 5/5: Guardrail bypass achieved — ASR: 78%
$
8
Modules
60+
Hours
8
Docker Labs
100%
Free
// Course Overview
## What You'll Learn
A comprehensive, hands-on curriculum covering offensive security testing of AI systems — LLMs, RAG pipelines, multi-agent systems, and AI infrastructure. Every module includes a Docker-based lab environment.
### Prerequisites
- Basic understanding of machine learning concepts
- Familiarity with Python programming
- Command-line / terminal experience
- Docker basics (install Docker Desktop before starting)
- Curiosity about how AI systems can be exploited
### Who This Is For
- Security professionals expanding into AI/ML
- AI/ML engineers who want to build more secure systems
- Penetration testers adding AI targets to their skill set
- Researchers studying adversarial machine learning
- Anyone passionate about AI safety and security
Course Curriculum
## 8 Modules. 60+ Hours. Hands-On.
Each module includes detailed topics, a hands-on Docker lab, and curated references. Click any module to expand its full content.
01
### Foundations of AI Red Teaming
Learn to think like an AI adversary. Explore how red teaming AI differs from conventional penetration testing — probabilistic vs deterministic targets, novel attack surfaces, and the evolving AI threat landscape.
[Read Module 1 →](https://0x4d31.github.io/airt/module1.html)
#### Topics Covered
- What is AI Red Teaming and why it matters
- Traditional vs AI Red Teaming: key differences
- The AI Attack Surface: models, APIs, training data, outputs, infrastructure
- MITRE ATLAS Framework: 14 tactics, 66 techniques for AI adversary behavior
- NVIDIA AI Kill Chain: Recon → Poison → Hijack → Persist → Impact
- OWASP Top 10 for LLM Applications (2025 edition)
- NIST AI 100-2: Adversarial ML Taxonomy
- Threat modeling for AI systems
- Legal and ethical considerations in AI red teaming
- Setting up your AI red teaming lab environment
#### Lab 1: Setting Up Your AI Red Team Lab
Deploy a complete AI red teaming environment with local LLMs (Ollama), vector databases, and testing tools. Includes a vulnerable chatbot application as your first target.
- Deploy Ollama with a local LLM (Mistral 7B or Llama 3)
- Set up ChromaDB vector database
- Deploy a vulnerable AI chatbot application
- Install and configure garak, PyRIT, and promptfoo
- Run your first automated vulnerability scan with garak
- Document findings using the MITRE ATLAS taxonomy
[Download Lab](https://0x4d31.github.io/airt/#quickstart)
#### References
- [MITRE ATLAS](https://atlas.mitre.org)
- [OWASP Top 10 for LLM](https://genai.owasp.org/llm-top-10/)
- [NIST AI 100-2](https://csrc.nist.gov/pubs/ai/100/2/e2025/final)
- [NVIDIA AI Kill Chain](https://developer.nvidia.com/blog/modeling-attacks-on-ai-powered-apps-with-the-ai-kill-chain-framework/)
- [Microsoft AI Red Team](https://learn.microsoft.com/en-us/azure/foundry/concepts/ai-red-teaming-agent)
- [garak LLM Scanner](https://github.com/NVIDIA/garak)
- [PyRIT by Microsoft](https://github.com/Azure/PyRIT)
- [Promptfoo](https://github.com/promptfoo/promptfoo)
02
### Prompt Injection Attacks
Master the #1 vulnerability in LLM applications. Learn direct and indirect prompt injection, jailbreaking techniques, and how to systematically bypass safety guardrails.
[Read Module 2 →](https://0x4d31.github.io/airt/module2.html)
#### Topics Covered
- Direct prompt injection: overriding system prompts
- Indirect prompt injection: poisoning external context
- Jailbreaking techniques: DAN, role-play, context manipulation
- Encoding-based attacks: Base64, ROT13, Morse, Leetspeak, Unicode
- Multi-turn attacks: Crescendo and context accumulation
- Policy Puppetry and instruction hierarchy exploitation
- Token-level attacks and adversarial suffixes
- Automated prompt injection with evolutionary algorithms
- Measuring Attack Success Rate (ASR)
- Bypassing guardrails: character injection, AML evasion methods
- Testing guardrail products: Azure Prompt Shield, Meta Prompt Guard, NeMo
- Defense analysis: what works and what doesn't
#### Lab 2: Prompt Injection Playground
Attack a series of increasingly hardened chatbots. Start with unprotected models, progress through guardrail-protected systems, and learn to systematically discover bypasses.
- Perform direct prompt injection against an unprotected chatbot
- Extract system prompts from a 'secure' application
- Bypass content filters using encoding techniques (Base64, Unicode confusables)
- Execute multi-turn Crescendo attacks
- Use garak to automate jailbreak discovery
- Test and bypass a DeBERTa-based prompt injection classifier
- Implement evolutionary prompt generation to find novel bypasses
- Calculate and report ASR across different attack strategies
[Download Lab](https://0x4d31.github.io/airt/#quickstart)
#### References
- [OWASP LLM01: Prompt Injection](https://genai.owasp.org/llmrisk/llm01-prompt-injection/)
- [Bypassing LLM Guardrails - Mindgard](https://mindgard.ai/resources/bypassing-llm-guardrails-character-and-aml-attacks-in-practice)
- [Adaptive Attacks on LLMs - Keysight](https://www.keysight.com/blogs/en/tech/nwvs/2025/07/16/breaking-the-guardrails-how-simple-adaptive-attacks-jailbreak-llms)
- [Red Teaming LLMs with Evolving Prompts](https://betrusted.it/blog/red-teaming-llms-with-evolving-prompts/)
- [Prompt Injection - Obsidian Security](https://www.obsidiansecurity.com/blog/prompt-injection)
- [PyRIT Attack Strategies](https://learn.microsoft.com/en-us/azure/foundry/concepts/ai-red-teaming-agent)
- [Promptfoo Red Team Guide](https://www.promptfoo.dev/docs/red-team/)
03
### RAG Exploitation & Vector Database Attacks
Compromise Retrieval-Augmented Generation pipelines. Poison knowledge bases, manipulate retrieval mechanisms, exploit vector database vulnerabilities, and exfiltrate sensitive data from RAG systems.
[Read Module 3 →](https://0x4d31.github.io/airt/module3.html)
#### Topics Covered
- RAG architecture deep dive: ingestion, embedding, retrieval, generation
- The RAG attack surface: every component is a target
- Knowledge base poisoning: injecting malicious documents
- Indirect prompt injection through retrieved context
- HijackRAG: manipulating retrieval mechanisms (black-box and white-box)
- Vector database security: the 3,000+ exposed databases problem
- Embedding inversion attacks: reconstructing source data from vectors
- Data poisoning in vector databases
- Membership and attribute inference attacks
- Semantic deception: fooling similarity search
- Cross-context information conflicts
- RAG credential harvesting (MITRE ATLAS technique)
- Orchestration layer exploits: LangChain, LlamaIndex vulnerabilities
- CVE-2025-27135: RAGFlow SQL injection case study
- Microsoft 365 Copilot exploit chain: prompt injection + ASCII smuggling
#### Lab 3: Breaking RAG Systems
Build and then systematically compromise a RAG application. Poison its knowledge base, hijack retrieval, perform embedding inversion, and exfiltrate data through the LLM.
- Deploy a vulnerable RAG application with ChromaDB and LangChain
- Poison the knowledge base with malicious documents
- Perform indirect prompt injection through poisoned retrieved context
- Execute embedding inversion to recover source text from vectors
- Demonstrate membership inference against the vector database
- Exploit semantic deception to manipulate search results
- Chain RAG poisoning with data exfiltration via LLM output
- Test unauthenticated vector database access
- Identify and exploit orchestration framework vulnerabilities
[Download Lab](https://0x4d31.github.io/airt/#quickstart)
#### References
- [HijackRAG Paper](https://arxiv.org/html/2410.22832v1)
- [RAG Data Poisoning - Promptfoo](https://www.promptfoo.dev/blog/rag-poisoning/)
- [Secure RAG Systems 2025](https://testmy.ai/blog/building-secure-rag-systems-2025)
- [Vector DB Threats - Pure Storage](https://blog.purestorage.com/purely-technical/threats-every-ciso-should-know/)
- [LIAR Attack Framework](https://skysonginnovations.com/technology/exploiting-vulnerabilities-and-security-threats-in-retrieval-augmented-generative-models-the-liar-attack-framework/)
- [RAG Security Risks - Fortanix](https://www.fortanix.com/faq/ai-security/retrieval-augmented-generation-rag)
- [Enterprise AI Security Framework](https://www.enkryptai.com/blog/enterprise-ai-security-framework-2025-securing-llms-rag-and-agentic-ai)
04
### Multi-Agent System Exploitation
Exploit the emergent vulnerabilities in multi-agent AI systems. Compromise inter-agent communication, perform Byzantine attacks, manipulate collective decision-making, and cascade failures across agent networks.
[Read Module 4 →](https://0x4d31.github.io/airt/module4.html)
#### Topics Covered
- Multi-agent AI architectures: how agents communicate and coordinate
- Trust relationships between agents and their exploitation
- Communication interference and man-in-the-middle attacks on agents
- Byzantine attacks and agent impersonation
- Emergent exploitation: M-Spoiler framework for collective manipulation
- Jailbreak propagation across multi-agent systems
- Remote Code Execution (RCE) through agent tool use
- Memory manipulation attacks on agent long-term memory
- Thread injection in agent conversations
- Over-permissioned agent actions and privilege escalation
- Agent configuration modification for persistent backdoors
- Activation trigger discovery and exploitation
- AI Agent Tool Invocation for unauthorized actions
- Zero-trust architecture for agent interactions
- MITRE ATLAS 2025: 14 new agent-specific attack techniques
#### Lab 4: Compromising Multi-Agent Systems
Attack a multi-agent customer service system where agents collaborate to handle requests. Compromise one agent to influence others, escalate privileges, and exfiltrate data through tool invocations.
- Map the multi-agent system architecture and trust relationships
- Perform agent impersonation through prompt injection
- Demonstrate jailbreak propagation from one agent to another
- Manipulate agent memory to create persistent backdoors
- Exploit agent tool access to perform unauthorized actions
- Execute data exfiltration via agent tool invocation
- Discover and exploit activation triggers
- Test inter-agent communication integrity
- Implement and test zero-trust defenses
[Download Lab](https://0x4d31.github.io/airt/#quickstart)
#### References
- [Multi-Agent Exploits - Galileo AI](https://galileo.ai/blog/multi-agent-systems-exploits)
- [AI Agent Vulnerabilities - WitnessAI](https://witness.ai/blog/ai-agent-vulnerabilities/)
- [Agentic AI Security - CSO Online](https://www.csoonline.com/article/4132860/why-2025s-agentic-ai-boom-is-a-cisos-worst-nightmare.html)
- [MITRE ATLAS Agent Techniques](https://www.practical-devsecops.com/mitre-atlas-framework-guide-securing-ai-systems/)
- [MS-Agent Framework Vuln](https://www.securityweek.com/vulnerability-in-ms-agen