agentleFS
RifteoRifteo/skills/hexstrike-forge/SKILL.md

hexstrike-forge

Skill37 starsChanged 5 months agoMITView on GitHub

A 5-phase structured pentest methodology for the hexstrike-ai MCP server, covering passive recon through finding delivery with triage gates, parallel execution, and tool failure recovery.

The file

Show its rules and text

We split this skill into the rules it gives an agent

18 rules. About 0 are common, 9 are distinctive, and 9 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈9

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 9

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Rule: No exploit, no finding. Every HexStrike output is a hypothesis until triage confirms it.

    line 15
  2. Very specific:

    Run scope-grill skill if installed (npx rifteo-skills add scope-grill to install).

    line 20
  3. Distinctive:

    Do you have written authorization to test this target?

    line 22
  4. Distinctive:

    If authorization cannot be confirmed, stop.

    line 26
  5. Very specific:

    Call server_health. Diff available tools against the phases in references/tool-sequences.md for the identified target type.

    line 29
  6. Very specific:

    Run a port scan on top 100 ports.

    line 41
  7. Distinctive:

    If ambiguous across two types, run both.

    line 51
  8. Very specific:

    WAF/CDN detection: if HTTP responses show inconsistent behavior, Cloudflare/Akamai/Fastly headers, or payloads are silently dropped — note …

    line 53
  9. Very specific:

    Follow the capability sequence for the target type from references/tool-sequences.md.

    line 59
  10. Distinctive:

    If a tool times out with partial output, triage what was returned — do not discard

    line 64
  11. Distinctive:

    If a port changes state mid-engagement, wait 60s and retry once before marking inconclusive

    line 65
  12. Very specific:

    Run chain detection (references/triage-rules.md section 2)

    line 77
  13. Distinctive:

    Authenticated gate: before authenticated tests, surface explicitly: *"Authenticated testing requires credentials.

    line 84
  14. Very specific:

    Write up using finding-writer skill if installed — it produces a full structured pentest finding (npx rifteo-skills add finding-writer to …

    line 88
  15. Distinctive:

    Never report without triage — flags are hypotheses

    line 109
  16. Very specific:

    Never run active phases without confirmed scope from scope-grill

    line 110
  17. Very specific:

    If a tool is broken, apply the rule from references/known-tool-bugs.md — never retry a broken invocation

    line 112
  18. Distinctive:

    Keep the user informed at every phase transition

    line 113

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “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

HexStrike Forge

HexStrike executes. Rifteo refines. This skill sequences HexStrike tools intelligently, filters noise down to confirmed findings, and assembles a professional report.

Rule: No exploit, no finding. Every HexStrike output is a hypothesis until triage confirms it.

Startup

1. Scope gate

Run scope-grill skill if installed (npx rifteo-skills add scope-grill to install). If not installed, ask these three questions before any active testing and do not proceed until all are answered:

  1. Do you have written authorization to test this target?
  2. What is in scope and what is explicitly out of scope?
  3. Any restrictions? (no DoS, time windows, excluded hosts?)

If authorization cannot be confirmed, stop. Do not proceed.

2. Tool pre-check

Call server_health. Diff available tools against the phases in references/tool-sequences.md for the identified target type. Note any capability gaps upfront — do not discover them mid-engagement.

3. Output rule

Strip ANSI escape codes and extract stdout from every tool response before reading it. See references/known-tool-bugs.md for handling broken or misbehaving tools.

4. Multi-target

If the user provides multiple targets (IP range, list of domains, CIDR block): run Phase 1 across all targets first, consolidate the target map, then run phases 2–4 in sequence. Do not run a full engagement per target in isolation — cross-target findings (e.g. same CVE on multiple hosts) count as one finding with multiple affected assets.


Phase 1 — Orient

Run a port scan on top 100 ports. Derive target type from what is open. Load the matching sequence from references/tool-sequences.md.

SignalTarget type
Port 80/443, web service, domain nameWeb application
JSON endpoints, /api/, REST, GraphQLAPI
IP range, ports 22/25/445/3389, no web UINetwork / infrastructure
S3 URLs, cloud provider headers, metadata endpointsCloud
Mobile app + backend URL, thick client trafficMobile / thick client

If ambiguous across two types, run both. If the target is unresponsive (all ports filtered, no response), document it, note possible WAF/CDN, and attempt a DNS and passive recon pass before concluding.

WAF/CDN detection: if HTTP responses show inconsistent behavior, Cloudflare/Akamai/Fastly headers, or payloads are silently dropped — note the WAF/CDN, adapt the scan sequence to use lower-noise tools first, and flag WAF presence in the engagement summary.


Phase 2 — Strike

Follow the capability sequence for the target type from references/tool-sequences.md.

  • Passive before active
  • Unauthenticated before authenticated
  • Triage after each capability phase before moving to the next
  • If a tool times out with partial output, triage what was returned — do not discard
  • If a port changes state mid-engagement, wait 60s and retry once before marking inconclusive

Phase 3 — Triage

Apply rules from references/triage-rules.md to every flag. Assign each item: CONFIRM-HIGH, CONFIRM-MED, INVESTIGATE, or DISCARD.

Target: fewer than 20% of raw flags become CONFIRM. If confirming more, triage is too loose.

After triage:

  • Cross-reference every confirmed CVE against CISA KEV (references/triage-rules.md section 3)
  • Run chain detection (references/triage-rules.md section 2)
  • Log every CONFIRM item in the evidence ledger (references/triage-rules.md section 5)

Phase 4 — Forge

Authenticated gate: before authenticated tests, surface explicitly: "Authenticated testing requires credentials. Provide them to continue, or type SKIP." Do not silently skip.

For each CONFIRM-HIGH and CONFIRM-MED finding:

  1. Assign finding ID (F-01, F-02 ...) in descending severity order
  2. Write up using finding-writer skill if installed — it produces a full structured pentest finding (npx rifteo-skills add finding-writer to install). If not installed, use the template in references/triage-rules.md section 6.

INVESTIGATE items go into open threads in the handoff — not findings.


Phase 5 — Deliver

Choose based on what the user needs:

  • Full report → pentest-report skill if installed (npx rifteo-skills add pentest-report) — it assembles a complete professional report. If not installed, produce: Executive Summary → Risk Summary (finding count by severity, KEV flags) → Findings sorted by CVSS → Open Threads → Appendix (tool output).
  • Continue later → engagement-handoff skill if installed (npx rifteo-skills add engagement-handoff) — it produces a structured handoff document. If not installed, produce: confirmed scope, evidence ledger, open threads with next steps, retest date, and any credentials or context the next session needs.
  • Remediation plans → remediation-planner skill per finding if installed (npx rifteo-skills add remediation-planner) — it produces prioritized fix plans. If not installed, for each finding produce: immediate action (hours), short-term fix (days), long-term hardening (weeks), and a verification step to confirm the fix.
  • Quick brief → no sub-skill needed. Produce 5 lines: scope, test duration, finding count by severity, highest-risk finding title, recommended immediate action.

Executive Summary must always include: total findings by severity, KEV findings flagged separately, any chains discovered, and one sentence on overall risk posture.


Rules

  • Never report without triage — flags are hypotheses
  • Never run active phases without confirmed scope from scope-grill
  • Deduplicate: same endpoint + same issue from multiple tools = one finding
  • If a tool is broken, apply the rule from references/known-tool-bugs.md — never retry a broken invocation
  • Keep the user informed at every phase transition

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.