Sandbox
@agamm/claude-code-owasp

OWASP security skill for Claude Code

This repo packages OWASP security guidance as a Claude Code skill. It gives Claude Code a core `SKILL.md` plus on-demand reference files for security reviews, safe patterns, and language-specific quirks.

358 stars32 forksUpdated 1mo ago
Who it's for

Builders who want Claude Code to review code and AI agent systems using current OWASP guidance.

What it delivers

You can ask Claude Code to spot security issues with fewer false positives and more current OWASP context.

What it does

OWASP Top 10:2025 reference

Includes the latest OWASP web application risk categories and a quick reference table.

Finding triage rubric

Checks attacker-controlled input, sink reachability, and blast radius before flagging an issue.

Security review checklists

Covers input handling, auth, access control, data protection, and error handling.

LLM app security coverage

Maps OWASP Top 10 for LLM Apps 2025 risks to chatbots, RAG, and tool-calling apps.

Agentic AI security coverage

Includes OWASP Agentic AI Security 2026 risks for agent systems.

ASVS 5.0 requirements

References real ASVS 5.0 requirement IDs and levels for verification work.

Language-specific quirks

Adds secure coding notes and examples for 20+ languages.

How to get it

  1. 1The skill is a directory (SKILL.md plus on-demand reference/ files), so install the…
    npx degit agamm/claude-code-owasp/.claude/skills/owasp-security .claude/skills/owasp-security
  2. 2Or install globally for all projects
    npx degit agamm/claude-code-owasp/.claude/skills/owasp-security ~/.claude/skills/owasp-security
  3. 3Run
    "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"
  4. 4Run
    git clone https://github.com/agamm/claude-code-owasp.git
    cp -r claude-code-owasp/.claude/skills/owasp-security YOUR_PROJECT/.claude/skills/

README

OWASP Security Skill for Claude Code

A Claude Code skill providing the latest OWASP security best practices (2025-2026) for developers building secure applications.

Quick Install

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-security

Or install globally for all projects:

npx degit agamm/claude-code-owasp/.claude/skills/owasp-security ~/.claude/skills/owasp-security

What's Included

Claude Code Skill

Location: .claude/skills/owasp-security/

SKILL.md (the always-loaded core):

  • OWASP Top 10:2025 quick reference table
  • Finding-triage rubric - confirm attacker-controlled input, sink reachability, and blast radius before reporting, to cut false positives
  • Security code review checklists for input handling, auth, access control, data protection, and error handling
  • Secure code patterns with unsafe/safe examples
  • OWASP Top 10 for LLM Applications (2025) - 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
  • Deep security analysis mindset for any language

reference/ (loaded on demand, following Claude Code progressive-disclosure best practices):

  • languages.md - language-specific security quirks for 20+ languages with unsafe/safe examples
  • owasp-report.md - deep-dive on the Top 10:2025, ASVS 5.0, the LLM Top 10 (2025), and the Agentic list (2026), with per-item attack vectors and mitigations

Accuracy

Category names, ASVS chapter structure, and ASVS requirement IDs and levels are verified directly against owasp.org/Top10/2025, github.com/OWASP/ASVS, and genai.owasp.org rather than paraphrased.

This matters more than it sounds: ASVS 5.0 renumbered every chapter, so 4.0 requirement IDs do not carry over, and three Top 10 categories were renamed in 2025. Much of the OWASP material circulating online still cites the old IDs and names.

Usage

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

Example Prompts

"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"

Covered Standards

StandardVersionFocus
OWASP Top 102025Web application vulnerabilities
OWASP ASVS5.0.0Security verification requirements
OWASP Top 10 for LLM Apps2025LLM/RAG/tool-calling app risks
OWASP Agentic2026AI agent security risks

Language Coverage

Security quirks for 20+ languages including:

WebSystemsMobileScripting
JavaScript/TypeScriptC/C++SwiftPython
PHPRustKotlinRuby
JavaGoDartPerl
C#Shell

Each language section includes common vulnerabilities, unsafe/safe code patterns, and key functions to watch for.

Alternative Installation

Clone Full Repository

git clone https://github.com/agamm/claude-code-owasp.git
cp -r claude-code-owasp/.claude/skills/owasp-security YOUR_PROJECT/.claude/skills/

Contributing

Contributions welcome! Please:

  1. Fork the repository
  2. Create a feature branch
  3. Submit a pull request

Sources

License

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

Files in the repo

Repository payload4 top-level entries
  • .claude
  • .gitignore
  • LICENSE
  • README.md

Discussion (0)

Ask about usage, or say what you built with it

Sign in to join the discussion.

No comments yet. Be the first to say what this is good for.

More skills

obra/
superpowers

An agentic skills framework & software development methodology that works.

285k
1 add

Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local deterministic AST parsing, every edge explained, no vector store.

117k
1 add
Vincentwei1021/
anything2explainer

Topic in, narrated explainer video out. A Claude Code / Codex skill that turns any topic into a black-canvas motion-graphics explainer video with TTS voiceover, subtitles and a chapter progress bar. Chinese or English; every frame drawn in code with Remotion.

666

Open-source AI job search: scan job portals, evaluate listings into a structured A-H report with a global 1-5 score, tailor your CV, track applications — runs locally in your AI coding CLI (Claude Code, Codex, OpenCode, Antigravity…)

71k