Agentic-Bug-Hunter is an open-source toolkit for bug bounty. A toolkit is a set of tools that work together. A bug bounty is a reward program for people who find security holes. The tool helps from recon to reporting. Recon is the step of mapping a target before looking for holes. Everything is AI-assisted and runs from the terminal. The terminal is the dark screen where you type commands. The interesting part: it can run completely free with a local AI model via Ollama. You need no paid API key. An API key is a secret code for using a paid AI service. I have tried the pipeline myself on a local demo target. A pipeline is a chain of automatic steps. This tutorial summarizes its commands and how to use them.

Bug bounty hunting workflow

Figure 1: The bug bounty hunting workflow — from scope to report.

Warning: Only hunt targets that are in scope for an official bug bounty program (HackerOne, Bugcrowd, Intigriti, Immunefi). In scope means the target is officially listed in the program. Read the program’s policy first before touching any asset. A policy is the program’s official set of rules. Never scan a site you don’t own or that has no bug bounty program.

What You Need

  • Python 3.11+ and Git. Git is a tool for downloading and managing code from the internet.
  • Ollama + a local AI model (for example qwen2.5:3b) — free, no API key.
  • Recon tools (subfinder, httpx, katana, nuclei) — most of them come installed with the repo. A repo is a folder holding a project’s code.

Part 1: Installation and Setup

Step 1: Clone the repo and enter its virtual environment. Clone means downloading a copy of the repo. A virtual environment is a special folder with the project’s Python and packages, separate from your main Python.

git clone https://github.com/awarexone/Agentic-Bug-Hunter

            cd Agentic-Bug-Hunter

            git clone https://github.com/awarexone/Agentic-Bug-Hunter

            cd Agentic-Bug-Hunter

Step 2: Set the provider and model. A provider is a supplier of AI models, like Ollama. This command saves your choice in the config. The config is a settings file. Run it once at the start. What I use: Ollama + qwen2.5:3b (local, free).

bughunter setup --provider ollama --model qwen2.5:3b

            bughunter setup --provider ollama --model qwen2.5:3b

Step 3: Check the status. This command shows the active provider and model, the target currently being worked on, and how far along the progress is.

bughunter status

            bughunter status

Tip: If Ollama disappears after a restart (its binary got deleted), just reinstall the binary. A binary is a runnable program file. The models you already downloaded are safe in the Ollama model folder. No need to download them again.

Part 2: Commands

The CLI has 12 main commands. CLI is a command-line interface. You type commands in the terminal. They all run through bughunter. The global flags --provider, --model, and --no-banner work with every command. A flag is an extra option on a command.

Basic commands. providers lists all providers with their status. You can see which one is active and which one has no API key yet. models lists the models available for the active provider. chat opens an interactive AI shell. A shell is a chat screen in the terminal. It is handy for asking questions about a target or discussing findings without running the full pipeline.

recon <target> — recon and attack surface analysis. The attack surface is every part of a target that can be attacked. This command runs the full recon pipeline. Then AI analyzes the attack surface. The steps: subdomain enumeration, live host checks, URL collection, parameter discovery, then a nuclei scan. Subdomain enumeration means finding every address under one domain. Results are saved in the recon/<target>/ folder.

bughunter recon target.com

            bughunter recon target.com

hunt <target> — the full pipeline. The main command: recon, vulnerability hunting, validation, and reporting, in a single run. A vulnerability is a security hole. The --quick option runs fewer checks. This is faster and good for a first pass. A first pass is a quick first try.

bughunter hunt target.com

            bughunter hunt target.com --quick

            bughunter hunt target.com

            bughunter hunt target.com --quick

validate [finding] — the 7-Question Gate. This gate is seven questions that test one finding. The questions include: is there a PoC, is the impact concrete, would a triager consider it a real bug, and is the target in scope. A PoC is proof that the hole can really be exploited. A triager is the person who grades bug reports on the platform. The result: KEEP (worth reporting) or DROP (discard). Run this for every finding BEFORE writing the report. Invalid reports hurt your validity ratio on the platform. The validity ratio is the share of your reports accepted as real bugs.

bughunter validate "robots.txt membocorkan /admin dan /.env"

            bughunter validate "robots.txt membocorkan /admin dan /.env"

triage [finding] — quick triage. Triage means sorting findings to see which ones are worth pursuing. This command is a quick alias for validate. An alias is another name for the same job. It is a brief assessment of one finding, without the full gate. Use it when there are many candidate findings and you want to filter which ones deserve a full validation.

report — write a submission-ready report. This command writes a bug report ready to submit to a platform. The format is HackerOne/Bugcrowd/Intigriti/Immunefi, complete with CVSS. CVSS is a standard score for rating how bad a hole is. This command takes no target argument. An argument is an extra value you type after a command. It reads the existing findings folder. Always read the draft first before submitting. The decision to submit is yours, not the tool’s.

bughunter report

            bughunter report --findings-dir findings/target.com

            bughunter report

            bughunter report --findings-dir findings/target.com

chain [finding] — chain exploits A → B → C. An exploit is a way of using a security hole. This command takes one finding and chains exploits together. For example XSS, steal a token, then take over an account. XSS is a hole that slips a harmful script into a web page. A chain like this has a far bigger impact than a single bug on its own. And it is usually paid more.

bughunter chain "XSS di halaman profil"

            bughunter chain "XSS di halaman profil"

mcp — MCP server, doctor, and the tool catalog. MCP is a protocol that lets other AIs use the bug hunter tools. Three subcommands: serve runs the MCP server so other AIs can use the bug hunter tools. doctor checks the health of the MCP setup. tools shows the catalog of tools available via MCP.

bughunter mcp serve

            bughunter mcp doctor

            bughunter mcp tools

            bughunter mcp serve

            bughunter mcp doctor

            bughunter mcp tools

Part 3: The Full Workflow

Step 1: Scope. Make sure the program and its assets are in scope. Read the program policy first.

Step 2: Recon. Map the target’s attack surface.

Step 3: Hunt. Look for vulnerabilities in that attack surface.

Step 4: Validate every finding with the 7-Question Gate. Discard the weak ones.

Step 5: Write the report and read the draft before submitting.

bughunter recon target.com

            bughunter hunt target.com

            bughunter validate "temuan pertama"

            bughunter report

            bughunter recon target.com

            bughunter hunt target.com

            bughunter validate "temuan pertama"

            bughunter report

Limits You Should Know

  • Raw IP:port targets (for example 127.0.0.1:8080) can’t be scanned by the standard pipeline. Recon treats the target as not a live host. So the scan silently never runs. The workaround: fill in a manual URL list, then run the scanner directly.
  • The CLI only covers 7 families of checks: upload, SQLi, XSS, SSTI, CMS, MFA, SAML. Not tested: SSRF, open redirect, auth bypass, /.env exposure, CORS, LFI, IDOR, JWT, GraphQL. Those live in the plugin’s slash commands, not the CLI. A slash command is a command that starts with a slash inside an AI plugin.
  • Local models are slow: qwen2.5:3b runs at about 5.7 tokens/second after tuning. Tuning means adjusting the settings so the model runs faster. A 2000-token analysis takes about 6 minutes. This model also sometimes hallucinates endpoints from junk Wayback URLs. To hallucinate means the model invents a wrong answer. Verify every quoted URL before acting on it.
  • Nuclei needs TMPDIR outside /tmp. TMPDIR is a temporary folder programs use. /tmp is only a 512 MB tmpfs, while the nuclei templates are about 83 MB. Tmpfs is temporary storage in RAM.
  • The repo’s built-in demo target is already hardened. Hardened means the target’s security has been strengthened. A correct scan produces zero findings. Use it only as a smoke test. A smoke test is a quick check that the tool runs.

References

  1. https://github.com/awarexone/Agentic-Bug-Hunter
  2. https://www.hackerone.com/
  3. https://bugcrowd.com/
  4. https://www.intigriti.com/
  5. https://immunefi.com/