Skip to content

Repository files navigation

BugBounty — Agent-assisted Bug Bounty workflow automation

License: MIT PowerShell Platform AI Agent Ready Last Commit Stars


Table of Contents


BugBounty

Bug bounty workflow automation — agent-assisted recon, scanning, source audit, mobile analysis, and report writing.

Prerequisites

Install these first:

Tool Minimum Check
Go 1.21+ go version
Python 3.11+ python --version
Node.js 18+ node -v
Rust 1.70+ rustc --version
Java JDK 17 java -version
Git any git --version

Windows only: install Go, Python, Node, Rust, Java, Git.

Quick Setup

Clone and install:

git clone https://github.com/BMNTR/BugBounty.git C:\BugBounty
cd C:\BugBounty
# 1. Install Web/Mobile/Cloud tools
scripts\update_all_tools.ps1
# 2. Install Windows/Binary Reverse Engineering tools
scripts\install_windows_tools.ps1

This installs:

  • Subdomain: subfinder, amass, assetfinder
  • URL/Spider: gau, waybackurls, katana, hakrawler
  • Probe: httpx, dnsx
  • Fuzz: ffuf
  • Scan: nuclei
  • Secrets: gitleaks, trufflehog
  • SCA: trivy, grype, osv-scanner, cargo-audit
  • Code: semgrep, codeql
  • Mobile: apktool, jadx, frida, objection
  • Windows RE: sysinternals, x64dbg, ghidra, dnspy
  • Other: jq, yq, fd, fzf, bat, delta

Wordlists

cd wordlists
git clone https://github.com/danielmiessler/SecLists
git clone https://github.com/swisskyrepo/PayloadsAllTheThings

Agent Setup (AI Assistant)

This repository is designed to act as the "brain" and toolkit for any Agentic AI assistant.

You can use the AI CLI or editor of your choice. Simply point your AI assistant to this repository folder:

cd C:\BugBounty
# Launch your preferred AI CLI here
# Or open this folder in your AI-powered code editor

As long as the AI assistant is opened inside C:\BugBounty, it will automatically read AGENTS.md and SKILL.md to inherit the full Bug Bounty workflow instructions.

Workflow

/program <program-url> [name]

This triggers:

  1. Recon (subs → alive → URLs → nuclei)
  2. Skill loading (web/API/mobile/source/cloud)
  3. Deep testing based on findings
  4. Report generation

Pipeline Flowchart

flowchart TD
    %% Node Definitions
    Start(("Start Workflow\n/program <url>"))
    
    subgraph Phase1 ["Phase 1: Autonomous Reconnaissance"]
        direction TB
        R1["Passive Recon\n(Dorking, Shodan)"]
        R2["Subdomain Enum\n(subfinder, assetfinder)"]
        R3["DNS & Port Scan\n(dnsx, naabu)"]
        R4["HTTP Probing\n(httpx)"]
        R5["URL Extraction\n(gau, katana)"]
        R6["Vulnerability Scan\n(nuclei, dalfox)"]
        
        R1 --> R2 --> R3 --> R4 --> R5 --> R6
    end

    subgraph Storage1 ["Workspace Output"]
        DB1[("/recon/")]
        DB2[("/evidence/")]
    end

    subgraph Phase2 ["Phase 2: Target Classification & Skill Loading"]
        direction TB
        C1{"Target\nClassification"}
        T1["Web Recon"]
        T2["API Audit"]
        T3["Mobile Audit"]
        T4["Source Audit"]
        T5["Windows RE\n(win-reverse-basics)"]
        T6["Binary Analysis\n(binary-triage)"]
        Base["Base Skills\n(Triage, Evidence, Report)"]
        
        C1 -->|Web| T1
        C1 -->|API| T2
        C1 -->|Mobile| T3
        C1 -->|Source| T4
        C1 -->|Windows| T5
        C1 -->|Binary| T6
        
        T1 & T2 & T3 & T4 & T5 & T6 --> Base
    end

    subgraph Phase3 ["Phase 3: Execution & Validation"]
        direction TB
        E1["Specialized Scripts"]
        E2["Manual Validation"]
        E3["PoC Exploitation"]
        DB3[("findings.md")]
        
        E1 --> E2 --> E3 -.-> DB3
    end

    subgraph Phase4 ["Phase 4: Reporting"]
        direction TB
        Rep1["bbp-report-writer"]
        Rep2["Attach Evidence"]
        DB4[("final_report.md")]
        
        Rep1 --> Rep2 -.-> DB4
    end
    
    Finish(("Workflow Complete"))

    %% Flow connections
    Start --> Phase1
    R6 -.-> Storage1
    Phase1 --> Phase2
    Phase2 --> Phase3
    Phase3 --> Phase4
    Phase4 --> Finish
Loading

Structure

C:\BugBounty\
├── scripts\           # workflow automation scripts
├── .agents\skills\    # security audit skills & skill packs
├── _templates\        # report templates
├── programs\          # per-target workspace
│   └── <slug>\
│       ├── recon\     # raw recon output (gitignored)
│       ├── evidence\  # PoCs, screenshots (gitignored)
│       └── state.json
├── tools\             # binaries (gitignored, auto-installed)
├── wordlists\         # SecLists, PayloadsAllTheThings (gitignored)
├── recon\             # global recon (gitignored)
├── AGENTS.md          # agent workflow rules
├── SKILL.md           # command encyclopedia
└── README.md

Private Programs

Login to your target platform (HackerOne, YesWeHack, Bugcrowd, etc.) in your browser, then:

scripts\setup-cookies.ps1

Saves cookies.txt (gitignored). The agent auto-detects and uses it.

Disclaimer

Educational and Authorized Auditing Purposes Only

This project and all associated scripts, workflows, and tools are provided solely for educational purposes and for authorized security testing (such as formal Bug Bounty programs or authorized penetration testing).

The use of these tools against any system, network, or application without explicit permission from the owner is illegal and strictly prohibited.

The creator (BMNTR) and contributors of this repository bear no responsibility for any misuse, unauthorized access, or damage caused by the application of these tools. By using this repository, you agree that you are solely responsible for your actions and that you will comply with all applicable local, state, and international laws.

About

Agent-assisted Bug Bounty workflow automation — featuring autonomous recon, scanning, and AI-driven reporting.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages