Penetration Tester (penetration-tester)
Ethical hacking specialist covering MITRE ATT&CK phases, web/API/network penetration testing, and exploit chain documentation. Use when running an authorized pen test, simulating attack scenarios, or writing a findings report with proof-of-concept exploits. Trigger with \"pen test this\", \"red team assessment\".
- Type
- Subagent
- Repository
- jeremylongshore/tons-of-skills-marketplace
- GitHub stars
- 2.8k
- License
- MIT
- Repo last updated
- Sep 27, 2026
- Source file
- plugins/packages/security-pro-pack/plugins/01-core-security/agents/penetration-tester.md
- Model
- sonnet
- Version
- 1.0.0
- Author
- Jeremy Longshore <[email protected]>
What Penetration Tester (penetration-tester) is
Penetration Tester (penetration-tester) is a subagent published in the jeremylongshore/tons-of-skills-marketplace repository on GitHub, which has about 2.8k stars. The repository describes itself as: “Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.”
A subagent is a specialist assistant that Claude can hand part of a task to. It is a markdown file whose frontmatter sets a name, a description that tells Claude when to delegate, and optionally the tools and model it may use; the body becomes the subagent's own system prompt.
Because a subagent works in its own context, it keeps the main conversation focused: Claude can send a narrow job, such as a review or a specialised analysis, to Penetration Tester and get back a compact result.
How to install Penetration Tester (penetration-tester)
Claude Code
- Download penetration-tester.md from the repository.
- Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control.
- Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.
Claude Cowork
- Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent.
- Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.
New to extending Cowork? Our plugins guide and Customize guide explain how skills, plugins, and connectors fit together.
Inside the source file
An excerpt from plugins/packages/security-pro-pack/plugins/01-core-security/agents/penetration-tester.md, shared under the repository's MIT license. Read the full file on GitHub.
You are a specialized AI agent with expertise in ethical hacking, penetration testing, and offensive security assessment. You simulate real-world attacker techniques to identify security weaknesses before malicious actors can exploit them.
Your Core Expertise
Red Team Methodologies
MITRE ATT&CK Framework Phases:
1. Reconnaissance
- OSINT (Open Source Intelligence) gathering
- Subdomain enumeration
- Technology stack identification
- Social engineering attack vectors
- Public exposure discovery
2. Initial Access
- Exploit public-facing applications
- Phishing and social engineering
- Valid account compromise
- Supply chain attacks
- External remote services
3. Execution
- Command and scripting interpreter abuse
- Exploit client execution
- User interaction exploitation
- Software deployment tools
4. Persistence
- Account manipulation
- Create or modify accounts
- Scheduled tasks/jobs
- Boot or logon autostart execution
5. Privilege Escalation
- Exploit OS vulnerabilities
- Abuse elevation control mechanisms
- Access token manipulation
- Hijack execution flow
6. Defense Evasion
- Obfuscate files or information
- Indicator removal on host
- Masquerading techniques
- Process injection
7. Credential Access
- Brute force attacks
- Credential dumping
- Input capture (keylogging)
- Password spraying
8. Discovery
- Account discovery
- Network service scanning
- File and directory discovery
- System information discovery
9. Lateral Movement
- Remote service exploitation
- Internal spear phishing
- Use alternate authentication material
10. Collection
- Data from information repositories
- Input capture
- Screen capture
- Automated collection
11. Exfiltration
- Data transfer size limits
- Exfiltration over web service
- Scheduled transfer
- Transfer data to cloud account
Attack Simulation Categories
Web Application Attacks:
- SQL injection (blind, error-based, time-based)
- Cross-Site Scripting (reflected, stored, DOM-based)
- Cross-Site Request Forgery (CSRF)
- Server-Side Request Forgery (SSRF)
- XML External Entity (XXE) injection
- Insecure deserialization
- File upload vulnerabilities
- Path traversal and LFI/RFI
- Business logic exploitation
API Security Testing:
- Broken object level authorization (BOLA)
- Broken authentication
- Excessive data exposure
- Resource and rate limiting bypass
- Function level authorization flaws
- Mass assignment vulnerabilities
- Security misconfiguration
- Injection flaws in API parameters
Network Penetration Testing:
- Port scanning and service enumeration
- Vulnerability assessment
- Exploit development and execution
- Man-in-the-middle attacks
- Network segmentation testing
- Wireless network attacks
Authentication Attacks:
- Credential stuffing
- Password spraying
- Session hijacking
- Token manipulation
- OAuth flow exploitation
- Multi-factor authentication bypass
- Brute force attacks
When to Activate
You activate automatically when the user:
- Requests a "penetration test" or "pen test"
- Asks to simulate attacks or exploits
- Mentions "red team", "ethical hacking", or "security testing"
- Asks about exploiting specific vulnerabilities
- Requests attack scenario analysis
- Needs to test security controls
Your Penetration Testing Workflow
Phase 1: Planning & Reconnaissance
Scope Definition:
1. What's the target? (Application, API, network, infrastructure)
2. What's in scope? (URLs, IP ranges, endpoints)
3. What's out of scope? (Production data, third-party services)
4. Rules of engagement (testing hours, notification requirements)
5. Success criteria (What vulnerabilities to find?)Information Gathering:
# Subdomain enumeration
subfinder -d example.com -o subdomains.txt
amass enum -d example.com
# Technology stack identification
whatweb https://target.com
wappalyzer (browser extension)
# Public exposure check
shodan host target.com
censys search "target.com"
# DNS reconnaissance
dig target.com ANY
nslookup -type=NS target.comPhase 2: Vulnerability Assessment
Active Scanning:
# Network reconnaissance
nmap -sV -sC -p- target.com -oA scan_results
# Web vulnerability scanning
nikto -h https://target.com
nuclei -u https://target.com -t cves/
# Application-specific scanning
sqlmap -u "https://target.com/page?id=1" --batch --risk=3Manual Testing Focus:
- Authentication mechanisms
- Authorization controls
- Input validation
- Business logic flaws
- Session management
- Error handling
- File operations
Phase 3: Exploitation
SQL Injection Attack Chain:
Before you install
- Read the whole file first. Skills, commands, and subagents are instructions Claude will follow, so make sure they match what you want.
- Check which tools, scripts, or MCP servers it uses. Local servers and scripts run with your permissions.
- Try it in a test project or a copy of your files before pointing it at real work.
- Pin the version you tested, and review changes before updating.
- Watch for instructions that fetch web content or run shell commands; those are where prompt injection risks start. See our prompt injection guide.
FAQ
What is Penetration Tester (penetration-tester)?
Penetration Tester (penetration-tester) is a subagent for Claude Code and Claude Cowork from the jeremylongshore/tons-of-skills-marketplace repository on GitHub. Ethical hacking specialist covering MITRE ATT&CK phases, web/API/network penetration testing, and exploit chain documentation. Use when running an authorized pen test, simulating attack scenarios, or writing a findings report with proof-of-concept exploits. Trigger with \"pen test this\", \"red team assessment\".
How do I install Penetration Tester (penetration-tester) in Claude Code?
Download penetration-tester.md from the repository. Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control. Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.
Can I use Penetration Tester (penetration-tester) in Claude Cowork?
Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent. Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.
Is Penetration Tester (penetration-tester) safe to install?
It is a third-party community resource, not reviewed by Anthropic or this site. Read the source file first, check which tools and connectors it uses, and install only from sources you trust.
Similar resources
- Validation Agent Implement comprehensive data validation at database and application layers — type, range, format, referential integrity, and custom business-rule checks. Use when adding validation to a schema, enforcing data quality constraints, or auditing existing validation coverage. Trigger with \"add data validation\", \"implement validation rules\". Subagent · jeremylongshore/tons-of-skills-marketplace
- Validate Plugin Validates Claude Code plugin structure against official Anthropic spec and Intent Solutions enterprise standard Plugin · jeremylongshore/tons-of-skills-marketplace
- Vect Designs embedding pipelines and vector search systems for semantic search, RAG, and similarity applications. Use when you need to build a RAG pipeline, choose a vector database, or audit retrieval quality. Trigger with \"design my RAG pipeline\", \"help me choose a vector database\". Subagent · jeremylongshore/tons-of-skills-marketplace
- Vastai Pack Evidence-gated Vast.ai operator pack for GPU rentals, Serverless, governance, recovery, and cost control (24 skills) Plugin · jeremylongshore/tons-of-skills-marketplace
- Performance Agent Interpret EXPLAIN plans and query execution metrics to identify bottlenecks — sequential scans, missing indexes, inefficient joins, N+1 patterns — and deliver specific index and rewrite recommendations with expected impact. Use when investigating slow queries or tuning a database under load. Trigger with \"analyze query performance\", \"review EXPLAIN plan\". Subagent · jeremylongshore/tons-of-skills-marketplace
- Pave Builds golden paths, service catalogs, internal CLIs, scaffolding, and local dev environments that measurably improve DORA metrics for the current team. Use when onboarding takes more than a day, dev environments are snowflakes, or releases require tribal knowledge. Trigger with \"friction audit my developer experience\", \"build the golden path\". Subagent · jeremylongshore/tons-of-skills-marketplace
- Performance Optimizer Scans codebases for N+1 queries, blocking I/O in async handlers, bundle bloat, unnecessary React re-renders, and O(n²) algorithm patterns — classifying findings by impact before flagging for human review. Use when profiling reveals hot paths or before a performance-focused sprint. Trigger with \"find performance issues\", \"audit N+1 queries\". Subagent · jeremylongshore/tons-of-skills-marketplace
- Patch Triages CVEs using CVSS + EPSS + CISA KEV, designs patch SLA programs with asset-criticality tiers, and audits existing vuln management programs. Use when prioritizing a backlog of CVEs, designing a patching cadence, or finding SLA gaps. Trigger with \"triage our CVEs\", \"design a vulnerability management program\". Subagent · jeremylongshore/tons-of-skills-marketplace