pentest

Runs an authorized purple-team loop that exploits, patches, and re-tests vulnerabilities on owned assets.

Updated Sep 17, 2026
One-click install
npx skills add https://github.com/karenrebecag/spec-driven-standards --skill pentest-karenrebecag
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pentest
Source: https://github.com/karenrebecag/spec-driven-standards/tree/main/plugins/security/skills/pentest
Command: npx skills add https://github.com/karenrebecag/spec-driven-standards --skill pentest-karenrebecag

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Security findings often stay theoretical: a scanner flags an issue, but nobody proves it is exploitable or verifies the fix actually closes it. This Skill embeds penetration testing into the development cycle, turning each proof of concept into a regression test that proves the patch works. ## Core Features & Use Cases - Scoped authorization gate: Requires a .pentest-scope.json file declaring targets, out-of-scope hosts, rules, and expiration before any offensive skill runs; production and third-party assets are always excluded. - Closed exploit-patch loop: For each vector it runs recon, builds a reproducible PoC, verifies the finding with a security reviewer, converts the PoC into a failing regression test via TDD, applies the fix, and re-runs the exploit to confirm it now fails. - Local reporting: Accumulates each closed vector (severity, PoC, patch, regression test, re-exploitation result) into a local report that never leaves the machine. - Use Case: While developing an API, you suspect an IDOR on an endpoint. The Skill checks your scope file, exploits the endpoint against your local Supabase instance, confirms the finding, writes a failing test, patches the shared authorization function, and re-runs the attack to prove it is dead. ## Quick Start Ask the AI to run /pentest against the authorized targets in your .pentest-scope.json and close one vulnerability vector end to end.

Frequently Asked Questions about pentest

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run an authorized penetration test on my own application?

Create a .pentest-scope.json file at the project root declaring targets, out-of-scope hosts, rules, authorizer, and expiration, then invoke /pentest. The skill runs recon, exploitation, verification, patching, and re-exploitation only against the declared targets.

How does the pentest loop verify a vulnerability fix actually works?

The loop converts the proof of concept into a regression test that first fails, then applies the patch in the shared code path. It re-runs the original exploit vector, which must now fail; if it still succeeds, the cycle repeats up to three rounds.

Can I run this pentest skill against production or third-party systems?

No. The scope file permanently excludes production hosts, third-party domains, and any external accounts. Destructive testing is allowed only against local or ephemeral environments, and findings are written to a local report, never exfiltrated.

What happens if the .pentest-scope.json file is missing?

Without the scope file, the guard forces every offensive skill to ask for confirmation before executing. The skill helps you create the file from a template and requires explicit approval before running anything offensive.

What is the difference between /pentest and /security-audit?

The security-audit skill is read-only and static, scanning the project and producing a prioritized report. The pentest skill actively exploits vulnerabilities within the authorized scope and proves each patch by re-running the attack.