A Claude Code skill providing the latest OWASP security best practices (2025-2026) for developers building secure applications.
Install as a Claude Code plugin:
/plugin marketplace add agamm/claude-code-owasp
/plugin install owasp-security@agamm
Third-party marketplaces don't auto-update by default. Either update by hand:
claude plugin marketplace update agamm
claude plugin update owasp-security@agammor turn on auto-update once: run /plugin, open the Marketplaces tab, select agamm, and
choose Enable auto-update. Updates apply to the next session, or run /reload-plugins.
The skill is a directory (SKILL.md plus on-demand reference/ files), so install the whole
folder. The easiest way is degit, which copies a
GitHub subdirectory without the .git history:
npx degit agamm/claude-code-owasp/.claude/skills/owasp-security .claude/skills/owasp-securityOr install globally for all projects:
npx degit agamm/claude-code-owasp/.claude/skills/owasp-security ~/.claude/skills/owasp-securityLocation: .claude/skills/owasp-security/
SKILL.md (loaded when the skill triggers):
- Security review workflow - a five-step checklist from entry points to report
- Finding-triage rubric - confirm attacker-controlled input, sink reachability, and blast radius before reporting, to cut false positives
- Reporting format - fixed finding structure (location, input-to-sink path, impact, fix, confidence) with severity rated by exploitability
- OWASP Top 10:2025 quick reference table
- OWASP Top 10 for LLM Applications (2026) - LLM01-LLM10 risks for chatbots, RAG, and tool-calling apps
- OWASP Agentic AI Security (2026) - ASI01-ASI10 risks for AI agent systems
- ASVS 5.0 key requirements with real 5.0 requirement IDs and levels
reference/ (loaded on demand, following Claude Code progressive-disclosure best practices):
review-checklist.md- coverage checklist for every Top 10 category (including SSRF, file handling, JWTs, CORS, and CSRF) plus LLM and agent featureslanguages.md- language-specific security quirks for 20+ languages with unsafe/safe examplesconfig-and-supply-chain.md- A02 and A03 where they actually live: Dockerfiles, Kubernetes, Terraform, framework config, security headers, lockfiles, dependency confusion, install scripts, and CI/CD workflowsowasp-report.md- deep-dive on the Top 10:2025, ASVS 5.0, the LLM Top 10 (2026), and the Agentic list (2026), with per-item attack vectors and mitigations
Category names, ASVS chapter structure, and ASVS requirement IDs and levels are verified directly against owasp.org/Top10/2025, github.com/OWASP/ASVS, and the LLM Top 10 2026 PDF rather than paraphrased. The Agentic Top 10 names are checked against that PDF's framework-mapping appendix.
This matters more than it sounds: ASVS 5.0 renumbered every chapter, so 4.0 requirement IDs do not carry over, three Top 10 categories were renamed in 2025, and the LLM Top 10 2026 reordered eight of its ten entries. Much of the OWASP material circulating online still cites the old IDs and names.
Once installed, Claude Code automatically activates this skill when you:
- Review code for security vulnerabilities
- Implement authentication or authorization
- Handle user input or external data
- Work with cryptography or password storage
- Design API endpoints
- Build AI agent systems
"Review this code for security issues"
"Is this authentication implementation secure?"
"What are the security risks in this Python code?"
"Help me implement secure session management"
"Check this AI agent for OWASP agentic risks"
| Standard | Version | Focus |
|---|---|---|
| OWASP Top 10 | 2025 | Web application vulnerabilities |
| OWASP ASVS | 5.0.0 | Security verification requirements |
| OWASP Top 10 for LLM Apps | 2026 | LLM/RAG/tool-calling app risks |
| OWASP Agentic | 2026 | AI agent security risks |
Security quirks for 20+ languages including:
| Web | Systems | Mobile | Scripting |
|---|---|---|---|
| JavaScript/TypeScript | C/C++ | Swift | Python |
| PHP | Rust | Kotlin | Ruby |
| Java | Go | Dart | Perl |
| C# | Shell |
Each language section includes common vulnerabilities, unsafe/safe code patterns, and key functions to watch for.
evals/ holds test cases for claude plugin eval:
a real finding next to a safe look-alike, safe code that should not draw High findings, a real but
conditional risk that should be rated below High, an LLM agent that runs model output in a shell, and
an unrelated request that should not load the skill. Each case runs with and without the skill, so the
score shows what the skill adds. Evals target Sonnet and Opus; each case pins model: sonnet.
claude plugin eval . # Sonnet, the pinned default
claude plugin eval . --model opusRuns are real model calls billed to your account. Run the suite before and after any change to
SKILL.md or its description.
git clone https://github.com/agamm/claude-code-owasp.git
cp -r claude-code-owasp/.claude/skills/owasp-security YOUR_PROJECT/.claude/skills/Contributions welcome! Please:
- Fork the repository
- Create a feature branch
- Run the evals, and add a case if you are fixing a behavior they missed
- Submit a pull request
The skill follows Anthropic's skill authoring best practices:
keep SKILL.md to what Claude would otherwise get wrong, and put depth in reference/.
- OWASP Top 10:2025
- OWASP ASVS 5.0 — chapter files, one per V-number
- OWASP Top 10 for LLM Applications 2026
- OWASP GenAI Security Project — home of the LLM and Agentic lists
- OWASP Cheat Sheet Series
MIT License - See LICENSE file for details.
Keywords: OWASP, security, Claude Code, AI security, application security, ASVS, secure coding, vulnerability, injection, XSS, CSRF, authentication, authorization