# mdpsec/bug-bounty-hunting-prompts architecture

> Architecture diagram of the GitHub repository mdpsec/bug-bounty-hunting-prompts, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-12). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/mdpsec/bug-bounty-hunting-prompts
- Repository: https://github.com/mdpsec/bug-bounty-hunting-prompts

## Overview

This repository is a reference pack of prompts for a structured, evidence-first bug bounty workflow—not a runnable application or orchestration engine. A researcher adapts the private integrations, supplies authorized scope and evidence, then gives an agent selected prompts one phase at a time and preserves requested handoffs. The documented sequence spans reconnaissance, access, broad and critical hunting, triage, validation, escalation, and duplicate checks; the browser walk is an optional stage. Relationships below reflect the README’s published sequence, not inspected prompt internals.

Main entry points: [`phases/phase-04a-scope.md`](https://github.com/mdpsec/bug-bounty-hunting-prompts/blob/main/phases/phase-04a-scope.md) (Hunt Scope), [`phases/phase-08-verify-escalate.md`](https://github.com/mdpsec/bug-bounty-hunting-prompts/blob/main/phases/phase-08-verify-escalate.md) (Independent Verify), [`phases/phase-05a-scope.md`](https://github.com/mdpsec/bug-bounty-hunting-prompts/blob/main/phases/phase-05a-scope.md) (Critical Scope), [`phases/phase-09-triage-gate.md`](https://github.com/mdpsec/bug-bounty-hunting-prompts/blob/main/phases/phase-09-triage-gate.md) (Live Triage Gate)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_discovery["Discovery and Access"]
  node_recon["Surface Recon<br/>[phase-00-recon.md]"]
  node_access["Account Access<br/>[phase-01-access.md]"]
end

subgraph group_hunting["Hunting"]
  node_sweep["Broad Sweep<br/>[phase-02-sweep.md]"]
  node_scope4["Hunt Scope<br/>[phase-04a-scope.md]"]
  node_browser["Browser Walk"]
  node_scope5["Critical Scope<br/>[phase-05a-scope.md]"]
  node_critical["Critical Hunt"]
end

subgraph group_assessment["Triage and Validation"]
  node_closeout["Sweep Closeout"]
  node_triage["Initial Triage<br/>[phase-06-triage.md]"]
  node_validate["Validate Findings"]
end

subgraph group_escalation["Escalation and Closure"]
  node_verify["Independent Verify"]
  node_independent["Pre-gate Escalation"]
  node_gate["Live Triage Gate"]
  node_duplicate["Duplicate Check"]
end

node_researcher(("Researcher"))

node_researcher -->|"provides input"| node_recon
node_recon -->|"next phase"| node_access
node_access -->|"next phase"| node_sweep
node_sweep -->|"next phase"| node_closeout
node_closeout -->|"next phase"| node_scope4
node_scope4 -.->|"optional stage"| node_browser
node_scope4 -->|"next phase"| node_scope5
node_browser -.->|"next phase"| node_scope5
node_scope5 -->|"next phase"| node_critical
node_critical -->|"next phase"| node_triage
node_triage -->|"next phase"| node_validate
node_validate -->|"next phase"| node_verify
node_verify -.->|"optional pass"| node_independent
node_verify -->|"next phase"| node_gate
node_independent -.->|"next phase"| node_gate
node_gate -->|"next phase"| node_duplicate

click node_recon "https://github.com/mdpsec/bug-bounty-hunting-prompts/blob/main/phases/phase-00-recon.md"
click node_access "https://github.com/mdpsec/bug-bounty-hunting-prompts/blob/main/phases/phase-01-access.md"
click node_sweep "https://github.com/mdpsec/bug-bounty-hunting-prompts/blob/main/phases/phase-02-sweep.md"
click node_closeout "https://github.com/mdpsec/bug-bounty-hunting-prompts/blob/main/phases/phase-03-closeout.md"
click node_scope4 "https://github.com/mdpsec/bug-bounty-hunting-prompts/blob/main/phases/phase-04a-scope.md"
click node_browser "https://github.com/mdpsec/bug-bounty-hunting-prompts/blob/main/phases/phase-04b-browser-walk.md"
click node_scope5 "https://github.com/mdpsec/bug-bounty-hunting-prompts/blob/main/phases/phase-05a-scope.md"
click node_critical "https://github.com/mdpsec/bug-bounty-hunting-prompts/blob/main/phases/phase-05b-critical.md"
click node_triage "https://github.com/mdpsec/bug-bounty-hunting-prompts/blob/main/phases/phase-06-triage.md"
click node_validate "https://github.com/mdpsec/bug-bounty-hunting-prompts/blob/main/phases/phase-07-validate-escalate.md"
click node_verify "https://github.com/mdpsec/bug-bounty-hunting-prompts/blob/main/phases/phase-08-verify-escalate.md"
click node_independent "https://github.com/mdpsec/bug-bounty-hunting-prompts/blob/main/phases/phase-08a-independent-escalation.md"
click node_gate "https://github.com/mdpsec/bug-bounty-hunting-prompts/blob/main/phases/phase-09-triage-gate.md"
click node_duplicate "https://github.com/mdpsec/bug-bounty-hunting-prompts/blob/main/phases/phase-10-self-duplicate-check.md"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_recon,node_access toneBlue
class node_sweep,node_scope4,node_browser,node_scope5,node_critical toneAmber
class node_closeout,node_triage,node_validate toneMint
class node_verify,node_independent,node_gate,node_duplicate toneRose
class node_researcher toneIndigo
```

## Components

### Discovery and Access

- [Surface Recon](https://github.com/mdpsec/bug-bounty-hunting-prompts/blob/main/phases/phase-00-recon.md): `phases/phase-00-recon.md`
- [Account Access](https://github.com/mdpsec/bug-bounty-hunting-prompts/blob/main/phases/phase-01-access.md): `phases/phase-01-access.md`

### Hunting

- [Broad Sweep](https://github.com/mdpsec/bug-bounty-hunting-prompts/blob/main/phases/phase-02-sweep.md): `phases/phase-02-sweep.md`
- [Hunt Scope](https://github.com/mdpsec/bug-bounty-hunting-prompts/blob/main/phases/phase-04a-scope.md): `phases/phase-04a-scope.md`
- [Browser Walk](https://github.com/mdpsec/bug-bounty-hunting-prompts/blob/main/phases/phase-04b-browser-walk.md): `phases/phase-04b-browser-walk.md`
- [Critical Scope](https://github.com/mdpsec/bug-bounty-hunting-prompts/blob/main/phases/phase-05a-scope.md): `phases/phase-05a-scope.md`
- [Critical Hunt](https://github.com/mdpsec/bug-bounty-hunting-prompts/blob/main/phases/phase-05b-critical.md): `phases/phase-05b-critical.md`

### Triage and Validation

- [Sweep Closeout](https://github.com/mdpsec/bug-bounty-hunting-prompts/blob/main/phases/phase-03-closeout.md): `phases/phase-03-closeout.md`
- [Initial Triage](https://github.com/mdpsec/bug-bounty-hunting-prompts/blob/main/phases/phase-06-triage.md): `phases/phase-06-triage.md`
- [Validate Findings](https://github.com/mdpsec/bug-bounty-hunting-prompts/blob/main/phases/phase-07-validate-escalate.md): `phases/phase-07-validate-escalate.md`

### Escalation and Closure

- [Independent Verify](https://github.com/mdpsec/bug-bounty-hunting-prompts/blob/main/phases/phase-08-verify-escalate.md): `phases/phase-08-verify-escalate.md`
- [Pre-gate Escalation](https://github.com/mdpsec/bug-bounty-hunting-prompts/blob/main/phases/phase-08a-independent-escalation.md): `phases/phase-08a-independent-escalation.md`
- [Live Triage Gate](https://github.com/mdpsec/bug-bounty-hunting-prompts/blob/main/phases/phase-09-triage-gate.md): `phases/phase-09-triage-gate.md`
- [Duplicate Check](https://github.com/mdpsec/bug-bounty-hunting-prompts/blob/main/phases/phase-10-self-duplicate-check.md): `phases/phase-10-self-duplicate-check.md`

### Other components

- **Researcher**

## Connections

- Researcher → Surface Recon: provides input (evidence: `README.md`)
- Surface Recon → Account Access: next phase (evidence: `README.md`)
- Account Access → Broad Sweep: next phase (evidence: `README.md`)
- Broad Sweep → Sweep Closeout: next phase (evidence: `README.md`)
- Sweep Closeout → Hunt Scope: next phase (evidence: `README.md`)
- Hunt Scope → Browser Walk: optional stage (evidence: `README.md`)
- Hunt Scope → Critical Scope: next phase (evidence: `README.md`)
- Browser Walk → Critical Scope: next phase (evidence: `README.md`)
- Critical Scope → Critical Hunt: next phase (evidence: `README.md`)
- Critical Hunt → Initial Triage: next phase (evidence: `README.md`)
- Initial Triage → Validate Findings: next phase (evidence: `README.md`)
- Validate Findings → Independent Verify: next phase (evidence: `README.md`)
- Independent Verify → Pre-gate Escalation: optional pass (evidence: `README.md`)
- Independent Verify → Live Triage Gate: next phase (evidence: `README.md`)
- Pre-gate Escalation → Live Triage Gate: next phase (evidence: `README.md`)
- Live Triage Gate → Duplicate Check: next phase (evidence: `README.md`)
