agentleFS
Strategic-AutomationStrategic-Automation/violin/skills/pentest/SKILL.md

pentest

Skill145 starsChanged 2 months agoMITView on GitHub

Supervised authorized pentest: scope, route, validate, report.

8 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use brainstorm.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • nicodianskSkill

    brainstorm

    Use when starting creative work - creating features, building components, adding functionality, or modifying behavior. Explores requirements through Socratic dialogue before any implementation.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

12 rules. 0 are common, 2 are distinctive, and 10 are very specific to this project.

  • 0

    Common

    Most of the 7 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 10

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Test only an approved scope.

    line 22
  2. Very specific:

    Do not close an engagement without reporting/report.md and retrospective/retrospective.md.

    line 28
  3. Very specific:

    Every validated hypothesis becomes a finding: Before REPORTING, walk hypotheses.md and confirm each Validated hypothesis has a …

    line 41
  4. Distinctive:

    Keep tool summaries to five lines or fewer: result, evidence path, and next validated action.

    line 58
  5. Very specific:

    Keep batch summaries to 3-5 bullets.

    line 63
  6. Very specific:

    Bind: Use violin_record_ptt to set one active task and skill.

    line 80
  7. Very specific:

    Discover: Use playbooks/recon.md, inventory routes, methods, parameters, roles, sessions, and application bundles.

    line 83
  8. Very specific:

    Research: Use playbooks/vuln-research.md, record each candidate in hypotheses.md, and route its class using the table below.

    line 86
  9. Very specific:

    Validate: Use playbooks/exploitation.md plus the matched specialist playbook.

    line 88
  10. Distinctive:

    Record immediately: After every reviewed batch, update the hypothesis, coverage cell, and PTT.

    line 91
  11. Very specific:

    Report and improve: Use playbooks/reporting.md, then read references/retrospective.md and record gaps without rewriting history.

    line 93
  12. Very specific:

    If a command fails twice, stop and read references/anti-stuck.md.

    line 96

“Common” is measured: kept by at least 6 in 10 of the 7 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Pentest Orchestrator

The authoritative engagement lifecycle and skill router. It does not contain vulnerability payloads or tool matrices: load the matched phase playbook and specialist skill on demand.

Non-Negotiable Contract

  • Test only an approved scope. Target-touching work uses violin_exec or violin_exec_burst; host-local preparation may use terminal.
  • Maintain exactly one active [~] PTT task. Keep structured hypotheses, evidence, coverage, and phase state under $ENG_DIR.
  • Store raw proof only under $ENG_DIR/evidence/<phase>/; never store secrets or evidence in skills/ or $ENG_DIR/state/.
  • Do not close an engagement without reporting/report.md and retrospective/retrospective.md.
  • One finding per vulnerability — never bundle. Each distinct vulnerability (a separate flaw, endpoint, or attack class) gets its own violin_submit_finding call. If one probe exposed two flaws (e.g. a JWT algorithm bypass AND a separate missing-access-control on an admin route), submit two findings, each naming its own decisive receipts and saved bodies. Bundling unrelated flaws under one finding blurs severity, remediation, and traceability — each report entry must stand alone and be independently attributable to one flaw.
  • Do not stop at the first confirmed finding. Sweep every in-scope obligation until it is tested, not-applicable, or blocked with evidence. A partial pass that leaves obligations untested is an incomplete assessment.
  • Every validated hypothesis becomes a finding. Before REPORTING, walk hypotheses.md and confirm each Validated hypothesis has a corresponding submitted finding. A validated flaw with no finding is a missed submission.

Load on Demand

NeedRead
Scope, stop conditions, safetyreferences/shared-safety.md and .hermes.md
Evidence, confidence, CVSSreferences/standards.md and references/evidence-and-verification-discipline.md
Exhaustive coverage matrixreferences/exhaustive-coverage.md
Pre-REPORTING common-class sweepreferences/coverage-closeout.md
Methodology gates (close-gate checklist)state/methodology-gates.yaml (dispositioned in VULN_RESEARCH)
Repeated failure or stalled researchreferences/anti-stuck.md
Platform, delegation, tool fallbackreferences/platform-delegation.md
CVE and public vulnerability researchreferences/cve-apis.md

Keep tool summaries to five lines or fewer: result, evidence path, and next validated action. Redact credentials and tokens in chat and state artifacts.

Output Budget

Keep batch summaries to 3-5 bullets. Save raw output strictly under $ENG_DIR/evidence/<phase>/; do not paste full scanner output into chat, quote only decisive lines. Never summarize away evidence needed for validation: preserve full output, command, timestamp, and artifact path in the saved file.

State & Context Continuity

On every phase change, write $ENG_DIR/state/phase-summary.md and update $ENG_DIR/state/checkpoint.json (phase_current, open_items). If context is at risk of compression, tell the user: "Continue in the current session; I will resume from $ENG_DIR/state/ files." Re-read $ENG_DIR/state/checkpoint.json, $ENG_DIR/state/ptt.md, and $ENG_DIR/state/phase-summary.md before the next action. Do not reconstruct tested state from memory after compression.

Engagement Loop

  1. Bootstrap: Confirm $ENG_DIR/scope/scope.yaml and the engagement state are valid. In interactive mode, use playbooks/scoping.md; in non-interactive mode, do not call clarify.
  2. Bind: Use violin_record_ptt to set one active task and skill. If it returns skill_prepared, load the delivered skill, then repeat the identical call; the PTT transition is applied only after the second call returns ok.
  3. Discover: Use playbooks/recon.md, inventory routes, methods, parameters, roles, sessions, and application bundles. Start the coverage matrix in state/coverage-matrix.yaml.
  4. Research: Use playbooks/vuln-research.md, record each candidate in hypotheses.md, and route its class using the table below.
  5. Validate: Use playbooks/exploitation.md plus the matched specialist playbook. Capture baseline and decisive differential evidence through the guarded execution tools; call violin_review_batch after each batch.
  6. Record immediately: After every reviewed batch, update the hypothesis, coverage cell, and PTT. A missing state record is not a completed result.
  7. Report and improve: Use playbooks/reporting.md, then read references/retrospective.md and record gaps without rewriting history.

If a command fails twice, stop and read references/anti-stuck.md. If batch state is desynchronized, use violin_rebind_pending_batch before new work.

Phase Playbooks

PhasePlaybook
Scopingplaybooks/scoping.md
Reconnaissanceplaybooks/recon.md
Vulnerability Researchplaybooks/vuln-research.md
Exploitationplaybooks/exploitation.md
Post-Exploitationplaybooks/post-exploitation.md
Reportingplaybooks/reporting.md
Tools and environmentplaybooks/tools.md

Vulnerability Routing

vuln_class takes priority over candidate_source, which takes priority over the phase default. Load only the selected specialist skill and its matching playbook.

ClassRouted skill
SQLi, XSS, command injection, SSRF, traversal, LDAP, XPath, NoSQL, SSTI, XXE, deserialization, prototype pollutionweb-app
Authentication, authorization, IDOR, JWT, CSRF, redirects, cryptographyidentity-auth
REST, SOAP, GraphQL, WebSocketapi-testing
LLM prompt injection, MCP / JSON-RPCllm-security
Workflow, pricing, coupon, quota, referral, race conditionbusiness-logic
Misconfiguration, error handling, observability, obscuritymisconfig
Domain or public-record researchdomain-intel or osint-investigation
Repository/source/static analysisoss-forensics, audit-context-building, semgrep, codeql, or sarif-parsing

Evidence Minimum

A validated finding is one violin_submit_finding call naming the signed execution receipts that contain its decisive request and response. Capture the full HTTP status, headers, and body when HTTP is involved. Compare appropriate unauthenticated, low-privilege, and authorized contexts for identity-related findings. The guard assigns the finding ID and stores the typed record; do not write finding Markdown by hand.

  • Save the decisive body, then cite it. Save the decisive request/response body to its own file under evidence/ (e.g. curl -i -o evidence/vuln-research/<vector>.txt ...). Declare that exact path through the violin_exec call's evidence_outputs, then pass it as evidence_paths alongside receipt_paths when submitting the finding. Undeclared files are not authenticated by the signed receipt and cannot support a finding.
  • One finding per obligation. Submit a separate finding for each distinct vulnerability. If one probe spans multiple flaws, split it into one finding each instead of a single bundled finding. Do not submit a placeholder without a real signed receipt and a saved evidence body.
  • Do not stop at the first finding. Sweep every in-scope obligation; a partial pass that leaves obligations untested is an incomplete assessment. Record each obligation as tested, not-applicable, or blocked with evidence — silence is not coverage.

Completion Checklist

  • Scope and authorization are current.
  • Every coverage cell is tested, not applicable, or blocked with a reason.
  • Before REPORTING: sweep references/coverage-closeout.md and record negatives explicitly (silence is not coverage).
  • Every validated vulnerability has a receipt-backed finding submission.
  • All command batches are reviewed and state files are current.
  • Reporting and retrospective artifacts exist.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.