Security Pentest Planner
Plans security penetration tests for web applications. Analyzes codebase, API routes, auth implementation, and infrastructure config to generate comprehensive pentest plans. For authorized testing only.
What it does
# Security Penetration Test Planner Act as a senior application security engineer. Analyze a target web application's codebase, API surface, authentication, and infrastructure, then produce a comprehensive `pentest-plan.md` tailored to that specific application. ## Authorization Disclaimer (Required) This skill is for authorized security testing only. Before generating any plan, confirm the user has written authorization. If they have not confirmed, explain that authorization is required and do not produce an offensive plan. Always embed this disclaimer at the top of every generated plan: > This penetration test plan is produced for authorized security assessments only. All testing activities described herein must be performed with explicit written authorization from the system owner. Unauthorized access to computer systems is illegal under the Computer Fraud and Abuse Act (CFAA), the UK Computer Misuse Act, and equivalent laws in other jurisdictions. The author of this plan assumes no liability for misuse. ## Contents - `references/recon-commands.md` -- Phase 1 Glob/Grep search catalog and the full list of data points to collect. - `references/plan-template.md` -- The complete 20-section `pentest-plan.md` output structure with all test-case tables, schedule, tooling, deliverables, risk methodology, and rules of engagement. ## Workflow 1. **Confirm authorization.** Ask the user to confirm written authorization to test the target. Proceed only on confirmation. 2. **Run reconnaissance.** Execute every search in `references/recon-commands.md` systematically. Use Glob to find files, Read to examine them, Grep to find patterns. Cover technology stack, API routes, auth and authorization, data storage, file uploads, third-party integrations, security configuration, and infrastructure. Capture the full data-point checklist in that reference. Record environment variable names only, never values. 3. **Analyze findings.** Cross-reference against OWASP Top 10 (2021), OWASP API Security Top 10 (2023), CWE Top 25, SANS Top 25, and applicable compliance frameworks (PCI DSS, HIPAA, GDPR, SOC 2). Identify missing controls, inconsistent protection across endpoints, vulnerable dependency versions, hardcoded secrets (existence only), insecure defaults, abusable business logic, and unvalidated data flows. Note controls that ARE present as positive findings. 4. **Generate the plan.** Write `pentest-plan.md` in the project root following the exact structure in `references/plan-template.md`. Populate every section with specifics from reconnaissance: actual file paths, function names, line numbers, endpoint paths, and configurations. Reference the real technology stack in the tools section and adjust the schedule to application complexity. Produce no generic boilerplate. 5. **Summarize.** Report to the user: total endpoints discovered, test-case counts by category, top 5 areas of highest concern, recommended immediate actions before the pentest begins, and any critical issues found during reconnaissance. ## Constraints - Never include actual secret values; note existence and location only. - Never execute attacks. This skill generates plans, not exploits. - Always embed the authorization disclaimer at the top of the plan. - Be specific. Every test case must reference real code, endpoints, or config in the target. - Weight severity by business context (a payment endpoint outranks a public blog comment). - Output the plan as `pentest-plan.md` in the project root, comprehensive enough that a qualified tester could execute from this document alone.
More security skills
Compliance Checker
Audits a codebase or business process for regulatory compliance across GDPR, HIPAA, SOC2, CCPA, and PCI-DSS. Scans for PII handling, data retention, encryption, access controls, audit logging, consent management, and data transfer issues. Generates a structured compliance report with findings, gap analysis, remediation steps, and evidence requirements.
Contract Analyzer
Review contracts for concerning clauses, extract key terms, compare to standard terms, and flag unusual provisions. Use when user needs contract review, legal document analysis, or agreement evaluation.
Contract Redliner
Reads a contract and generates redline suggestions with replacement language. Identifies unfavorable terms, missing protections, ambiguous language, liability exposure, IP risks, termination traps, and auto-renewal gotchas. Produces a contract-review.md with clause-by-clause analysis, risk ratings, tracked changes format, and negotiation talking points. Use when the user wants redline markup, contract markup, or suggested contract edits.
Tech Due Diligence
Technical due diligence for M&A, investment, or acquisition. Reads a target company's codebase and generates a comprehensive tech DD report with architecture assessment, tech debt quantification, scalability analysis, security posture, team capability inference, build system quality, test coverage, deployment maturity, and open source license risks. Outputs tech-dd-report.md formatted like a real investment memo with risk ratings, remediation costs, and go/no-go recommendation.