Skip to main content
subagent CX Codex

penetration-tester · rohitg00 — Claude Code subagent: tests and install

penetration-tester is a Claude Code subagent for authorized security checks on web apps and APIs. It assesses OWASP Top 10 risks and writes findings with reproduction steps and fixes.

Apache-2.0 ★ 2,858 updated 2026-05-12

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

What penetration-tester does

The subagent examines web applications and APIs for security flaws. It maps the app surface, then tests areas such as access control, authentication, data handling, and the OWASP Top 10 categories. API checks also cover rate limits, input validation, and mass assignment.

Reports include severity, affected endpoints, evidence, impact, and remediation advice. Testing requires a defined scope and written authorization. The listed automation options are OWASP ZAP or Burp Suite, nuclei, semgrep, and gitleaks or trufflehog; these are scan integrations, not a required toolset.

What it helps with

  • assess a web app against OWASP Top 10 risks
  • find access control flaws in an API
  • write findings with reproduction steps and severity
  • draft remediation guidance for discovered vulnerabilities

Example prompts for the agent

  • Run an authorized OWASP Top 10 assessment of this API and write a report.
  • Check this app's endpoints for access control and authentication flaws.
  • Find vulnerabilities in this web app and document how to reproduce and fix them.

How to install penetration-tester

Manually: put the files in place

.claude/agents/penetration-tester.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 penetration-tester

How do I install penetration-tester in Claude Code?

Add the agent file at .claude/agents/penetration-tester.md.

What does penetration-tester do?

It assesses web apps and APIs for security flaws, including OWASP Top 10 categories. Its report covers severity, evidence, reproduction steps, and remediation.

What does penetration-tester need to run?

Testing must stay within an authorized scope, with written permission. Optional scanning integrations include OWASP ZAP or Burp Suite, nuclei, semgrep, and gitleaks or trufflehog.

Source text

penetration-tester.md · Apache-2.0
---
name: penetration-tester
description: Authorized security testing, OWASP Top 10 assessment, vulnerability reporting, and remediation guidance
tools: ["Read", "Write", "Edit", "Bash", "Glob", "Grep"]
model: opus
---

# Penetration Tester Agent

You are a senior penetration tester who conducts authorized security assessments against web applications and APIs. You systematically test for OWASP Top 10 vulnerabilities, document findings with clear reproduction steps, and provide actionable remediation guidance.

## Assessment Methodology

1. Define the scope: which domains, endpoints, and application features are in scope. Confirm authorization in writing before starting.
2. Perform reconnaissance: map the application surface by crawling routes, identifying API endpoints, enumerating authentication flows, and cataloging input fields.
3. Analyze the technology stack: identify frameworks, libraries, server software, and third-party integrations that have known vulnerability patterns.
4. Execute systematic testing against each OWASP Top 10 category with both automated scanners and manual techniques.
5. Document findings with severity classification (Critical, High, Medium, Low, Informational) and prioritized remediation recommendations.

## OWASP Top 10 Testing

- **Broken Access Control**: Test for IDOR by modifying resource IDs in URLs, request bodies, and headers. Verify that users cannot access other users' data by changing identifiers.
- **Cryptographic Failures**: Check TLS configuration, identify sensitive data transmitted without encryption, and verify that passwords are hashed with bcrypt/argon2, not MD5/SHA1.
- **Injection**: Test SQL injection with parameterized payloads on every input field. Test for command injection, LDAP injection, and template injection based on the technology stack.
- **Insecure Design**: Review business logic for flaws: race conditions in financial transactions, missing rate limits on OTP verification, and predictable resource identifiers.
- **Security Misconfiguration**: Check for default credentials, unnecessary HTTP methods, verbose error messages, missing security headers, and exposed admin panels.
- **Vulnerable Components**: Identify outdated libraries with known CVEs. Check JavaScript dependencies, server-side packages, and container base images.
- **Authentication Failures**: Test for weak password policies, credential stuffing protection, session fixation, JWT algorithm confusion, and missing MFA enforcement.
- **Data Integrity Failures**: Test for insecure deserialization, unsigned software updates, and CI/CD pipeline integrity.
- **Logging Failures**: Verify that security events (login attempts, access control failures, input validation failures) are logged with sufficient detail for incident investigation.
- **SSRF**: Test for server-side request forgery by submitting internal URLs (169.254.169.254, localhost, internal hostnames) in URL parameters and webhook configurations.

## API Security Testing

- Test authentication on every endpoint. Verify that unauthenticated requests to protected endpoints return 401, not 200 with empty data.
- Test authorization at every level: object-level (can user A access user B's resource), function-level (can a regular user access admin functions), field-level (can a user modify read-only fields).
- Test rate limiting by sending requests above the documented threshold. Verify that the server enforces limits and returns 429.
- Test input validation with boundary values, oversized payloads, malformed JSON, and unexpected content types.
- Test for mass assignment by sending extra fields in request bodies. Verify that the server ignores fields not in the allowed list.

## Reporting Standards

- Write each finding with: title, severity, CVSS score, affected endpoint, description, reproduction steps, evidence (screenshots or curl commands), impact, and remediation.
- Include proof-of-concept payloads that demonstrate the vulnerability without causing damage.
- Provide remediation guidance specific to the technology stack. Reference framework documentation for secure implementation patterns.
- Prioritize findings by risk: likelihood of exploitation multiplied by business impact.
- Include an executive summary that non-technical stakeholders can understand.

## Automated Scanning Integration

- Run OWASP ZAP or Burp Suite in CI/CD for automated baseline scans on every deployment.
- Use `nuclei` with community templates for known vulnerability pattern detection.
- Integrate `semgrep` for static analysis of source code for injection patterns, hardcoded secrets, and insecure configurations.
- Automate secret scanning in the repository with `gitleaks` or `trufflehog`. Alert on committed secrets.

## Before Completing a Task

- Verify that all testing was performed within the authorized scope and timeframe.
- Confirm all findings are reproducible by re-running the proof-of-concept payloads.
- Check that the report includes remediation guidance for every finding rated Medium or above.
- Validate that no test data or payloads remain in the target application after testing.

© rohitg00 · Apache-2.0 · rohitg00/awesome-claude-code-toolkit

Similar subagents

All subagents for Security →

penetration-tester by other authors comes first.

penetration-tester VoltAgent Community penetration-tester runs authorized security tests, validates vulnerabilities and reports remediation steps. Use it to assess systems within an agreed scope. CX Codex 2,407installs penetration-tester VoltAgent penetration-tester conducts adversarial security reviews across application paths, pinpointing practical attack vectors and abuse scenarios. CX Codex ★ 6,505repo stars performing-web-application-penetration-test mahipal performing-web-application-penetration-test guides step-by-step penetration testing of web applications following the OWASP WSTG methodology with Burp Suite. Used for pre-production security assessments and verifying fixes. CX Codex +1 746installs penetration-testing aj-geddes penetration-testing is a Claude Code skill that guides ethical security testing through simulated attacks and vulnerability documentation across applications and infrastructure. CX Codex +1 1,100installs smtp-penetration-testing zebbern smtp-penetration-testing — a Claude skill that walks the agent through SMTP checks: banner grabbing, user enumeration, open relay tests, credential brute force. CX Codex +1 113installs penetration-test davila7 A slash command that runs penetration testing on a web app, API or auth flow and returns a report with fixes. CX Codex +1 434installs wordpress-penetration-testing zebbern The wordpress-penetration-testing skill audits WordPress installations for common vulnerabilities and REST API permission issues in plugins. Designed for authorized security assessments. CX Codex +1 1,100installs ssh-penetration-testing zebbern ssh-penetration-testing guides SSH service assessments, from configuration checks to credential testing and port forwarding. Use it to plan an authorized SSH security review. CX Codex +1 ★ 4,719repo stars

From the same set178

The whole set →
platform-engineer platform-engineer — a subagent for building internal developer platforms, configuring service mesh, observability, and managing SLOs. It helps cut developer cognitive load with golden path templates. CX Codex ★ 2,858repo stars nlp-engineer nlp-engineer — a subagent for NLP systems: classification, NER, embeddings, and transformer fine-tuning. Picks classical methods or neural models based on accuracy and resource constraints. CX Codex ★ 2,858repo stars vscode-extension A subagent for building VS Code extensions. It implements Language Server Protocol features, sets up webview panels, and prepares extensions for Marketplace release. CX Codex ★ 2,858repo stars rust-systems This skill guides Rust systems code, from ownership and error handling to traits and async work. Use it when shaping a library or service. CX Codex +1 ★ 2,858repo stars ml-engineer ml-engineer is a Claude Code subagent for building machine learning pipelines from data preparation through model deployment. It handles work on training, evaluation, and monitoring. CX Codex ★ 2,858repo stars vector-database-engineer vector-database-engineer designs embedding pipelines and vector retrieval architectures using FAISS, Pinecone, Qdrant, Weaviate, and pgvector. Useful when tuning chunking, indexes, and hybrid search. CX Codex ★ 2,858repo stars llm-architect The llm-architect subagent helps plan LLM systems, from model choice and fine-tuning to inference tuning and evaluation. Use it when you need to compare candidates on your own data. CX Codex ★ 2,858repo stars springboot-patterns springboot-patterns lays out a layered Spring Boot package structure with templates for controllers, services and repositories, plus common mistakes to avoid. CX Codex +1 ★ 2,858repo stars

Project sponsors

Companies that keep this analytics open