owasp-security
What it does
This skill gives an AI agent a reference of widely used OWASP security standards and common weaknesses to check. It is for developers doing security reviews, audits or secure feature work.
When to use it
- βWhen a developer wants a security review of a web app, API or mobile app.
- βWhen authentication, encryption or access control is being built and must be done safely.
- βWhen an AI or agent system must be checked for prompt injection and similar risks.
Skill link
https://github.com/davila7/claude-code-templates/blob/main/.claude-plugin/skills/owasp-security/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βReview my login and access control code for common OWASP security problems.β
5 new skills a week. 1 minute to read.
How it works
The skill gives the agent guidance from six OWASP standards, including how to detect each weakness and how to fix it. The agent then applies that guidance to the code you name.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Comprehensive OWASP Security Skills
A developer-focused security reference covering six OWASP standards for securing web applications, APIs, mobile apps, containers, and AI/LLM systems. Each section provides concise detection guidance, key requirements, and mitigation strategies.
Quick Navigation
- OWASP Top 10 (2021)
- OWASP ASVS 5.0
- OWASP MASVS v2.1.0
- OWASP API Security Top 10
- OWASP Kubernetes Top 10
- OWASP Agentic Applications 2026
Section 1: OWASP Top 10 (2021)
The OWASP Top 10 represents the most critical security risks in web applications.
A01: Broken Access Control
Detection: URLs with direct ID references (/user/1234/orders); client-side only enforcement; missing authorization checks.
Mitigation: Enforce server-side authorization for every sensitive operation; verify user ownership of resources; implement default-deny principle.
Example:
// INSECURE: No authorization check
app.get('/users/:id/orders', (req, res) => {
const orders = db.query('SELECT * FROM orders WHERE user_id = ?', req.params.id);
res.json(orders);
});
// SECURE: Authorization check
app.get('/users/:id/orders', (req, res) => {
if (req.user.id !== parseInt(req.params.id)) return res.status(403).json({error: 'Forbidden'});
const orders = db.query('SELECT * FROM orders WHERE user_id = ?', req.params.id);
res.json(orders);
});
Checklist: β Authorization on server for all sensitive ops β Default-deny policy β No ID-based obscurity β Whitelist allowed fields
A02: Cryptographic Failures
Detection: Sensitive data in plaintext; weak encryption (DES, ECB); missing TLS; hardcoded secrets in code. Mitigation: Always use HTTPS/TLS; encrypt data at rest with AES-256; store secrets in environment variables or vaults; mask sensitive logs. Example:
# INSECURE: API key in code
api_key = "sk-abc123xyz789"
# SECURE: From environment
import os
api_key = os.getenv("API_KEY")
if not api_key: raise ValueError("API_KEY not set")
Checklist: β HTTPS enforced β AES-256 encryption at rest β No secrets in code β Sensitive data masked in logs
A03: Injection (SQL, Command, NoSQL)
Detection: String concatenation in queries; exec, query, run with user input; no prepared statements.
Mitigation: Use parameterized queries; whitelist input; avoid string concatenation; use safe APIs (subprocess.run with list args).
Example:
# INSECURE: String concatenation
os.system("tar -czf " + filename + " /var/data")
# SECURE: List-based API
import subprocess
subprocess.run(["tar", "-czf", filename, "/var/data"], check=True)
Checklist: β Parameterized queries only β No string concat β Whitelist input β Safe subprocess calls
A04: Insecure Design
Detection: No threat modeling; missing security controls by design; no authentication/authorization from the start. Mitigation: Implement threat modeling early; design security in from the beginning; use established security libraries/patterns. Checklist: β Threat modeling completed β Security controls in design β Auth/authz from start β Security review in SDLC
A05: Security Misconfiguration
Detection: Debug mode enabled; default credentials; verbose error messages; missing security headers; exposed APIs. Mitigation: Disable debug mode; change defaults; hide version info; implement security headers (HSTS, CSP, X-Frame-Options). Example:
# INSECURE: Debug enabled in production
app.debug = True
# SECURE: Debug disabled
app.debug = False
app.config['HSTS_MAX_AGE'] = 31536000
Checklist: β Debug disabled β Defaults changed β Security headers set β No version disclosure
A06: Vulnerable & Outdated Components
Detection: Old versions in package.json/requirements.txt; unpatched frameworks; deprecated libraries.
Mitigation: Regularly audit dependencies with npm audit, pip safety, Snyk; remove unused packages; keep frameworks patched.
Checklist: β Dependency audits regular β No outdated versions β Unused deps removed β CI/CD security scanning
A07: Authentication Failures
Detection: Weak passwords; no MFA; predictable
FAQ
Which standards does it cover?
It covers the OWASP Top 10, ASVS, MASVS, API Security Top 10, Kubernetes Top 10 and the agentic applications guidance.
Does it guarantee a secure app?
No. It is a reference for finding and fixing common issues, and it does not replace a professional audit.
Can it help with AI systems?
Yes. It includes guidance on prompt injection and risks in LLM and agent systems.
Details
Original description by the author
Comprehensive OWASP-aligned security guidance across six standards - Top 10 (2021) for web apps, ASVS 5.0, MASVS v2.1.0 for mobile, API Security Top 10 (2023), Kubernetes Top 10 (2022), and the Agentic Applications 2026 edition for AI/LLM. Use for security reviews, vulnerability audits, secure auth/crypto/access-control implementation, Kubernetes manifest hardening, and LLM/agent prompt-injection defense - including indirect requests like "is this login flow secure?", "review this endpoint", or "audit my pod spec".
Popularity
- GitHub stars
- 33k
- Ranking position
- #8518
- License
- MIT
- Updated
- 11/2/2026
Comments
- β¦
More skills from this repository
agent-management
33kLets your agent create, list, hibernate, wake, rename and delete AI agents using the AI Maestro command line, managing each agent's lifecycle.
agent-messaging
33kLets your agent send, receive and reply to signed messages between AI agents, using the Agent Messaging Protocol, mostly on your own machine.
docs-search
33kLets your agent search auto-generated code documentation for function signatures, class definitions and comments, so it checks the real API before changing code.
graph-query
33kLets your agent query a code dependency graph to find callers, related components and the impact of a change before the code is edited.
Similar skills
reverse-engineer-anything
422kHelps your agent look inside shipped apps and packages to explain features, compare versions, or guide a rebuild, using the REA tool.
1password
394kHelps your agent set up the 1Password CLI, sign in, and read or inject secrets without printing their values into chat.
healthcheck
394kHelps your agent audit the computer or server that runs OpenClaw for security risks, such as SSH, firewall, updates, and backups, then suggest safe fixes.