OWASP Secure Agent Playbook Project
An open-source security playbook for AI agents. Structured, OWASP-grounded procedures that enable agents to perform security engineering tasks — from code review to AI agent security audits.
Without a playbook, asking an AI agent to "review my code for security" gives you a surface-level checklist. With these plays, the agent follows a structured OWASP-grounded procedure — systematically testing every vulnerability class, producing findings with CWE mappings, OpenCRE cross-references, evidence snippets, and specific remediation code.
This is not a framework or a library. There is no code to import.
Each play is a step-by-step security procedure with checklists, decision criteria, and output templates. An AI agent follows the procedure to produce consistent, evidence-based findings. Think of it like a SOC analyst's playbook — but written for AI agents to execute.
With Claude Code (recommended):
Step 1 — Register the plugin marketplace:
/plugin marketplace add OWASP/secure-agent-playbook
Step 2 — Install a skill set:
/plugin install code-security-skills@agent-security-playbook
/plugin install ai-security-skills@agent-security-playbook
Step 3 — Use the skills by mentioning the task in conversation:
"Review this code for security issues"
"Scan my dependencies for CVEs"
"Audit this MCP server configuration"
"Test this chatbot for prompt injection"
Claude will automatically activate the relevant skill based on context. See Skills Catalog for all available skills and Example Output for what the results look like.
Organization plugin — For Claude organization admins installing via Organization Plugins:
secure-agent-playbook.zip from the release assetsNote: Do not use GitHub's "Download ZIP" button — it nests files in a subdirectory that the plugin validator rejects. Always use the release asset zip.
Organization skills — For Claude organization admins uploading individual skills at Organization settings > Skills:
web-security-review.zip)Note: The skills upload rejects zips with more than 200 files, so the full
secure-agent-playbook.zipcannot be uploaded there — use the per-skill zips. To build them from a clone, runscripts/package_skills.shand upload fromdist/skills/.
Local development — To test from a local clone instead of GitHub:
/plugin marketplace add /path/to/agent-security-playbook
/plugin install code-security-skills@agent-security-playbook
/plugin install ai-security-skills@agent-security-playbook
Without Claude Code:
Reference plays directly as procedures for any AI agent or manual use:
plugins/ai-security-skills/plays/agent-security-audit.md"code-security-skills)| Skill | What It Does | Say This | OWASP Ref |
|---|---|---|---|
code-review-security | Security code review mapped to Top 10 + ASVS | "Review this code for security issues" | Top 10, ASVS |
sca-audit | Dependency CVE scanning with reachability analysis | "Scan my dependencies for CVEs" | A06:2021 |
secrets-scan | Detect hardcoded credentials and API keys | "Scan for hardcoded secrets" | CWE-798 |
api-security-review | API review against OWASP API Top 10 (2023) | "Review this API for security" | API Top 10 |
web-security-review | Web app review against OWASP Top 10 (2021) | "Review this web app for OWASP Top 10" | Top 10 |
mobile-code-review | Native Android/iOS source review against OWASP MASVS v2.1.0 | "Review this mobile app for security" | MASVS v2.1.0 |
iac-security-review | IaC security (Terraform, K8s, CloudFormation) | "Review this Terraform for security" | CIS Benchmarks |
securability-engineering | Generate inherently securable code (FIASSE v1.0.4) | "Generate secure code for..." | FIASSE v1.0.4 |
securability-engineering-review | Assess code securability (0-10 SSEM scoring) | "Assess the securability of this code" | FIASSE v1.0.4/SSEM |
prd-securability-enhancement | Harden PRDs/specs with ASVS coverage and FIASSE SSEM requirements before code is written | "Harden this PRD" / "Map features to ASVS" | ASVS, FIASSE v1.0.4 |
security-guidance | Auto-triggered ASVS guidance for security-sensitive code | (auto-triggered) | ASVS 5.0 |
ai-security-skills)| Skill | What It Does | Say This | OWASP Ref |
|---|---|---|---|
agent-security-audit | Audit agent permissions, injection surfaces, data exfil paths | "Audit this agent's security" | LLM Top 10 |
llm-risk-assess | LLM app assessment against LLM Top 10 2025 | "Assess LLM risks for this app" | LLM Top 10 |
agentic-ai-risk-assess | Agentic app assessment against Top 10 Agentic 2026 | "Assess agentic AI risks" | Agentic Top 10 |
mcp-server-review | MCP server security review | "Review this MCP server" | LLM Top 10 |
prompt-injection-test | Prompt injection testing (Arcanum PI Taxonomy) | "Test for prompt injection" | LLM01 |
multi-agentic-threat-model | CSA MAESTRO 7-layer threat modeling | "Model threats for this multi-agent system" | CSA MAESTRO |
ai-security-verification | AI application verification against OWASP AISVS (13 categories) | "Verify this AI app against AISVS" | AISVS |
Agents are autonomous security specialists that invoke skills and produce structured reports. Each agent has a focused system prompt, scoped tool access, and preloaded skills. Use them individually or as a coordinated team.