OWASP Top 10 for LLMs, Agents, and MCP — A Plain-English Reference with Real-World Examples, Attack Walkthroughs, and Defensive Playbooks.
This guide provides a comprehensive look at the security landscape for Large Language Models (LLMs), AI Agents, and the Model Context Protocol (MCP).
You can view the interactive version of this book at: https://jinnu92.github.io/ai-security-field-guide/ (Replace with your GitHub username once deployed)
To run the book locally:
-
Clone this repository:
git clone https://github.com/your-username/ai-security-book.git cd ai-security-book -
Create and activate a virtual environment:
python3 -m venv .venv source .venv/bin/activate -
Install dependencies:
pip install -r requirements.txt
(Note: You may need to create a requirements.txt file if it doesn't exist)
-
Start the MkDocs server:
mkdocs serve
-
Open
http://127.0.0.1:8000/in your browser.
docs/: Contains the Markdown source files for the book.mkdocs.yml: Configuration for the MkDocs site and theme.part1-8: Organized chapters covering Foundations, OWASP Top 10s, and Playbooks.
This work is licensed under Creative Commons Attribution 4.0 International.