Skip to content

pathakabhi24/LLM-MCP-Security-Field-Guide

Repository files navigation

🛡️ AI Security Field Guide — LLM + MCP Security

The most comprehensive, up-to-date, practitioner-first security reference for LLM applications and Model Context Protocol (MCP) deployments.
Covers real CVEs, live attack patterns, OWASP frameworks, red teaming tools, and actionable checklists — updated weekly.

Stars Forks Updated OWASP PRs Welcome


Why This Guide Exists

The AI security landscape shifted dramatically in 2025–2026:

  • 🔴 492 MCP servers publicly exposed with no authentication (Trend Micro, 2026)
  • 🔴 CVE-2025-6514 compromised 437,000+ developer environments via mcp-remote OAuth proxy
  • 🔴 1,184 malicious skills confirmed across the ClawHub agent registry (Antiy CERT, 2026)
  • 🔴 Claude Code RCE vulnerability (CVE-2025-59536, CVSS 8.7) — triggered by opening a repo
  • 🔴 OWASP released 2 new frameworks: LLM Top 10 (2025) + Agentic Top 10 / ASI (Dec 2025)

Most tutorials show you how to build with MCP and LLMs. Almost none show you how to secure them. This is that guide.


Table of Contents

Part 1 — LLM Security (OWASP LLM Top 10)

Part 2 — MCP Security (OWASP MCP Top 10)

Part 3 — OWASP Agentic Top 10 (ASI 2026)

Part 4 — Red Teaming

Part 5 — Checklists


Real CVE Quick Reference

CVE CVSS Component Impact
CVE-2025-6514 CRITICAL mcp-remote (558k+ downloads) RCE, 437k+ environments compromised
CVE-2025-59536 8.7 Claude Code RCE via .claude/settings.json Hook injection
CVE-2026-21852 5.3 Claude Code API key theft via request redirection
CVE-2026-28363 9.9 OpenClaw Localhost WebSocket hijack → data exfiltration
CVE-2025-65513 9.3 mcp-fetch-server SSRF → internal network access
CVE-2025-68145/43/44 HIGH mcp-server-git Path bypass + RCE chain

Live tracker: vulnerablemcp.info


Frameworks Covered

Framework Scope Released
OWASP LLM Top 10 (2025) LLM application risks Nov 2024
OWASP Agentic Top 10 (ASI 2026) Autonomous agent risks Dec 2025
OWASP MCP Top 10 MCP protocol risks 2025 (Beta)
OWASP Agentic Skills Top 10 Agent skill/plugin risks Q1 2026
MITRE ATLAS Adversarial ML tactics Ongoing
NIST AI RMF Governance framework 2023

Red Teaming Tools

Tool Best for
DeepTeam 50+ vulnerabilities, OWASP/NIST/MITRE frameworks
promptfoo CI/CD integration, OWASP plugin mapping
Garak 100+ automated vulnerability probes
PyRIT Microsoft's orchestration framework
agent-scan MCP server + agent skill scanner

Contributing

Contributions are welcome. See CONTRIBUTING.md.

  • Found a new CVE? Open an issue.
  • Better mitigation code? Submit a PR.
  • New attack pattern? Document it.

License

CC BY 4.0 — Free to use, share, and build on with attribution.


⭐ Star this repo if it helped you secure something. It helps others find it.

About

The most comprehensive LLM + MCP security guide i.e. OWASP aligned, real CVEs, actionable checklists

Topics

Resources

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors