agentic-bug-hunter-rhodawkai-edition 0.0.0-stage → 6.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Claude Bug Bounty Hunter Contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,3 +1,264 @@
1
- # Temporary Holding Version
1
+ <div align="center">
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ <img src="assets/rhodawk-banner.png" alt="Agentic Bug Hunter — RhodawkAI Edition" width="100%"/>
4
+
5
+ **Fail-closed, CDN-aware autonomous bug bounty reconnaissance & attack-surface prioritization — 100% open-source, self-hostable, zero closed-model lock-in.**
6
+
7
+ [![License: MIT](https://img.shields.io/badge/License-MIT-22C55E?style=for-the-badge&logo=opensourceinitiative&logoColor=white)](https://github.com/Rhodawk-AI/Agentic-Bug-Hunter-RhodawkaiEdition/blob/main/LICENSE)
8
+ [![Python 3.10+](https://img.shields.io/badge/Python-3.10%2B-3776AB?style=for-the-badge&logo=python&logoColor=white)](https://github.com/Rhodawk-AI/Agentic-Bug-Hunter-RhodawkaiEdition/blob/main/pyproject.toml)
9
+ [![CI](https://github.com/Rhodawk-AI/Agentic-Bug-Hunter-RhodawkaiEdition/actions/workflows/ci.yml/badge.svg)](https://github.com/Rhodawk-AI/Agentic-Bug-Hunter-RhodawkaiEdition/actions/workflows/ci.yml)
10
+ [![GitHub Stars](https://img.shields.io/github/stars/Rhodawk-AI/Agentic-Bug-Hunter-RhodawkaiEdition?style=for-the-badge&color=F59E0B)](https://github.com/Rhodawk-AI/Agentic-Bug-Hunter-RhodawkaiEdition/stargazers)
11
+ [![NVIDIA NIM](https://img.shields.io/badge/NVIDIA_NIM-Open_Weights-76B900?style=for-the-badge&logo=nvidia&logoColor=white)](https://github.com/Rhodawk-AI/Agentic-Bug-Hunter-RhodawkaiEdition#-open-weight--multi-provider-ai)
12
+ [![Ollama](https://img.shields.io/badge/Ollama-100%25_Local-000000?style=for-the-badge&logo=ollama&logoColor=white)](https://github.com/Rhodawk-AI/Agentic-Bug-Hunter-RhodawkaiEdition#-open-weight--multi-provider-ai)
13
+
14
+ **[Demo](#-live-demo) · [What Is This](#-what-is-this) · [Benchmark](#-head-to-head-benchmark) · [Quick Start](#-quick-start-5-commands) · [AI Providers](#-open-weight--multi-provider-ai) · [reconFTW Delegation](#-deterministic-reconftw-delegation) · [Commands & MCP](#-cli-commands-mcp--project-structure) · [Acknowledgments](#-acknowledgments--branded-footer)**
15
+
16
+ </div>
17
+
18
+ ---
19
+
20
+ ## 🎬 Live Demo
21
+
22
+ <p align="center">
23
+ <img src="assets/rhodawk-demo.gif" alt="RhodawkAI Edition Live Terminal Demo" width="100%"/>
24
+ </p>
25
+
26
+ <p align="center">
27
+ <em>Recorded live on an 8-vCPU Ubuntu VPS: <code>rhodawk doctor</code> (<code>0 FAIL</code>, <code>&lt;5s</code>) → fail-closed OOS scope block (<code>0</code> packets) → live CDN-aware recon on <code>rhodawkai.com</code> → canonical <code>recon_truth.json</code> + NVIDIA NIM <code>recon_brief.md</code>.</em>
28
+ <br/>
29
+ <a href="assets/rhodawk-demo-1080p.mp4">▶ Download / Watch Full 1080p MP4</a>
30
+ </p>
31
+
32
+ ---
33
+
34
+ ## 🛡️ What Is This?
35
+
36
+ RhodawkAI Edition fixes the deterministic plumbing *before* an LLM ever sees the data: scope enforcement, CDN classification, bounded reconFTW delegation, and canonical state fusion are all plain, auditable code — not prompt hopes. The model is only invited at the end, to rank an already-clean and already-honest attack surface, never to decide what runs.
37
+
38
+ - 🔒 **Fail-Closed Scope Gate (`0` packets on OOS):** Targets outside `--scope-domain` abort before any scanner runs — the engine refuses to send a single packet to an out-of-scope host.
39
+ - 🌐 **CDN & Origin Isolation:** Classifies live hosts into `CDN_EDGE` vs. `FIRST_PARTY_ORIGIN` via DNS CNAME/A + `httpx` tech tags, skipping `nmap` on CDN edges (`0s` / `0` packets wasted on Vercel/Cloudflare IPs).
40
+ - ⚙️ **Bounded `reconFTW` Gap-Fillers + Honest Telemetry:** Pins reconFTW (`3925211`) and invokes targeted `-c <fn>` modules in isolated workdirs instead of the monolithic `-r` run — printing a 6-row `tool_health` table (`COMPLETED_EMPTY`, `SKIPPED_SILENT`, `FAILED`) so nothing ever fails silently.
41
+ - 🧩 **Canonical State, Clustering & Diffs:** Fuses ~20 loose raw outputs into `recon_truth.json` (with SimHash host clustering so agents don't burn tokens on duplicate pages) + `delta.json` run-to-run diffs.
42
+ - 🩺 **Managed Chromium SPA Crawling & 5-Second Diagnostics:** A single managed Chromium (`bash install_tools.sh --browser`) powers `katana` SPA crawling, and `rhodawk doctor` verifies all 8 core binaries, reconFTW, Chromium, MCP imports, and live LLM connectivity in `<5s`.
43
+ - 🧠 **Open-Weight AI Prioritization:** Generates `recon_brief.md` via **NVIDIA NIM** or local **Ollama** — zero closed-model lock-in.
44
+
45
+ > [!IMPORTANT]
46
+ > **What it is *not* (yet):** Stages 1–2 recon & attack-surface prioritization are live today — **1,288 passing tests, green CI**. Sandboxed Docker exploit execution and a clean-room `pytest`/Playwright PoC validator are next on the roadmap. Until then RhodawkAI Edition is recon-only: it maps and prioritizes, it does not attack — and it never leaves your approved scope anyway.
47
+
48
+ ---
49
+
50
+ ## ⚡ Head-to-Head Benchmark
51
+
52
+ <img src="assets/benchmark.png" alt="Head-to-Head Benchmark" width="100%"/>
53
+
54
+ All three runners, same target (`rhodawkai.com`), same 8-vCPU / 32 GB Ubuntu VPS:
55
+
56
+ | Runner | Wall Time | Where the Time Went | Determinism & Telemetry |
57
+ |:---|:---|:---|:---|
58
+ | 🔴 `reconFTW (-r full recon @ 3925211)` | **`>31m` (hung)** | `9m 57s` OSINT (`third_party_misconfigs`), then hung `21m+` in `sub_brute` (`puredns`) | Killed manually; ignored `-o` and wrote to `Recon/` |
59
+ | 🟡 Original Agentic-Bug-Hunter | **`6m 45s`** (`6m44.7s`) | Wasted **`104.79s`** port-scanning the Vercel CDN edge `216.198.79.1` | Loose `.txt` files, no fail-closed scope gate, unclustered hosts, no `tool_health` |
60
+ | 🟢 RhodawkAI Edition | **`~5m 00s`** | **`0s` / `0` packets** on CDN edges; bounded `-c` gap-fillers (`0.4s–0.5s` each) | Fail-closed scope gate, `recon_truth.json` (`2` hosts → `1` SimHash cluster), `delta.json`, 6-row `tool_health`, NVIDIA NIM `recon_brief.md` |
61
+
62
+ ---
63
+
64
+ ## 🚀 Quick Start (5 Commands)
65
+
66
+ ```bash
67
+ # 1. Clone the brand repo + install the standalone agent (no subscription needed)
68
+ git clone https://github.com/Rhodawk-AI/Agentic-Bug-Hunter-RhodawkaiEdition.git && cd Agentic-Bug-Hunter-RhodawkaiEdition && ./install.sh --agent standalone
69
+
70
+ # 2. Install the external arsenal + the single managed Chromium (katana SPA crawling)
71
+ bash install_tools.sh && bash install_tools.sh --browser
72
+
73
+ # 3. Verify everything in <5 seconds
74
+ rhodawk doctor
75
+
76
+ # 4. Prove the fail-closed scope gate — an out-of-scope target aborts with 0 packets sent
77
+ rhodawk evil.example -recon --scope-domain "*.goodscope.example"
78
+
79
+ # 5. Run live, CDN-aware recon
80
+ rhodawk rhodawkai.com -recon --scope-domain "*.rhodawkai.com" --scope-domain "rhodawkai.com"
81
+ ```
82
+
83
+ Then read the canonical truth — one JSON instead of 20 loose text files:
84
+
85
+ ```bash
86
+ jq '{schema_version, counts, tool_health}' bughunter/recon/rhodawkai.com/recon_truth.json
87
+ cat bughunter/recon/rhodawkai.com/recon_brief.md
88
+ ```
89
+
90
+ > [!TIP]
91
+ > No AI key yet? Steps 1–4 are fully deterministic and work with **zero** API keys — the AI layer only kicks in for `recon_brief.md` prioritization. Add **NVIDIA NIM** or **Ollama** whenever you're ready (next section).
92
+
93
+ ---
94
+
95
+ ## 🧠 Open-Weight & Multi-Provider AI
96
+
97
+ The same deterministic pipeline can write `recon_brief.md` through **NVIDIA NIM** (hosted open weights) or a fully local **Ollama** model — or any of the 16+ providers the multi-provider brain already speaks. Your recon data never depends on a closed model.
98
+
99
+ ### 🥇 NVIDIA NIM — open weights, hosted
100
+
101
+ ```bash
102
+ export NVIDIA_API_KEY="nvapi-your-key-here" # free credits → https://build.nvidia.com
103
+ rhodawk setup --provider nvidia # aliases: nim · nvidia-nim
104
+ rhodawk doctor # expect: [PASS] LLM provider nvidia — responded READY
105
+ ```
106
+
107
+ - Default model: `nvidia/nemotron-3-ultra-550b-a55b`
108
+ - Self-hosting a NIM container? Point `NVIDIA_NIM_BASE_URL` at your own endpoint (default: `https://integrate.api.nvidia.com/v1`).
109
+
110
+ ### 🥈 Ollama — 100% free, fully offline
111
+
112
+ ```bash
113
+ curl -fsSL https://ollama.ai/install.sh | sh
114
+ ollama pull qwen2.5:14b # ~9 GB, one-time download
115
+ rhodawk setup --provider ollama --model qwen2.5:14b
116
+ ```
117
+
118
+ After the pull, nothing ever leaves your machine — scope gate, fusion, and the AI brief all run locally.
119
+
120
+ ### Also supported (auto-detected, free-first)
121
+
122
+ | Provider | Env var | Get a key |
123
+ |:---|:---|:---|
124
+ | **Groq** | `GROQ_API_KEY` | [console.groq.com](https://console.groq.com) — free tier, very fast |
125
+ | **DeepSeek** | `DEEPSEEK_API_KEY` | [platform.deepseek.com](https://platform.deepseek.com) — very cheap |
126
+ | **OpenRouter** | `OPENROUTER_API_KEY` | [openrouter.ai/keys](https://openrouter.ai/keys) — 100+ models, one key |
127
+ | **LiteLLM** | `LITELLM_API_KEY` (+ `LITELLM_BASE_URL`) | one gateway in front of keys you already own |
128
+ | Claude API | `ANTHROPIC_API_KEY` | [console.anthropic.com](https://console.anthropic.com) |
129
+ | OpenAI | `OPENAI_API_KEY` | [platform.openai.com](https://platform.openai.com) |
130
+ | Grok (xAI) | `XAI_API_KEY` | [console.x.ai](https://console.x.ai) |
131
+
132
+ Providers are auto-detected free-first (**Ollama → Groq → DeepSeek → … → OpenRouter → Claude → OpenAI**); LiteLLM stays opt-in so it never preempts a provider you already configured. Switch anytime with `rhodawk setup` (interactive), `rhodawk setup --provider ollama --model qwen2.5:14b` (non-interactive), or inspect with `rhodawk providers` / `rhodawk models`.
133
+
134
+ ---
135
+
136
+ ## 🔧 Deterministic reconFTW Delegation
137
+
138
+ <details>
139
+ <summary><b>7 capability gaps filled by reconFTW <code>-c</code> modules — pinned <code>3925211</code>, isolated workdirs, honest telemetry</b></summary>
140
+ <br>
141
+
142
+ Wherever the built-in recon pipeline hits a capability it doesn't own, the routing decision is **deterministic code, not an LLM judgment call**: `bughunter/tools/rtw_adapter.py` decides what runs, identically across all four runtimes (CLI engine, ReAct agent, interactive harness, MCP server).
143
+
144
+ | Capability | reconFTW `-c` function | Pipeline slot |
145
+ |:---|:---|:---|
146
+ | ASN/CIDR enum (`CAP_ASN_ENUM`) | `sub_asn` | Phase 1.5 (before httpx) |
147
+ | DNS brute/permutation (`CAP_DNS_PERMUT`) | `sub_permut` | Phase 1.5 (before httpx) |
148
+ | CDN/origin isolation (`CAP_CDN_ISOLATE`) | `cdnprovider` | Phase 1.5 (before httpx) |
149
+ | JS source-map/AST secrets (`CAP_JS_SOURCEMAPS`) | `jschecks` | Phase 5.5 (before ffuf) |
150
+ | Virtual-host discovery (`CAP_VHOSTS`) | `virtualhosts` | Phase 5.5 (before ffuf) |
151
+ | TLS IP pivots (`CAP_TLS_PIVOTS`) | `tls_ip_pivots` | Phase 5.5 (before ffuf) |
152
+ | Favicon fingerprint (`CAP_FAVICON`) | `favirecon_tech` | Phase 5.5 (before ffuf) |
153
+
154
+ > [!TIP]
155
+ > **Guardrails, not vibes:** `install.sh` clones reconFTW at the pinned commit `3925211` and auto-persists `rtw_home` into `~/.bughunter/config.json` (override anytime with `RTW_HOME=...`). Each delegation runs one targeted `-c <fn>` module in an isolated workdir — never the monolithic `-r` — and every output file is scope-filtered post-call. `modules/vulns.sh` is never delegated: RhodawkAI's verifier spine stays the only thing allowed to promote a finding. Results are traced in `~/.bughunter/recon/<host>/rtw_manifest.json` (identical schema across runtimes, 7-day TTL), and the `tool_health` rows in `recon_truth.json` report every capability as `COMPLETED`, `COMPLETED_EMPTY`, `SKIPPED_SILENT`, or `FAILED`.
156
+
157
+ </details>
158
+
159
+ ---
160
+
161
+ ## 💻 CLI Commands, MCP & Project Structure
162
+
163
+ <details>
164
+ <summary><b>CLI reference · MCP setup · the real repository tree</b></summary>
165
+ <br>
166
+
167
+ `rhodawk` is the primary brand command; `bughunter` is the original engine command — same binary, same flags, pick your alias. Both are installed by `./install.sh --agent standalone`.
168
+
169
+ | Command | What it does |
170
+ |:---|:---|
171
+ | `rhodawk doctor` | <5s diagnostic — 8 core binaries, pinned reconFTW, managed Chromium, MCP import, live LLM `READY` probe |
172
+ | `rhodawk <target> -recon --scope-domain "*.example.com"` | CDN-aware recon — fail-closed scope gate → subdomain enum → httpx probe → CDN/origin split → bounded reconFTW → `recon_truth.json` + `delta.json` |
173
+ | `rhodawk <target> hunt` | ReAct hunt loop — tests IDOR · auth bypass · SSRF · XSS · SQLi · logic flaws and more |
174
+ | `rhodawk validate "<finding>"` | 7-Question Gate — kills weak findings before you waste time writing |
175
+ | `rhodawk report` | Submission-ready report for HackerOne · Bugcrowd · Intigriti · Immunefi |
176
+ | `rhodawk chat` | Interactive AI hunting shell |
177
+ | `rhodawk providers` / `rhodawk models` | List AI providers / models and show the active one |
178
+ | `rhodawk setup [--provider nvidia --model …]` | Connect or switch AI providers, fully scriptable |
179
+ | `rhodawk h <t>` / `r <t>` / `v "<f>"` | Short aliases for hunt / recon / validate |
180
+
181
+ ### MCP — drive RhodawkAI from any agent
182
+
183
+ ```text
184
+ AI Agent → RhodawkAI MCP → Scope → Recon → Hunt → Validate → Report
185
+ ```
186
+
187
+ ```bash
188
+ pip install 'mcp>=2.2.0'
189
+ ./install.sh --agent mcp
190
+ bughunter mcp doctor # verify the server imports + policy engine
191
+ bughunter mcp serve # expose tools to Cursor · Claude Code · Codex · OpenCode
192
+ ```
193
+
194
+ MCP is an adapter over the existing research engine — not a second scanner. Active tools require scope and explicit approval; full details in [docs/mcp.md](https://github.com/Rhodawk-AI/Agentic-Bug-Hunter-RhodawkaiEdition/blob/main/docs/mcp.md).
195
+
196
+ ### Project structure (the real tree)
197
+
198
+ ```text
199
+ Agentic-Bug-Hunter-RhodawkaiEdition/
200
+ ├── assets/ # rhodawk-banner · architecture · benchmark · logo (png/webp) · demo 1080p
201
+ ├── bughunter/ # the package
202
+ │ ├── engine.py # standalone CLI — the 'rhodawk' / 'bughunter' command
203
+ │ ├── brain.py # multi-provider LLM layer (NVIDIA NIM · Ollama · Groq · DeepSeek · …)
204
+ │ ├── agent.py # ReAct hunting agent
205
+ │ ├── agents/ # 9 specialist prompts (recon, validator, report-writer, …)
206
+ │ ├── mcp/ # native MCP server + Burp / Caido / HackerOne clients
207
+ │ ├── memory/ # cross-session hunt memory (pattern DB · audit log · rotation)
208
+ │ ├── tools/ # scanner pipeline — recon_engine.sh · recon_fusion.py · rtw_adapter.py · …
209
+ │ └── wordlists/ # curated wordlists
210
+ ├── tests/ # 1,288-test pytest suite — no network, no API keys required
211
+ ├── commands/ # slash-command references (/recon /hunt /validate /report …)
212
+ ├── skills/ # AI knowledge bases loaded by agent harnesses
213
+ ├── docs/ # extended docs (mcp.md · CAPABILITY-GAPS.md · TUTORIAL.md · …)
214
+ ├── .github/workflows/ci.yml # green CI gate: bash -n + pytest -q on every push/PR
215
+ ├── install.sh # standalone install · pinned reconFTW clone · 'rhodawk' alias
216
+ ├── install_tools.sh # subfinder · httpx · nuclei · katana · ffuf · nmap · … + --browser Chromium
217
+ ├── pyproject.toml # package metadata — agentic-bug-hunter-rhodawkai-edition 6.1.0
218
+ └── requirements.txt # requests · pytest · mcp
219
+ ```
220
+
221
+ </details>
222
+
223
+ ---
224
+
225
+ ## 🤝 Operational Rules & Contributing
226
+
227
+ **Operational rules** — the non-negotiables:
228
+
229
+ 1. **Scope first, always.** Every run requires `--scope-domain`; the gate is fail-closed and aborts before any scanner fires (`0` packets on OOS).
230
+ 2. **Recon-only today.** Exploit execution is roadmap, not reality — never point the agent at anything you're not authorized to test.
231
+ 3. **Honest telemetry or nothing.** A capability that came back `SKIPPED_SILENT` or `FAILED` is printed in the `tool_health` table — never swallowed.
232
+ 4. **Validate before report.** Weak findings die at the 7-Question Gate, not at a triager's desk.
233
+ 5. **Impact first.** Test the bugs with the worst consequences before the clever ones.
234
+
235
+ **Contributing** — four lines from clone to green CI:
236
+
237
+ ```bash
238
+ git clone https://github.com/Rhodawk-AI/Agentic-Bug-Hunter-RhodawkaiEdition.git && cd Agentic-Bug-Hunter-RhodawkaiEdition
239
+ python3 -m venv .venv && source .venv/bin/activate && pip install -r requirements.txt
240
+ bash -n bughunter/tools/recon_engine.sh install.sh install_tools.sh && pytest -q # 1,288 tests, no network needed
241
+ git checkout -b feat/your-contribution && git commit -m "feat: short description" && git push # open the PR 🚀
242
+ ```
243
+
244
+ ---
245
+
246
+ ## ❤️ Acknowledgments & Branded Footer
247
+
248
+ RhodawkAI Edition stands on the shoulders of open-source builders:
249
+
250
+ - **[Agentic-Bug-Hunter](https://github.com/Awarexone/Agentic-Bug-Hunter)** by **AwareXone** — the original MIT framework this edition hardens and extends.
251
+ - **[reconFTW](https://github.com/six2dez/reconftw)** by **six2dez** — the modular `-c <fn>` recon capabilities behind our bounded delegation.
252
+ - **[ProjectDiscovery](https://github.com/projectdiscovery) & the Open-Source Security Community** — [`subfinder`](https://github.com/projectdiscovery/subfinder) · [`httpx`](https://github.com/projectdiscovery/httpx) · [`katana`](https://github.com/projectdiscovery/katana) · [`nuclei`](https://github.com/projectdiscovery/nuclei) · [`ffuf`](https://github.com/ffuf/ffuf) · [`gau`](https://github.com/lc/gau) · [`nmap`](https://nmap.org) · [Playwright](https://playwright.dev/python/).
253
+
254
+ <div align="center">
255
+
256
+ <a href="https://rhodawkai.com"><img src="assets/rhodawkai-logo.webp" alt="RhodawkAI" width="160"/></a>
257
+
258
+ 🌐 **[rhodawkai.com](https://rhodawkai.com)** · 🐙 **[github.com/Rhodawk-AI](https://github.com/Rhodawk-AI)** · ✉️ **[manager@rhodawkai.com](mailto:manager@rhodawkai.com)**
259
+
260
+ **Made with ♥ · Telegram [@rhodawk1](https://t.me/rhodawk1)**
261
+
262
+ <sub>MIT License · For authorized security testing only. Always test within an approved bug bounty program scope.</sub>
263
+
264
+ </div>
package/bin/rhodawk.js ADDED
@@ -0,0 +1,38 @@
1
+ #!/usr/bin/env node
2
+ "use strict";
3
+
4
+ const { spawnSync } = require("child_process");
5
+
6
+ const PKG = "agentic-bug-hunter-rhodawkai-edition";
7
+ const args = process.argv.slice(2);
8
+
9
+ function hasCmd(cmd) {
10
+ const probe = spawnSync(process.platform === "win32" ? "where" : "which", [cmd], {
11
+ stdio: "ignore",
12
+ });
13
+ return probe.status === 0;
14
+ }
15
+
16
+ function run(cmd, cmdArgs) {
17
+ const res = spawnSync(cmd, cmdArgs, { stdio: "inherit" });
18
+ if (res.error) {
19
+ console.error(`[rhodawk] Failed to run ${cmd}: ${res.error.message}`);
20
+ process.exit(1);
21
+ }
22
+ process.exit(res.status ?? 0);
23
+ }
24
+
25
+ if (hasCmd("rhodawk")) {
26
+ run("rhodawk", args);
27
+ } else if (hasCmd("pipx")) {
28
+ run("pipx", ["run", "--spec", PKG, "rhodawk", ...args]);
29
+ } else {
30
+ console.error(
31
+ `[rhodawk] Python CLI not found on PATH.\n` +
32
+ `Install the core package first:\n` +
33
+ ` pipx install ${PKG}\n` +
34
+ ` # or inside a virtualenv:\n` +
35
+ ` pip install ${PKG}\n`
36
+ );
37
+ process.exit(1);
38
+ }
package/package.json CHANGED
@@ -1,6 +1,39 @@
1
1
  {
2
2
  "name": "agentic-bug-hunter-rhodawkai-edition",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "6.1.1",
4
+ "description": "CLI wrapper for Agentic-Bug-Hunter (RhodawkAI Edition) — fail-closed, CDN-aware autonomous bug bounty reconnaissance & attack-surface prioritization.",
5
+ "license": "MIT",
6
+ "author": "RhodawkAI <manager@rhodawkai.com>",
7
+ "homepage": "https://rhodawkai.com",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "git+https://github.com/Rhodawk-AI/Agentic-Bug-Hunter-RhodawkaiEdition.git",
11
+ "directory": "npm"
12
+ },
13
+ "bugs": {
14
+ "url": "https://github.com/Rhodawk-AI/Agentic-Bug-Hunter-RhodawkaiEdition/issues"
15
+ },
16
+ "keywords": [
17
+ "security",
18
+ "bug-bounty",
19
+ "recon",
20
+ "pentest",
21
+ "ai-agent",
22
+ "mcp",
23
+ "nvidia-nim",
24
+ "ollama",
25
+ "rhodawkai"
26
+ ],
27
+ "bin": {
28
+ "rhodawk": "bin/rhodawk.js",
29
+ "bughunter": "bin/rhodawk.js"
30
+ },
31
+ "files": [
32
+ "bin/",
33
+ "README.md",
34
+ "LICENSE"
35
+ ],
36
+ "engines": {
37
+ "node": ">=18"
38
+ }
39
+ }