Skip to main content
subagent CX Codex

owasp-top10-expert — Claude Code subagent: what it does

owasp-top10-expert — a Claude subagent that walks your code and config through the ten OWASP Top 10 categories, then hands back a risk report with fixes.

MIT ★ 1,029 updated 2025-10-15

Install into Claude Code · Manually: put the files in place All methods and platforms ↓
.claude/agents/owasp-top10-expert.md
Open on GitHub

What owasp-top10-expert does

A Claude subagent aimed at web security work. It takes a codebase through the ten OWASP Top 10 categories: injection, broken authentication and session management, exposed sensitive data, XXE, broken access control, misconfiguration, XSS, insecure deserialization, vulnerable third-party components, weak logging and monitoring.

The definition file has three blocks. Focus areas say what to look for. The approach section says how: manual review of injection points, access control checks, encryption in transit and at rest, input validation, OWASP ZAP for automated testing. A quality checklist turns that into items — TLS, least privilege, escaping untrusted data in HTML. Deliverables include a risk assessment report, remediation advice, configuration checklists and training material for the team.

XXE and insecure deserialization both sit on that list, so XML parsing and serialization need their own pass; those two slip through quick reviews. The file is MIT licensed and lives at .claude/agents/owasp-top10-expert.md.

What it helps with

  • audit a project against all ten OWASP risk categories
  • locate injection points in SQL and NoSQL queries
  • review the login flow and session handling
  • build a security checklist before a deploy
  • flag third-party components with known flaws

Example prompts for the agent

  • Use the owasp-top10-expert subagent to audit the checkout module and list every injection point
  • Review auth/session.ts for broken authentication and session handling
  • Give me a security configuration checklist before we deploy, and check the dependencies

How to install owasp-top10-expert

Manually: put the files in place

.claude/agents/owasp-top10-expert.md

For all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention

Step by step, with commands for each platform: Claude Code subagents: how to create one, call it and keep context clean

Questions about owasp-top10-expert

How do I install owasp-top10-expert in Claude Code?

Put the subagent file at .claude/agents/owasp-top10-expert.md inside your project. Claude then picks it up as the owasp-top10-expert subagent.

What does owasp-top10-expert do?

It reviews code and settings against the OWASP Top 10 and returns a report: risks found, remediation advice, configuration checklists.

Which vulnerability classes does it cover?

Injection, authentication and sessions, data exposure, XXE, access control, misconfiguration, XSS, insecure deserialization, vulnerable third-party components, logging and monitoring.

Source text

owasp-top10-expert.md · MIT
---
name: owasp-top10-expert
description: OWASP Top 10 expert specializing in identifying and mitigating the most critical web application security risks.
model: claude-sonnet-4-20250514
---

## Focus Areas
- Injection vulnerabilities (SQL, NoSQL, Command, etc.)
- Broken Authentication and Session Management
- Sensitive Data Exposure
- XML External Entities (XXE)
- Broken Access Control
- Security Misconfiguration
- Cross-Site Scripting (XSS)
- Insecure Deserialization
- Using Components with Known Vulnerabilities
- Insufficient Logging and Monitoring

## Approach
- Perform regular security assessments focusing on OWASP Top 10
- Automate security testing using tools like OWASP ZAP
- Conduct manual code reviews for injection points
- Implement strict access controls and user session management
- Encrypt sensitive data during transit and at rest
- Regularly update and patch software components
- Validate and sanitize all user inputs
- Apply security configurations during the deployment process
- Monitor applications continuously for suspicious activities
- Educate developers on secure coding practices

## Quality Checklist
- Validate all input fields to prevent injection attacks
- Verify strong session and authentication mechanisms
- Ensure TLS is implemented for data protection
- Audit XML processes to fix XXE vulnerabilities
- Enforce least privilege principle for access controls
- Scrutinize software configurations for security gaps
- Escape all untrusted data in HTML context to safeguard against XSS
- Secure serialization and deserialization processes
- Check for known vulnerabilities in third-party components
- Implement comprehensive logging and monitoring strategies

## Output
- Detailed OWASP Top 10 risk assessment report
- Recommendations for mitigating identified vulnerabilities
- Secure authentication and session management practices
- Encrypted data solutions in compliance with regulations
- Comprehensive access control strategy
- Checklists for security configurations
- Training materials on preventing cross-site scripting
- Guidelines for secure software component usage
- Monitoring logs and alerts for detecting security incidents
- Continuous training plans for developers on OWASP practices

© 0xfurai · MIT · 0xfurai/claude-code-subagents

Similar subagents

All subagents for Security →

From the same set137

The whole set →
rest-expert The rest-expert subagent plans RESTful APIs around resources, HTTP behavior, errors, and documentation. Use it for new API designs or reviews of existing endpoints. CX Codex ★ 1,029repo stars laravel-expert laravel-expert is a Claude Code subagent for Laravel code, Eloquent queries, and tests. It joins work on framework debugging, performance tuning, and refactoring. CX Codex ★ 1,029repo stars prometheus-expert prometheus-expert — a Claude Code subagent that assists with Prometheus monitoring setup, PromQL queries, Alertmanager rules, and Grafana dashboards. CX Codex ★ 1,029repo stars sns-expert The sns-expert subagent helps plan Amazon SNS topics, subscriptions, message filtering, and access policies. Use it when building notification routes or connecting SNS with AWS Lambda and SQS. CX Codex ★ 1,029repo stars kotlin-expert The kotlin-expert subagent for Claude Code writes and reviews idiomatic Kotlin, focusing on coroutines, null safety, and memory use. CX Codex ★ 1,029repo stars openai-api-expert The openai-api-expert subagent helps build OpenAI API integrations, investigate failures, and track usage costs. Use it when API keys, quotas, or version changes need careful handling. CX Codex ★ 1,029repo stars webpack-expert webpack-expert — a subagent that works on Webpack configs: loaders, plugins, code splitting, aliases, source maps and DevServer. Reach for it when a build breaks or bundles load slowly. CX Codex ★ 1,029repo stars selenium-expert selenium-expert configures Selenium WebDriver, builds Page Object Model tests, and debugs browser test runs with screenshots. Built for automated web testing across multiple browsers. CX Codex ★ 1,029repo stars

Project sponsors

Companies that keep this analytics open