Pentest Skill
[!IMPORTANT]
PTES-aligned adversarial security audit for backend, frontend, and mobile applications. Produces a CVSS-scored Hacker Report with verified PoCs and phased remediation.
Optional args: slug=, ticket=<id/url>, mode=interactive|autonomous|channel, channel=, auto_continue=true|false.
Instructions
When the user asks to perform this workflow, execute the following steps:
🕵️♂️ Penetration Test (PTES-Aligned)
Goal: Execute a red-team assessment across backend, frontend, and mobile targets with verified PoCs and audit-grade evidence.
Steps
Scope and authorization:
- Determine mode (
whitebox, greybox, blackbox) and targets.
- Verify explicit authorization; stop if unauthorized.
Intel and threat model:
- Identify stack, endpoints, parameters, local storage, schemes, and secrets.
- Use
common-security-audit, common-dast-tooling, and architecture docs when available.
- Map trust boundaries, secrets, external integrations, and privileged workflows before exploit attempts.
Vulnerability analysis:
- Run scans and delegate: SAST/SCA to
specialist-aspm-correlator, dynamic/logic to specialist-logic-hacker, binary/mobile to specialist-mobile-reverser.
- Rank targets by
exposure × sensitivity × auth_coverage.
Exploit verification:
- No Exploit = No Report. Discard unverified findings.
- Build reproducible PoCs and record preconditions, payloads, evidence, and blast radius.
Reporting:
- Write
artifacts/security-review.md with assumptions, source provenance, review context, runtime contract, PoCs, blast radius, finding confidence, exploit path, evidence gaps, and handoff notes.
- Emit
artifacts/security-review.dev.md, artifacts/security-review.appsec.md, or artifacts/security-review.exec.md only when leadership, client, or AppSec reporting is in scope.
- Score from 100: Critical -25 (cap 25), High -15 (cap 40), Medium -8, Low -3.
- Reuse the existing
security-review.md record when pentest follows earlier design or PR security review work.
- Deliver findings in the standard template below.
Output Template
Executive Summary
- Hacker Score: X/100 ([Critical/Vulnerable/Moderate/Hardened])
- Target Scope: [repos, URLs, mobile apps]
- Findings: [Critical/High/Medium/Low counts]
Findings Table
| ID |
Title |
Platform |
Severity |
CVSS |
CWE |
PoC |
| SEC-01 |
[title] |
[backend|frontend|mobile] |
[Critical|High|Medium|Low] |
[score] |
[CWE-id] |
[Yes|No] |
1---2name: pentest3description: PTES-aligned adversarial security audit for backend, frontend, and mobile applications. Produces a CVSS-scored Hacker Report with verified PoCs and phased remediation.4license: MIT5---6# Pentest Skill78> [!IMPORTANT]9> PTES-aligned adversarial security audit for backend, frontend, and mobile applications. Produces a CVSS-scored Hacker Report with verified PoCs and phased remediation.1011Optional args: slug=<feature>, ticket=<id/url>, mode=interactive|autonomous|channel, channel=<id>, auto_continue=true|false.1213## Instructions1415When the user asks to perform this workflow, execute the following steps:161718# 🕵️♂️ Penetration Test (PTES-Aligned)1920Goal: Execute a red-team assessment across backend, frontend, and mobile targets with verified PoCs and audit-grade evidence.2122## Steps23241. Scope and authorization:25 - Determine mode (`whitebox`, `greybox`, `blackbox`) and targets.26 - Verify explicit authorization; stop if unauthorized.27282. Intel and threat model:29 - Identify stack, endpoints, parameters, local storage, schemes, and secrets.30 - Use `common-security-audit`, `common-dast-tooling`, and architecture docs when available.31 - Map trust boundaries, secrets, external integrations, and privileged workflows before exploit attempts.32333. Vulnerability analysis:34 - Run scans and delegate: SAST/SCA to `specialist-aspm-correlator`, dynamic/logic to `specialist-logic-hacker`, binary/mobile to `specialist-mobile-reverser`.35 - Rank targets by `exposure × sensitivity × auth_coverage`.36374. Exploit verification:38 - **No Exploit = No Report.** Discard unverified findings.39 - Build reproducible PoCs and record preconditions, payloads, evidence, and blast radius.40415. Reporting:42 - Write `artifacts/security-review.md` with assumptions, source provenance, review context, runtime contract, PoCs, blast radius, finding confidence, exploit path, evidence gaps, and handoff notes.43 - Emit `artifacts/security-review.dev.md`, `artifacts/security-review.appsec.md`, or `artifacts/security-review.exec.md` only when leadership, client, or AppSec reporting is in scope.44 - Score from 100: Critical -25 (cap 25), High -15 (cap 40), Medium -8, Low -3.45 - Reuse the existing `security-review.md` record when pentest follows earlier design or PR security review work.46 - Deliver findings in the standard template below.4748## Output Template4950### Executive Summary5152- **Hacker Score**: X/100 ([Critical/Vulnerable/Moderate/Hardened])53- **Target Scope**: [repos, URLs, mobile apps]54- **Findings**: [Critical/High/Medium/Low counts]5556### Findings Table5758| ID | Title | Platform | Severity | CVSS | CWE | PoC |59| --- | --- | --- | --- | --- | --- | --- |60| SEC-01 | [title] | [backend\|frontend\|mobile] | [Critical\|High\|Medium\|Low] | [score] | [CWE-id] | [Yes\|No] |61