@rhodawkai/bounty-hunter 0.0.0-stage → 2.0.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,22 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 RhodawkAI
4
+ Copyright (c) 2026 Claude Bug Bounty Hunter Contributors
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in all
14
+ copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ SOFTWARE.
package/NOTICE ADDED
@@ -0,0 +1,5 @@
1
+ RhodawkAI Bounty Hunter
2
+ Copyright (c) 2026 RhodawkAI
3
+
4
+ This product includes software developed by the Agentic-Bug-Hunter project
5
+ (https://github.com/awarexone/Agentic-Bug-Hunter), licensed under the MIT License.
package/README.md CHANGED
@@ -1,3 +1,65 @@
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
+ # @rhodawkai/bounty-hunter
4
+
5
+ **npm CLI wrapper for [RhodawkAI Bounty Hunter](https://github.com/Rhodawk-AI/rhodawk-bounty-hunter) —
6
+ AI-powered bug bounty hunting, recon to report, in your terminal.**
7
+
8
+ [![npm](https://img.shields.io/npm/v/@rhodawkai/bounty-hunter?style=for-the-badge&logo=npm&logoColor=white&color=CB3837)](https://www.npmjs.com/package/@rhodawkai/bounty-hunter)
9
+ [![PyPI](https://img.shields.io/pypi/v/rhodawk-bounty-hunter?style=for-the-badge&logo=pypi&logoColor=white&color=3775A9)](https://pypi.org/project/rhodawk-bounty-hunter/)
10
+ [![CI](https://github.com/Rhodawk-AI/rhodawk-bounty-hunter/actions/workflows/ci.yml/badge.svg)](https://github.com/Rhodawk-AI/rhodawk-bounty-hunter/actions/workflows/ci.yml)
11
+ [![License: MIT](https://img.shields.io/badge/License-MIT-22C55E?style=for-the-badge&logo=opensourceinitiative&logoColor=white)](https://github.com/Rhodawk-AI/rhodawk-bounty-hunter/blob/main/LICENSE)
12
+
13
+ </div>
14
+
15
+ ---
16
+
17
+ ## What is this package?
18
+
19
+ `@rhodawkai/bounty-hunter` is a thin, dependency-free Node.js launcher for the
20
+ Python package [`rhodawk-bounty-hunter`](https://pypi.org/project/rhodawk-bounty-hunter/).
21
+ It resolves and runs the `rhodawk` engine — fail-closed, CDN-aware autonomous
22
+ bug bounty reconnaissance and attack-surface prioritization — and falls back to
23
+ `pipx run` when the Python package is not installed yet.
24
+
25
+ ## Install
26
+
27
+ ```bash
28
+ # global install (recommended)
29
+ npm install -g @rhodawkai/bounty-hunter
30
+
31
+ # or run without installing
32
+ npx @rhodawkai/bounty-hunter doctor
33
+ ```
34
+
35
+ The wrapper exposes a single binary: `rhodawk`.
36
+
37
+ 1. If a real `rhodawk` is already on `PATH` (pipx / uv tool / source install),
38
+ it is executed directly.
39
+ 2. Otherwise the wrapper delegates to `pipx run --spec rhodawk-bounty-hunter rhodawk`.
40
+ 3. If neither is possible, it prints install instructions for
41
+ [pipx](https://pipx.pypa.io/) and the
42
+ [PyPI package](https://pypi.org/project/rhodawk-bounty-hunter/).
43
+
44
+ ## First run
45
+
46
+ ```bash
47
+ rhodawk doctor # fast environment diagnostic (PASS/WARN/FAIL)
48
+ rhodawk setup # configure provider/model
49
+ rhodawk scope-compile <program-handle> # compile the SHA-256 scope manifest
50
+ rhodawk recon <target> # scoped, CDN-aware recon
51
+ ```
52
+
53
+ The full CLI workflow, the agent slash commands, the MCP server, and the
54
+ security architecture (0600 `~/.rhodawk/.env` credential vault, SHA-256-verified
55
+ compiled scope manifests, pre-probe dnsx CNAME quarantine, fail-closed
56
+ `ScopeChecker`, deterministic `PreToolUse` scope hooks, and
57
+ `<untrusted_target_data>` isolation) are documented in the
58
+ [main repository README](https://github.com/Rhodawk-AI/rhodawk-bounty-hunter#readme).
59
+
60
+ ## License & attribution
61
+
62
+ MIT — see [LICENSE](./LICENSE). Upstream attribution is preserved in
63
+ [NOTICE](./NOTICE); please keep it intact in redistributions.
64
+
65
+ **Hunt only what you are authorized to hunt.**
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 = "rhodawk-bounty-hunter";
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,37 @@
1
1
  {
2
2
  "name": "@rhodawkai/bounty-hunter",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "2.0.1",
4
+ "description": "RhodawkAI Bounty Hunter CLI wrapper — 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/rhodawk-bounty-hunter.git",
11
+ "directory": "npm"
12
+ },
13
+ "bugs": {
14
+ "url": "https://github.com/Rhodawk-AI/rhodawk-bounty-hunter/issues"
15
+ },
16
+ "keywords": [
17
+ "security",
18
+ "bug-bounty",
19
+ "recon",
20
+ "pentest",
21
+ "ai-agent",
22
+ "mcp",
23
+ "rhodawkai"
24
+ ],
25
+ "bin": {
26
+ "rhodawk": "bin/rhodawk.js"
27
+ },
28
+ "files": [
29
+ "bin/",
30
+ "README.md",
31
+ "LICENSE",
32
+ "NOTICE"
33
+ ],
34
+ "engines": {
35
+ "node": ">=18"
36
+ }
37
+ }