/penetration-testing:pentest-red-team-ai-and-reportingfrom penetration-testing
Guides authorized adversary simulation: social engineering, physical testing, red/purple teaming, post-exploitation reasoning, AI/LLM testing (OWASP LLM Top 10, prompt injection), and writing actionable findings with evidence, reproduction, business risk, and CVSS.
Ships in penetration-testing. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Part 3 of 4 of the Penetration Testing and Offensive Security reference (plugin
penetration-testing), covering §10–§13. Sibling skills:pentest-authorization-scoping-and-methodology(§0–§3),pentest-technical-domains(§4–§9),pentest-disclosure-career-and-reference(§14–§20). Section numbers are shared across the set; a reference written as §N →skillpoints into that sibling skill.Currency: Verified August 2026. See §17 →
pentest-disclosure-career-and-referencefor the currency snapshot and what goes stale first.
⚠️ THE PREREQUISITE FOR EVERYTHING BELOW. The entire difference between this profession and a felony is documented, informed authorization from someone with the authority to grant it, for a defined scope, in a defined window. Not implied consent. Not a verbal go-ahead. Not "the client seemed fine with it." Not a bug bounty scope you read quickly. §1 →
pentest-authorization-scoping-and-methodologyis the section that matters most, and it is first for that reason.This document is written for people doing authorized work — in-house security teams, consultancies, bug bounty participants operating inside a published scope, and the people who hire and manage them. It is a methodology, process, and professional practice reference. It deliberately does not contain exploitation recipes, working exploit code, or techniques for evading specific defensive products; those live in engagement-specific research, and the value of a reference like this is in the parts practitioners actually get wrong — scoping, method, evidence, and communication.
This is not legal advice. §1 →
pentest-authorization-scoping-and-methodologytells you what to ask your counsel, not what your obligations are in your jurisdiction.
How to read this. Three markers:
- [DURABLE] — professional practice, methodology, or a lesson the field has settled.
- [VERSIONED] — regulation, tooling, market state. Verify.
- [CONTESTED] — practitioners genuinely disagree.
The three framings that organize everything below:
- The report is the product. The client is not buying access to their systems — they already have that. They are buying a prioritized, reproducible, actionable understanding of their risk. A brilliant compromise written up badly is a failed engagement (§13).
- Your job is to model a threat, not to win. "I got domain admin" is not the goal; "here is how an attacker with these capabilities would reach these assets, here is what detected them and what didn't, and here is what to fix first" is.
- You are operating in someone's production environment and you can break it. Professional restraint — knowing what not to run — is a larger part of competence than the ability to run anything.
[DURABLE] The human layer is consistently the most effective initial access vector, and consistently the most sensitive to test.
Techniques: phishing (and its voice and SMS variants), pretexting, MFA fatigue and consent phishing, and physical entry — tailgating, badge cloning, and testing what happens when someone walks in wearing a hi-vis vest.
⚠️ The ethical and legal handling is different in kind here, and it is where engagements most often cause real harm:
[DURABLE] The point of post-exploitation is to establish business impact, not to maximize access. The questions: what does this foothold reach? What credentials or tokens are available here? What would an attacker do next, and what does that reach? And critically — what did the defenders see?
Map everything to MITRE ATT&CK. It is the shared vocabulary that lets a defender take your report and build a detection, and it turns "we moved laterally" into a specific technique ID they can hunt for.
⚠️ Restraint applies most here. Persistence mechanisms must be documented and removed; leave-behinds are how testers cause incidents months later. Keep a written cleanup inventory — every account created, tool dropped, configuration changed, and persistence established — and verify removal with the client rather than asserting it.
Red team tests detection and response, not vulnerabilities. It has an objective (reach this data, execute this transaction), a long timeline, and a blue team that doesn't know — which is the whole point and also the source of its cost.
Purple team puts testers and defenders in the same room: run a technique, check whether it alerted, tune the detection, run it again. [CONTESTED but with a strong majority view]: for most organizations, purple teaming delivers more defensive improvement per dollar than red teaming, because red teaming tells you that you failed while purple teaming fixes it. The counter-argument is real: only an unannounced exercise tests the actual human response under genuine uncertainty, and organizations that only purple team never learn whether their process works when nobody is expecting it.
[DURABLE] The maturity ladder is real: do not buy a red team engagement if you have not done the basic testing. An organization that hasn't patched its perimeter and has a flat network doesn't need an adversary simulation to know it will fail. Red teaming is appropriate when you have a functioning security program and want to test it — buying one earlier is paying premium rates for findings a vulnerability assessment would have given you.
[DURABLE] Two distinct things share a name, and conflating them causes confusion: testing AI systems and using AI to test.
[VERSIONED] A genuinely new attack surface with new vulnerability classes that don't map cleanly onto existing methodology. Scoping guidance now explicitly holds that once AI features are part of the application boundary, the test has to ask different questions about providers, self-hosting, output handling, keys, logging, and worst-case impact.
What you're testing for: prompt injection (direct and indirect — and note that this is not solved, so any system giving a model tools plus untrusted input has real exposure), insecure output handling (model output reaching an interpreter, a browser, or a shell), excessive agency (what can the agent's tools actually do, and what happens when it's manipulated into doing it), data leakage through retrieval systems and context, training data and model supply chain, and denial-of-wallet. OWASP's LLM and Agentic Applications material is the reference framework.
[VERSIONED] This moved from novelty to material capability faster than almost anything else in the field, and the honest picture cuts both ways.
What the evidence shows:
What the evidence also shows:
pentest-technical-domains's highest-value finding category.pentest-authorization-scoping-and-methodology's rules of engagement, that is not a minor concern; it is a potential authorization
violation with your name on it. Platforms addressing this use graduated trust levels and
hard-blocked destructive commands.⚠️ The marketing substantially outruns the evidence, and this is a domain where vendor material dominates the search results. "Manual pentesting will be a boutique service by 2027" is a vendor claim, not a finding. The defensible position: treat AI agents as augmented operators, not replacements, keep a human accountable for scope and for the report, and note that the parts of the job with the highest client value — scoping, business-logic reasoning, impact judgment, and communication (§13) — are exactly the parts the tooling is weakest at.
[DURABLE] This is the product. Everything before it is raw material.
EXECUTIVE SUMMARY 1–2 pages, no jargon. What was tested, what the risk is,
what to do first. ⚠️ Assume this is ALL an executive reads
SCOPE & METHODOLOGY exactly what was and wasn't tested, when, by what method,
and the LIMITATIONS (time-boxed? staging? credentialed?)
FINDINGS SUMMARY table: ID, title, severity, affected asset, status
DETAILED FINDINGS one per finding — the core of the document (§13.2)
STRATEGIC OBSERVATIONS the patterns behind the findings. Often the most valuable page
APPENDICES tooling, source IPs, full output, timeline
Every finding needs: a title that names the issue, severity with the reasoning shown (CVSS if you use it — and state the vector string, because a bare number is unfalsifiable), affected assets enumerated, a plain-language description of what it is, business impact in the client's terms ("an unauthenticated attacker can read any customer's records" — not "IDOR in the user endpoint"), reproduction steps a competent engineer can follow without you, evidence (redacted screenshots, requests/responses), specific remediation — not "validate input" but what to change, where, and to what — plus references (CWE, vendor docs), and retest status.
⚠️ GOTCHA — the reporting failures that waste the engagement:
- Severity inflation. Rating everything high destroys your credibility and the client's ability to prioritize. If everything is critical, nothing is.
- CVSS base score used as the priority. Base score ignores your client's environment entirely. Use environmental/temporal metrics, or say plainly that the score is a starting point. Consider EPSS for likelihood-of-exploitation context.
- Scanner output pasted in as findings. Unverified findings are the fastest way to be dismissed. Verify everything you report, or label it explicitly as unverified.
- No reproduction steps, so the fix can't be validated.
- Generic remediation copied from a template.
- Burying the important finding among forty informational ones.
- Missing the pattern. Fifteen instances of missing access control is one systemic finding about how the team builds authorization — say that, because fixing fifteen endpoints doesn't fix the sixteenth they ship next month.
- No negative findings. "We tested X and found it well-implemented" is genuinely valuable and almost never written.
[DURABLE] Write the executive summary for someone who will make a budget decision from it and read nothing else. That is not a compromise; that is the job.
Debrief both audiences — technical walkthrough for engineers, risk framing for leadership. Support remediation (the questions afterwards are where a lot of real value transfers). Retest and issue a delta. And handle the artifacts: destroy engagement data per the agreed schedule, confirm in writing, and remove every persistence mechanism and account from §11.1's inventory.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub the-vibey-project/vibey --plugin penetration-testing4 skills in this plugin
/pentest-authorization-scoping-and-methodologyUse when planning or scoping an authorized penetration test or red-team engagement, or reasoning about what makes offensive security work lawful and professional. Covers the authorization and legal foundation (CFAA as criminal and civil statute, the UK Computer Misuse Act, the DOJ good-faith-research policy and why not to rely on it, DMCA §1201), the authorization package and get-out-of-jail letter, the third-party trap, bug bounty and VDP scope, professional obligations; the engagement types and the scoping questions that determine whether a test is useful (including regulated testing); and the standard methodologies (PTES, OWASP WSTG, NIST SP 800-115, MITRE ATT&CK, OSSTMM) and the engagement lifecycle. Includes the router for the whole penetration-testing reference. Authorized, defensive-context work only./pentest-disclosure-career-and-referenceUse when handling coordinated disclosure, planning a career or certifications, or reviewing offensive-security practice. Covers coordinated and responsible disclosure and getting into the field (OSCP, CREST, PNPT and the certification landscape), the anti-patterns that mark amateur work, contested questions (OSCP's value, automated vs manual testing, red team vs pentest, CVSS's limits, disclosure timelines), whether a tooling or regulatory claim is still current (snapshot verified August 2026), the canonical methodology standards, books, labs, and communities, and the pre-engagement gate / during / post quick-reference checklists. Companion to the other penetration-testing skills; authorized work only.