Awesome AI Security

Browse the interactive version — the same list as a
learning path with two tracks, a filter, and a link for every topic.
A curated, annotated list of resources for AI security: prompt injection, adversarial machine
learning, model privacy, AI red teaming, and using AI for offensive and defensive security work.
Contributing
This README is generated. Edits to it are overwritten on the next build.
Add your resource to src/data/raw_resources.json with a title,
url, one-sentence description and a category, then run:
node scripts/map_data.cjs && node scripts/layout_pyramid.cjs && npm run awesome
Commit the regenerated README.md, nodes.json and graphData.ts along with your change. A pull
request that touches only README.md cannot reach the website, which is built from the same source
data. See CONTRIBUTION.md.
ML Foundations
Essential machine learning concepts and courses to build a foundation before diving into AI security.
Deep Learning
Deep dive into neural networks, transformers, and the architectures behind modern AI systems.
Prompt Injection
Understand prompt injection attacks that manipulate LLM behavior through crafted inputs.
- Prompt Injection & the Rise of Prompt Attacks: All You Need to Know - Explains prompt injection threats, examples, and mitigations.
- OpenAI Says AI Browsers May Always Be Vulnerable to Prompt Injection Attacks - Discusses ongoing risks and hardening efforts for agentic AI like Atlas.
- Prompt Injection Attacks in 2025: Risks, Defenses & Testing - Mainstream risks and testing strategies for prompt injections.
- Prompt Injection Attacks: The Most Common AI Exploit in 2025 - Detection, blocking, and mitigation for growing prompt injection threats.
- LLM01:2025 Prompt Injection - Updated risk overview for manipulating model behavior. OWASP Gen AI Security Project, 2025.
- Rebuff - Self-hardening prompt injection detector by ProtectAI.
- Garak - NVIDIA's LLM vulnerability scanner with dozens of plugins testing for jailbreaks, prompt injection, data leakage, and more.
- Vigil LLM - Detects prompt injections and risky inputs.
- EasyJailbreak - Framework for adversarial jailbreak prompts.
- Prompt Shield - Open-source prompt injection detection engine with 27 detectors and cross-domain techniques from bioinformatics and forensic linguistics.
- Agent Browser Shield - Browser extension that strips prompt injection (hidden text and HTML comments) from web pages before an AI agent's model sees them; also masks PII and removes dark patterns.
- AI Village @ DEF CON - Challenges like LLM Jailbreak and AI security research.
- Red Teaming Language Models to Reduce Harms - Systematic red teaming findings and public dataset. Anthropic, arXiv:2209.07858, 2022.
- OWASP Top 10 for LLM Applications 2025 - Critical risks including prompt injection, sensitive info disclosure, supply chain, and data poisoning.
- JailbreakBench - Benchmark for LLM jailbreak attacks and defenses.
- LLM Security Papers (chawins/llm-sp) - Papers and resources on LLM security and privacy including indirect prompt injection research.
- Armorer Guard - SDKs and integration contracts for a guard that screens AI-agent tool calls for prompt injection, credential leakage and exfiltration before execution.
- hego.red - Hands-on notes on LLM red teaming: prompt injection, jailbreaks, indirect injection, RAG and agent testing, with a scoping methodology and worked labs.
- Koma - Zero-dependency Node.js and TypeScript library that filters prompt injection, audio hallucinations and RAG scraping at the application boundary.
- Sentinel Scan CLI - CLI and MCP server that scans MCP manifests for tool poisoning and rug-pulls, and runs a prompt injection and jailbreak suite against your own LLM endpoint.
- RansomLeak AI Security Training - Browser-based labs on prompt injection, jailbreaking and LLM attack scenarios, mapped to the OWASP Top 10 for LLM and agentic AI. Commercial training.
- Skill-audit - Scanner for agent skills that flags prompt injection, dangerous shell use and secret access before installation. 31 rules, SARIF output, zero dependencies.
Adversarial Attacks
Learn how adversarial examples fool neural networks and methods to defend against them.
Poisoning & Backdoors
Data poisoning attacks and neural network backdoors that compromise model integrity.
Model extraction, membership inference, and training data extraction attacks.
- Extracting Training Data from Large Language Models - Privacy attacks via memorization. USENIX Security 2021.
- Model Leeching: An Extraction Attack Targeting LLMs - Practical model stealing from GPT-3.5 via API queries. arXiv:2309.10544, 2023.
- A Watermark for Large Language Models - Statistical watermarking for detecting AI-generated text. arXiv:2301.10226, 2023.
- Membership Inference Attacks on Machine Learning: A Survey - First comprehensive survey on MIAs with taxonomies for attacks and defenses. ACM Computing Surveys.
- A Survey of Privacy Attacks in Machine Learning - Covers membership inference, reconstruction, and model extraction attacks. ACM Computing Surveys.
- Membership Inference Attacks on Large-Scale Models: A Survey - MIAs targeting LLMs and LMMs across pre-training, fine-tuning, and RAG. arXiv:2503.19338, 2025.
- TrustLLM Benchmark - Comprehensive trustworthiness benchmark spanning truthfulness, safety, fairness, robustness, privacy, and ethics.
- awesome-ml-privacy-attacks - Curated list of 100+ papers on privacy attacks against machine learning.
- SecuredAI - Client-side prompt DLP for privacy: detects and masks PII and PHI before a prompt reaches the model, then restores the originals locally. Commercial.
Security tools for testing and defending AI systems against adversarial attacks.
- APort - AI agent identity verification and policy enforcement for autonomous systems.
- Counterfit - Microsoft penetration testing tool for ML systems.
- Whistleblower - Repello AI's offensive tool for testing LLM applications against system prompt leakage attacks.
- NeMo Guardrails - NVIDIA programmable guardrails for LLM safety and security.
- SecML - Secure and explainable ML library with attacks and defenses.
- Purple Llama (Meta) - Open-source LLM safety tools including Llama Guard, Prompt Guard, Code Shield, and CyberSec Eval benchmarks.
- Agent-Wiz - CLI that extracts agent workflows from LangChain, LangGraph, CrewAI and AutoGen and runs threat modeling over the resulting graphs.
- ai-evaluation - LLM evaluation framework with 50+ metrics, LLM-as-judge and guardrail scanners covering injection, PII and unsafe-output checks.
- SkilLock - Behavior-pinning lockfile and capability-delta review for agent skills; blocks unapproved drift in shell, network and file access in CI with SARIF output.
- Nika - Rust workflow engine for AI runs with hash-chained execution traces, default-deny allowlists for shell, network, file and tool access, and static secret-flow analysis.
- SourceryKit - Python SDK that checks an agent's tool calls and MCP handoffs against a trusted-endpoint allowlist and records the provenance of each answer.
- AI Security Registry - Registry of skills, goals and workflows for AI agents, with git-pinned versions reviewed before each update.
- sofagent - Harness for governing AI coding agents: commit-time audit rules over git diffs, an HMAC-signed audit trail and snapshot rollback, exposed as an MCP toolset.
- Bifrost - AI gateway unifying access to model providers and MCP servers, with guardrails, approvals, audit logs and access control at the edge.
- KeyDrift - Scans deployed HTML and JavaScript for secrets that AI-generated code inlines into the client bundle, separating public browser credentials from real leaks.
- AgentShield - Scanner for MCP servers, agent skills and plugins that runs thirteen engines over a package and returns one report. Runs offline via npx with no install.
- SpecLock - Enforces the constraints written in CLAUDE.md, AGENTS.md and .cursorrules before an AI coding agent edits a file, runs a shell command or commits, with an override audit trail and an MCP server.
- rust-norion - Rust control layer for local LLM agents with writer and evidence gates, memory and replay governance, and rollback, so agent self-modification stays inspectable and reversible.
AI Pentesting
Using AI assistants and agents for automated penetration testing and security assessments.
Vulnerability Detection
AI-powered vulnerability scanning, code analysis, and bug detection.
Exploit Generation
AI-assisted exploit development and attack automation techniques.
Tools that leverage AI for offensive security operations and analysis.
- Hound - AI auditor that builds adaptive knowledge graphs for deep code reasoning. Uses tiered AI approach for autonomous vulnerability discovery.
- HackGPT - LLM toolkit for offensive security.
- HackingBuddyGPT - Autonomous red-teaming agent with benchmarks.
- GhidrAssist - LLM extension for Ghidra with ReAct agentic mode for autonomous reverse engineering investigation.
- PyRIT (Python Risk Identification Tool) - Microsoft red-teaming framework for generative AI. Automates adversarial prompt generation and risk assessment.
- AI Security Analyzer - Generates security docs from codebases.
- BurpGPT - Burp Suite extension for AI-powered vulnerability scanning.
- CAI: Cybersecurity AI - Framework for building AI-driven security tools by Alias Robotics.
Benchmarks & Standards
Industry standards, threat frameworks, and evaluation benchmarks for AI security.
- ScaBench - Smart contract audit benchmark with 500+ real-world vulnerabilities from Code4rena, Cantina, and Sherlock for evaluating AI audit agents.
- International AI Safety Report 2025 - Summarizes evidence on general-purpose AI safety, including robustness.
- RobustBench - Leaderboard for adversarial robustness benchmarking.
- Stanford AIR-Bench 2024 - AI safety benchmark aligned with emerging government regulations and company policies.
- FLI AI Safety Index 2024 - Future of Life Institute's assessment of AI company safety practices and accountability.
- MITRE ATLAS - Adversarial Threat Landscape for AI Systems. Threat matrix documenting real-world attacks on ML (like ATT&CK for AI).
- NIST AI Risk Management Framework - Framework for managing AI risks throughout the AI lifecycle.
- Agent Threat Rules (ATR) - Open detection-rule standard for AI agent threats across ten categories, with MITRE ATLAS and OWASP crosswalks. Sigma-style executable rules, MIT-licensed.
Books
Essential books covering AI security, adversarial ML, and security applications.
Communities & Events
AI security communities, conferences, and events to stay connected.
Newsletters & Lists
Newsletters and awesome lists to stay current with AI security developments.
© muellerberndt · GitHub