Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/404kidwiz/claude-supercode-skills --skill penetration-tester- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads penetration-tester automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
Penetration Tester
Purpose
Provides ethical hacking and offensive security expertise specializing in vulnerability assessment and penetration testing across web applications, networks, and cloud infrastructure. Identifies and exploits security vulnerabilities before malicious actors can leverage them.
When to Use
- Assessing the security posture of a web application, API, or network
- Conducting a "Black Box", "Gray Box", or "White Box" penetration test
- Validating findings from automated scanners (False Positive analysis)
- Exploiting specific vulnerabilities (SQLi, XSS, SSRF, RCE) to prove impact
- Performing reconnaissance and OSINT on a target
- Auditing GraphQL or REST APIs for IDORs and logic flaws
2. Decision Framework
Testing Methodology Selection
What is the target?
│
├─ **Web Application**
│ ├─ API intensive? → **API Test** (Postman/Burp, focus on IDOR/Auth)
│ ├─ Legacy/Monolith? → **OWASP Top 10** (SQLi, XSS, Deserialization)
│ └─ Modern/SPA? → **Client-side attacks** (DOM XSS, CSTI, JWT)
│
├─ **Cloud Infrastructure**
│ ├─ AWS/Azure/GCP? → **Cloud Pentest** (Pacu, ScoutSuite, IAM privesc)
│ └─ Kubernetes? → **Container Breakout** (Capabilities, Role bindings)
│
└─ **Network / Internal**
├─ Active Directory? → **AD Assessment** (BloodHound, Kerberoasting)
└─ External Perimeter? → **Recon + Service Exploitation** (Nmap, Metasploit)
Tool Selection Matrix
| Phase | Category | Tool Recommendation |
|---|---|---|
| Recon | Subdomain Enum | Amass, Subfinder |
| Recon | Content Discovery | ffuf, dirsearch |
| Scanning | Vulnerability | Nuclei, Nessus, Burp Suite Pro |
| Exploitation | Web | Burp Suite, SQLMap |
| Exploitation | Network | Metasploit, NetExec |
| Post-Exploitation | Windows/AD | Mimikatz, BloodHound, Impacket |
Severity Scoring (CVSS 3.1)
| Severity | Score | Criteria | Example |
|---|---|---|---|
| Critical | 9.0 - 10.0 | RCE, Auth Bypass, SQLi (Data dump) | Remote Code Execution |
| High | 7.0 - 8.9 | Stored XSS, IDOR (Sensitive), SSRF | Admin Account Takeover |
| Medium | 4.0 - 6.9 | Reflected XSS, CSRF, Info Disclosure | Stack Trace leakage |
| Low | 0.1 - 3.9 | Cookie flags, Banner grabbing | Missing HttpOnly flag |
Red Flags → Escalate to legal-advisor:
- Scope creep (Touching systems not in the contract)
- Testing production during peak hours (DoS risk)
- Accessing PII/PHI without authorization (Proof of Concept only)
- Testing third-party SaaS providers without permission
3. Core Workflows
Workflow 1: Web Application Assessment (OWASP)
Goal: Identify critical vulnerabilities in a web app.
Steps:
-
Reconnaissance
# Subdomain discovery subfinder -d target.com -o subdomains.txt # Live host verification httpx -l subdomains.txt -o live_hosts.txt -
Mapping & Discovery
- Spider the application (Burp Suite).
- Identify all entry points (Inputs, URL parameters, Headers).
- Fuzzing:
ffuf -u https://target.com/FUZZ -w wordlist.txt -mc 200,403
-
Vulnerability Hunting
- SQL Injection: Test
' OR 1=1--on login forms and IDs. - XSS: Test
<script>alert(1)</script>in comments/search. - IDOR: Change
user_id=100touser_id=101.
- SQL Injection: Test
-
Exploitation (PoC)
- Confirm vulnerability.
- Document the request/response.
- Estimate impact (Confidentiality, Integrity, Availability).
Workflow 3: Cloud Security Assessment (AWS)
Goal: Identify misconfigurations leading to privilege escalation.
Steps:
-
Enumeration
- Obtain credentials (leaked or provided).
- Run ScoutSuite:
scout aws
-
S3 Bucket Analysis
- Check for public buckets.
- Check for writable buckets (Authenticated Users).
-
IAM Privilege Escalation
- Analyze permissions. Look for
iam:PassRole,ec2:CreateInstanceProfile. - Exploit: Create EC2 instance with Admin role, SSH in, steal metadata credentials.
- Analyze permissions. Look for
5. Anti-Patterns & Gotchas
❌ Anti-Pattern 1: "Scanning is Pentesting"
What it looks like:
- Running Nessus/Acunetix, exporting the PDF, and calling it a penetration test.
Why it fails:
- Scanners miss business logic flaws (IDORs, Logic bypasses).
- Scanners report false positives.
- Clients pay for human expertise, not tool output.
Correct approach:
- Use scanners for coverage (low hanging fruit).
- Use manual testing for depth (critical flaws).
❌ Anti-Pattern 2: Destructive Testing in Production
What it looks like:
- Running
sqlmap --os-shellon a production database. - Running a high-thread
dirbusterscan on a fragile server.
Why it fails:
- Data corruption.
- Denial of Service (DoS) for real users.
- Legal liability.
Correct approach:
- Read-only payloads where possible (e.g.,
SLEEP(5)instead ofDROP TABLE). - Rate limit scanning tools.
- Test in Staging whenever possible.
❌ Anti-Pattern 3: Ignoring Scope
What it looks like:
- Testing
admin.target.comwhen onlywww.target.comis in scope. - Phishing employees when social engineering was excluded.
Why it fails:
- Breach of contract.
- Potential criminal charges (CFAA).
Correct approach:
- Always verify the Rules of Engagement (RoE).
- If you find something interesting out of scope, ask for permission first.
Examples
Example 1: Web Application Security Assessment
Scenario: Conduct comprehensive OWASP Top 10 assessment for a financial services web application.
Testing Approach:
- Reconnaissance: Subdomain enumeration, technology stack identification
- Mapping: Full application spidering, endpoint discovery
- Vulnerability Scanning: Automated scanning with manual verification
- Exploitation: Proof-of-concept development for critical findings
Key Findings:
| Vulnerability | CVSS | Impact | Remediation |
|---|---|---|---|
| SQL Injection (Auth Bypass) | 9.8 | Full database access | Parameterized queries |
| Stored XSS (Admin Panel) | 8.1 | Session hijacking | Input sanitization |
| IDOR (Account Takeover) | 7.5 | Unauthorized access | Authorization checks |
| Missing CSP Headers | 5.3 | XSS vulnerability | Implement CSP |
Remediation Validation:
- Retested all findings after patch deployment
- Verified no regression in functionality
- Confirmed zero false positives in final report
Example 2: Cloud Infrastructure Assessment (AWS)
Scenario: Identify security misconfigurations in AWS production environment.
Assessment Approach:
- Enumeration: IAM policies, S3 bucket permissions, EC2 security groups
- Misconfiguration Analysis: ScoutSuite automated scanning
- Privilege Escalation: Tested for permission chaining attacks
- Exploitation: Validated critical findings with PoC
Critical Findings:
- 3 S3 buckets with public read access
- IAM user with excessive permissions (iam:PassRole → ec2:RunInstances)
- Security groups allowing unrestricted SSH (0.0.0.0/0)
- Unencrypted EBS volumes containing sensitive data
Business Impact:
- Potential data breach exposure: 50,000+ customer records
- Unauthorized compute resource creation risk
- Compliance violations (PCI-DSS, SOC 2)
Remediation:
- Implemented SCPs to restrict public bucket creation
- Applied least privilege principles to IAM policies
- Remediated all overly permissive security groups
- Enabled encryption at rest for all EBS volumes
Example 3: API Penetration Testing (GraphQL)
Scenario: Security assessment of GraphQL API for healthcare application.
Testing Methodology:
- Introspection Analysis: Schema reconstruction and query analysis
- Authorization Testing: BOLA/IDOR vulnerabilities
- DoS Testing: Query complexity and batching attacks
- Bypass Attempts: Authentication and rate limit bypass
Findings:
| Finding | Severity | Exploitability | Remediation |
|---|---|---|---|
| BOLA (Broken Object Level Authorization) | Critical | Easy | Add ownership verification |
| Introspection Enabled | Medium | N/A | Disable in production |
| Query Depth Limit Missing | High | Easy | Implement max depth |
| No Rate Limiting | High | Easy | Add rate limiting |
Demonstrated Impact:
- Accessed any patient's medical records by manipulating ID parameter
- Caused temporary DoS with deeply nested queries
- Extracted sensitive metadata through introspection
Best Practices
Reconnaissance and Discovery
- Thorough Enumeration: Leave no stone unturned in reconnaissance
- Automated Tools: Use scanners for coverage, manual for depth
- OSINT Integration: Leverage open-source intelligence
- Scope Verification: Confirm targets before testing
Vulnerability Assessment
- Manual Verification: Confirm all automated findings
- False Positive Analysis: Validate true vulnerabilities
- Business Logic Testing: Go beyond OWASP Top 10
- Comprehensive Coverage: Test all user roles and flows
Exploitation and Validation
- Safe Exploitation: Minimize impact during testing
- Proof of Concept: Document exploitability clearly
- Evidence Collection: Screenshots, logs, requests
- Scope Boundaries: Never exceed authorized testing
Reporting and Communication
- Clear Documentation: Detailed findings with evidence
- Risk Scoring: Accurate CVSS calculations
- Actionable Remediation: Specific, implementable advice
- Executive Summary: Accessible for non-technical stakeholders
Quality Checklist
Preparation:
- Scope: Signed RoE (Rules of Engagement) and Authorization letter.
- Access: Credentials/VPN access verified.
- Backups: Confirmed client has backups (if applicable).
- Legal: Confirmed testing dates and boundaries in writing.
Execution:
- Coverage: All user roles tested (Admin, User, Unauth).
- Validation: All scanner findings manually verified.
- Evidence: Screenshots/Logs collected for every finding.
- Safety: Test data cleaned up, no permanent damage.
Reporting:
- Clarity: Executive summary understandable by non-tech stakeholders.
- Risk: CVSS scores calculated accurately.
- Remediation: Actionable, specific advice (not just "Fix it").
- Cleanup: Test data/accounts removed from target system.
- Timeline: Findings delivered within agreed timeframe.
FAQ
What does the penetration-tester skill do?
Expert in ethical hacking, vulnerability assessment, and offensive security testing (Web/Network/Cloud).
How do I install penetration-tester?
Run npx skills add https://github.com/404kidwiz/claude-supercode-skills --skill penetration-tester in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/penetration-tester/ (personal) or .claude/skills/penetration-tester/ (project).
Which AI agents can use penetration-tester?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is penetration-tester safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains penetration-tester?
It is published by 404kidwiz in 404kidwiz/claude-supercode-skills. It has 170 recorded installs.
More from 404kidwiz/claude-supercode-skills
frontend-ui-ux-engineer
404kidwiz/claude-supercode-skills
A designer-turned-developer who crafts stunning UI/UX even without design mockups. Code may be a bit messy, but the visual output is always fire.
quant-analyst
404kidwiz/claude-supercode-skills
Expert in quantitative finance, algorithmic trading, and financial data analysis using Python (Pandas/NumPy), statistical modeling, and machine learning.
project-manager
404kidwiz/claude-supercode-skills
Project management expert specializing in planning, execution, monitoring, and closure of projects. Masters traditional and agile methodologies to deliver projects on time, within budget, and to quality standards.
machine-learning-engineer
404kidwiz/claude-supercode-skills
Use when user needs ML model deployment, production serving infrastructure, optimization strategies, and real-time inference systems. Designs and implements scalable ML systems with focus on reliability and performance.
dotnet-framework-4.8-expert
404kidwiz/claude-supercode-skills
Legacy .NET Framework expert specializing in .NET Framework 4.8, WCF services, ASP.NET MVC, and maintaining enterprise applications with modern integration patterns.
codebase-exploration
404kidwiz/claude-supercode-skills
Deep contextual grep for codebases. Expert at finding patterns, architectures, implementations, and answering "Where is X?", "Which file has Y?", and "Find code that does Z" questions. Use when exploring unfamiliar codebases, finding specific implementations, understanding code organization, discovering patterns across multiple files, or locating functionality in a project. Supports three thoroughness levels quick, medium, very thorough.
Popular security skills
azure-compliance
microsoft/azure-skills
Run Azure compliance and security audits with azqr plus Key Vault expiration checks. Covers best-practice assessment, resource review, policy/compliance validation, and security posture checks. WHEN: compliance scan, security audit, BEFORE running azqr (compliance cli tool), Azure best practices, Key Vault expiration check, expired certificates, expiring secrets, orphaned resources, compliance assessment.
minimal-run-and-audit
lllllllama/rigorpilot-skills
Rigor Run skill for README-first deep learning repo reproduction. Use when the task is specifically to capture or normalize evidence from the selected smoke test or documented inference or evaluation command and write standardized reprooutputs/ files, including patch notes when repository files changed. Do not use for training execution, initial repo intake, generic environment setup, paper lookup, target selection, hidden scientific-meaning changes, or end-to-end orchestration by itself.
seo-audit
coreyhaines31/marketingskills
When the user wants to audit, review, or diagnose SEO issues on their site. Also use when the user mentions "SEO audit," "technical SEO," "why am I not ranking," "SEO issues," "on-page SEO," "meta tags review," "SEO health check," "my traffic dropped," "lost rankings," "not showing up in Google," "site isn't ranking," "Google update hit me," "page speed," "core web vitals," "crawl errors," "indexing issues," "stuck on page 2," "striking distance keywords," "title tag rewrite," "low CTR," "local SEO," "Google Business Profile," or "map pack." Use this even if the user just says something vague like "my SEO is bad" or "help with SEO" — start with an audit. For building pages at scale to target keywords, see programmatic-seo. For adding structured data, see schema. For AI search optimization, see ai-seo.
firebase-security-rules-auditor
firebase/agent-skills
Audits Firebase (Firestore, Cloud Storage) security rules for vulnerabilities, privilege escalation, role bypasses, create vs update inconsistencies, resource exhaustion, type safety, size limits, and hasOnly ownership checks. Use when auditing/reviewing rules, running red-team rule assessments, or scoring against auditor checklists. Don't use for Firebase CLI (login, deploy), Auth, Crashlytics, Remote Config, or database queries.
audit
pbakaus/impeccable
Run technical quality checks across accessibility, performance, theming, responsive design, and anti-patterns. Generates a scored report with P0-P3 severity ratings and actionable plan. Use when the user wants an accessibility check, performance audit, or technical quality review.
competitors
coreyhaines31/marketingskills
When the user wants to create competitor comparison or alternative pages for SEO and buyer-facing use. Also use when the user mentions 'alternative page,' 'vs page,' 'competitor comparison,' 'comparison page,' '[Product] vs [Product],' '[Product] alternative,' 'competitive landing pages,' 'how do we compare to X,' 'competitor teardown,' 'audit our competitor pages,' 'are our comparison pages out of date,' or 'competitive asset audit.' Use this for any content that positions your product against competitors. Covers four formats: singular alternative, plural alternatives, you vs competitor, and competitor vs competitor. For auditing existing claims (not researching competitors from scratch, which is competitor-profiling; not technical SEO on these pages, which is seo-audit), use the asset audit here. For internal battle cards and sales-specific competitor docs, see sales-enablement.
