AI / GenAI Security
Secure AI systems and defend against AI-powered threats. Covers prompt injection, model security, LLM vulnerabilities, adversarial ML, AI red teaming, and responsible AI deployment.
- 110
- Resources
- 65
- Tools & repos
- 9
- Certifications
- 220
- Hours of material
Start with application security
Start here
Not sure where to begin? Follow these steps in order. Everything else on the page is there when you want to go wider.
By the end you can explain the top LLM risks, perform prompt injection yourself and know basic defenses.
- Prompt Injection Explained - Simon Willison
Learn what prompt injection is from the person who named it.
videoSimon Willison40 min
- OWASP Top 10 for LLM Applications (2025)
Learn the OWASP Top 10 risks for LLM applications.
documentationOWASP1 hr
- The Lethal Trifecta for AI Agents - Simon Willison
See why tools, private data and untrusted input combine dangerously.
articleSimon Willison15 min
- Gandalf - Prompt Injection Game (Lakera)
Trick Gandalf into revealing passwords to learn injection hands-on.
labLakera1 hr
- Red Teaming LLM Applications - DeepLearning.AI
Learn structured LLM red teaming in this short course.
courseDeepLearning.AI1.5 hr
- Prompt Airlines CTF - Wiz
Exploit an AI customer-service bot in Wiz's Prompt Airlines CTF.
labWiz1.5 hr
- Guidelines for Secure AI System Development - NCSC & CISA
Read NCSC and CISA guidance on building AI systems securely.
documentationNCSC UK / CISA1 hr
beginner
27 resourcesStart here if the domain is new to you. Vocabulary, core concepts and the first hands-on steps.
Frameworks & standards2
Governance, risk & policy3
Courses6
Prompt injection & jailbreaks4
Agents & MCP security1
Model supply chain2
Hands-on labs & CTFs5
Research & blogs2
intermediate
63 resourcesAssumes the beginner material. Real tooling, methodology, and practice against non-trivial targets.
Frameworks & standards9
Governance, risk & policy7
Courses3
Red teaming & testing2
Prompt injection & jailbreaks9
Crescendo Multi-Turn Jailbreak
Gradual multi-turn escalation that steers models past their safeguards
Agents & MCP security5
Model supply chain5
Adversarial ML & privacy2
Hands-on labs & CTFs8
Research & blogs6
AI for security2
Curated lists & datasets5
advanced
20 resourcesDepth and specialisation. Original research, complex tooling, material aimed at working practitioners.
Frameworks & standards1
Courses1
Prompt injection & jailbreaks1
Agents & MCP security3
Model supply chain1
Adversarial ML & privacy5
Hands-on labs & CTFs2
Research & blogs3
AI for security1
Tools and open-source repos
The software practitioners in this domain actually run. Projects that are archived or have gone quiet are labelled, so you know before you clone.
LLM red teaming & scanning14
Garak
NVIDIA's LLM vulnerability scanner probing for prompt injection, jailbreaks, data leakage, and toxicity
PyRIT (Microsoft)
Microsoft Python Risk Identification Toolkit for generative AI red teaming
promptfoo
Config-driven LLM, agent, and RAG evals and red teaming (OWASP LLM Top 10, jailbreaks) with CI integration
DeepTeam
Python framework simulating 40+ vulnerabilities and 10+ attack methods against LLMs and agents
Giskard
Testing library that scans LLM agents and RAG apps for injection, hallucination, harmful output, and leakage
AI-Infra-Guard (Tencent)
Full-stack AI red-team platform: AI infra CVE scanning, MCP and agent scanning, jailbreak evaluation
Spikee
Prompt injection kit that builds datasets and tests real LLM apps and guardrails; Burp-friendly
FuzzyAI (CyberArk)
Automated LLM jailbreak fuzzer with many attack techniques (ArtPrompt, many-shot, genetic)
Agentic Security
Agentic LLM vulnerability scanner with multimodal and multi-step jailbreaks, fuzzing, and CI hooks
promptmap
Scanner for custom LLM apps that tests system prompt leakage and injection
Prompt Fuzzer (ps-fuzz)
Interactive tool to test and harden a GenAI app's system prompt against dynamic attacks
Augustus (Praetorian)
Go-based single-binary LLM security tester for prompt injection, jailbreaks, and adversarial probes
Rigging (Dreadnode)
Lightweight LLM interaction framework for building offensive AI tooling
LLMFuzzer
Early fuzzing framework for LLM API integrations; useful for learning
Evaluation & benchmarks9
Inspect (UK AI Security Institute)
Government-grade LLM evaluation framework behind many cyber and agentic eval suites
PurpleLlama / CyberSecEval (Meta)
Benchmarks for insecure code, prompt injection, and attack helpfulness, plus Llama Guard and Prompt Guard
HarmBench
Standardized evaluation framework for automated red teaming and refusal robustness
JailbreakBench
Open benchmark, leaderboard, and artifacts for jailbreak attacks and defenses
AgentDojo
Dynamic environment to evaluate prompt injection attacks and defenses on tool-using agents
Agent Security Bench (ASB)
Benchmark of attacks and defenses for LLM agents: direct and indirect injection, memory poisoning, backdoors
Open-Prompt-Injection
Benchmark and toolkit for prompt injection attacks and defenses, including the DataSentinel detector
InjecAgent
Benchmark of indirect prompt injection against tool-integrated agents
AIRTBench (Dreadnode)
Benchmark measuring how well autonomous agents perform AI red-teaming challenges
Guardrails & runtime defense7
Rebuff
Multi-layer prompt injection detector; archived in 2024, so use NeMo Guardrails or LlamaFirewall instead
NeMo Guardrails (NVIDIA)
Programmable input, output, jailbreak, and topical rails for LLM apps using Colang
Guardrails AI
Validator framework that detects and fixes risky LLM inputs and outputs (PII, toxicity, injection)
LlamaFirewall + Prompt Guard 2 (Meta)
Agent guardrail system: Prompt Guard 2 jailbreak classifier, AlignmentCheck auditor, and CodeShield
Invariant Guardrails
Rule-based policy language for guarding agent traces and MCP tool calls
LLM Guard (Protect AI)
Input and output scanners for injection, PII, secrets, and toxicity; archived in 2026 but still installable
Vigil
Prompt injection and jailbreak detector using YARA, vector similarity, and canary tokens
Model supply chain8
ModelScan (Protect AI)
Scans H5, Pickle, and SavedModel files for serialization attacks that execute code
Fickling (Trail of Bits)
Pickle decompiler, static analyzer, and injector for detecting malicious model files
picklescan
The scanner Hugging Face uses to detect suspicious imports in pickle files
ModelAudit (promptfoo)
Static scanner for 30+ model formats (pickle, ONNX, GGUF, SafeTensors) for malicious code and backdoors
Model Signing (Sigstore / OpenSSF)
Sign and verify ML models for provenance using the OpenSSF Model Signing spec
Safetensors
Safe tensor serialization format: the standard fix for pickle-based code execution
OWASP AIBOM Generator
Generates CycloneDX AI bills of materials for Hugging Face models
Cisco AIBOM
Scans source code to build an inventory of the AI models and components it uses
MCP & agent security6
Snyk Agent Scan (formerly mcp-scan)
Scans MCP servers, agent configs, and skills for tool poisoning, rug pulls, and toxic flows
Cisco MCP Scanner
Scans MCP servers and tools with YARA rules and LLM-as-judge analysis
Cisco Skill Scanner
Security scanner for agent skills: malicious instructions and data exfiltration
Cisco A2A Scanner
Scans Agent-to-Agent (A2A) protocol agents for threats
Agentic Radar (SPLX)
Maps agentic workflows (LangGraph, CrewAI, n8n) and flags tool and MCP risks
Ramparts
Rust scanner for MCP servers and skills covering indirect attack vectors and misconfigurations
Adversarial ML & privacy6
Adversarial Robustness Toolbox
IBM library for crafting adversarial attacks and defenses against ML models
TextAttack
NLP adversarial attack, data augmentation, and adversarial training framework
Foolbox
Fast adversarial examples for PyTorch, TensorFlow, and JAX
CleverHans
Classic adversarial example library (FGSM, PGD, C&W) for learning the fundamentals
ML Privacy Meter
Audits privacy leakage of ML models using membership inference attacks
Opacus (Meta)
Train PyTorch models with differential privacy
Attack research code4
llm-attacks (GCG)
Reference code for the universal adversarial suffix (GCG) jailbreak attack
Indirect Prompt Injection Demos
Original indirect prompt injection research demos from 'Not what you've signed up for'
ai-exploits (Protect AI)
Real-world exploits plus Metasploit and Nuclei templates for AI/ML infrastructure such as MLflow and Ray
BrokenHill (Bishop Fox)
Productionized GCG attack tool for generating jailbreak suffixes
AI-powered security tools11
PentestGPT
Agentic LLM pentesting framework that originated in a USENIX Security paper
Strix
Autonomous AI agents that find application vulnerabilities and validate them with proofs of concept
PentAGI
Autonomous multi-agent pentest system running in a Docker sandbox with a web UI
Shannon (Keygraph)
White-box AI pentester for web apps and APIs that reads source and runs real exploits
hackingBuddyGPT
Minimal research framework for LLM-driven privilege escalation and pentest agents
Nebula
AI-powered pentest assistant for recon, note-taking, and command suggestions
HexStrike AI
MCP server exposing 150+ security tools to AI agents; dual-use, so test only with authorization
GhidraMCP
MCP server that lets LLMs drive Ghidra for AI-assisted reverse engineering
IDA Pro MCP
MCP bridge for AI-assisted reverse engineering in IDA Pro (requires an IDA license)
Burp Suite MCP Server (PortSwigger)
Official MCP server connecting Burp Suite to AI clients
Vulnhuntr (Protect AI)
LLM-driven zero-shot vulnerability discovery in Python codebases
Certifications for this domain
Hands-on exams first — those assess what you can do rather than what you can recall.
GASAE (GIAC AI Security Automation Engineer)
SANS/GIAC
Hands-on$999CAISP (Certified AI Security Professional)
Practical DevSecOps
Hands-on~$1,099CompTIA SecAI+
CompTIA
Mixed~$298AAISM (Advanced in AI Security Management)
ISACA
Theory$599AIGP (Artificial Intelligence Governance Professional)
IAPP
Theory$799Microsoft SC-500 (Cloud and AI Security Engineer Associate)
Microsoft
Mixed$165GAIPS (GIAC AI Platform Security)
SANS/GIAC
Mixed$999GOAA (GIAC Offensive AI Analyst)
SANS/GIAC
Mixed$999TAISE (Trusted AI Safety Expert)
Cloud Security Alliance
Theory$795