rhodawk-bounty-hunter 2.0.0__tar.gz

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.
Files changed (256) hide show
  1. rhodawk_bounty_hunter-2.0.0/CHANGELOG.md +141 -0
  2. rhodawk_bounty_hunter-2.0.0/LICENSE +22 -0
  3. rhodawk_bounty_hunter-2.0.0/MANIFEST.in +20 -0
  4. rhodawk_bounty_hunter-2.0.0/NOTICE +5 -0
  5. rhodawk_bounty_hunter-2.0.0/PKG-INFO +214 -0
  6. rhodawk_bounty_hunter-2.0.0/README.md +188 -0
  7. rhodawk_bounty_hunter-2.0.0/pyproject.toml +62 -0
  8. rhodawk_bounty_hunter-2.0.0/requirements.txt +2 -0
  9. rhodawk_bounty_hunter-2.0.0/rhodawk/__init__.py +8 -0
  10. rhodawk_bounty_hunter-2.0.0/rhodawk/__main__.py +29 -0
  11. rhodawk_bounty_hunter-2.0.0/rhodawk/_compat.py +92 -0
  12. rhodawk_bounty_hunter-2.0.0/rhodawk/agent.py +2299 -0
  13. rhodawk_bounty_hunter-2.0.0/rhodawk/agents/README.md +17 -0
  14. rhodawk_bounty_hunter-2.0.0/rhodawk/agents/autopilot.md +218 -0
  15. rhodawk_bounty_hunter-2.0.0/rhodawk/agents/chain-builder.md +92 -0
  16. rhodawk_bounty_hunter-2.0.0/rhodawk/agents/credential-hunter.md +170 -0
  17. rhodawk_bounty_hunter-2.0.0/rhodawk/agents/recon-agent.md +134 -0
  18. rhodawk_bounty_hunter-2.0.0/rhodawk/agents/recon-ranker.md +93 -0
  19. rhodawk_bounty_hunter-2.0.0/rhodawk/agents/report-writer.md +193 -0
  20. rhodawk_bounty_hunter-2.0.0/rhodawk/agents/token-auditor.md +195 -0
  21. rhodawk_bounty_hunter-2.0.0/rhodawk/agents/validator.md +133 -0
  22. rhodawk_bounty_hunter-2.0.0/rhodawk/agents/web3-auditor.md +174 -0
  23. rhodawk_bounty_hunter-2.0.0/rhodawk/brain.py +3094 -0
  24. rhodawk_bounty_hunter-2.0.0/rhodawk/contracts/__init__.py +11 -0
  25. rhodawk_bounty_hunter-2.0.0/rhodawk/contracts/scope.py +215 -0
  26. rhodawk_bounty_hunter-2.0.0/rhodawk/engine.py +1495 -0
  27. rhodawk_bounty_hunter-2.0.0/rhodawk/mcp/README.md +19 -0
  28. rhodawk_bounty_hunter-2.0.0/rhodawk/mcp/burp-mcp-client/README.md +101 -0
  29. rhodawk_bounty_hunter-2.0.0/rhodawk/mcp/burp-mcp-client/opencode-config.json +16 -0
  30. rhodawk_bounty_hunter-2.0.0/rhodawk/mcp/caido-mcp-client/README.md +84 -0
  31. rhodawk_bounty_hunter-2.0.0/rhodawk/mcp/caido-mcp-client/opencode-config.json +14 -0
  32. rhodawk_bounty_hunter-2.0.0/rhodawk/mcp/hackerone-mcp/opencode-config.json +10 -0
  33. rhodawk_bounty_hunter-2.0.0/rhodawk/mcp/hackerone-mcp/server.py +406 -0
  34. rhodawk_bounty_hunter-2.0.0/rhodawk/mcp/rhodawk-mcp/README.md +62 -0
  35. rhodawk_bounty_hunter-2.0.0/rhodawk/mcp/rhodawk-mcp/__init__.py +3 -0
  36. rhodawk_bounty_hunter-2.0.0/rhodawk/mcp/rhodawk-mcp/adapters.py +895 -0
  37. rhodawk_bounty_hunter-2.0.0/rhodawk/mcp/rhodawk-mcp/claude-config.json +11 -0
  38. rhodawk_bounty_hunter-2.0.0/rhodawk/mcp/rhodawk-mcp/cli.py +112 -0
  39. rhodawk_bounty_hunter-2.0.0/rhodawk/mcp/rhodawk-mcp/opencode-config.json +12 -0
  40. rhodawk_bounty_hunter-2.0.0/rhodawk/mcp/rhodawk-mcp/policy/__init__.py +26 -0
  41. rhodawk_bounty_hunter-2.0.0/rhodawk/mcp/rhodawk-mcp/policy/decisions.py +46 -0
  42. rhodawk_bounty_hunter-2.0.0/rhodawk/mcp/rhodawk-mcp/policy/engine.py +271 -0
  43. rhodawk_bounty_hunter-2.0.0/rhodawk/mcp/rhodawk-mcp/policy/tool_meta.py +110 -0
  44. rhodawk_bounty_hunter-2.0.0/rhodawk/mcp/rhodawk-mcp/redact.py +11 -0
  45. rhodawk_bounty_hunter-2.0.0/rhodawk/mcp/rhodawk-mcp/server.py +603 -0
  46. rhodawk_bounty_hunter-2.0.0/rhodawk/memory/README.md +16 -0
  47. rhodawk_bounty_hunter-2.0.0/rhodawk/memory/__init__.py +48 -0
  48. rhodawk_bounty_hunter-2.0.0/rhodawk/memory/audit_log.py +404 -0
  49. rhodawk_bounty_hunter-2.0.0/rhodawk/memory/evidence.py +471 -0
  50. rhodawk_bounty_hunter-2.0.0/rhodawk/memory/hunt_journal.py +84 -0
  51. rhodawk_bounty_hunter-2.0.0/rhodawk/memory/pattern_db.py +169 -0
  52. rhodawk_bounty_hunter-2.0.0/rhodawk/memory/redaction.py +181 -0
  53. rhodawk_bounty_hunter-2.0.0/rhodawk/memory/research_case.py +121 -0
  54. rhodawk_bounty_hunter-2.0.0/rhodawk/memory/rotation.py +124 -0
  55. rhodawk_bounty_hunter-2.0.0/rhodawk/memory/schemas.py +570 -0
  56. rhodawk_bounty_hunter-2.0.0/rhodawk/prompts/kernel.md +109 -0
  57. rhodawk_bounty_hunter-2.0.0/rhodawk/serve.py +35 -0
  58. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/README.md +129 -0
  59. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/__init__.py +6 -0
  60. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/_auth_helper.sh +75 -0
  61. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/_dep_hint.sh +88 -0
  62. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/_scope_gate.sh +139 -0
  63. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/_spray_http_form.py +284 -0
  64. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/_spray_oauth.py +216 -0
  65. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/auth_session.py +314 -0
  66. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/banner.py +151 -0
  67. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/banner.sh +105 -0
  68. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/breach_checker.py +240 -0
  69. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/bypass_403.sh +406 -0
  70. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/capability_registry.py +675 -0
  71. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/cicd_scanner.sh +148 -0
  72. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/cloud_recon.sh +123 -0
  73. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/cors_scanner.py +261 -0
  74. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/credential_store.py +92 -0
  75. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/credentials.py +719 -0
  76. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/crlf_scanner.py +191 -0
  77. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/cve_scan.sh +133 -0
  78. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/dashboard.py +596 -0
  79. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/dom_xss_harness.py +214 -0
  80. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/eol_check.py +276 -0
  81. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/external_arsenal.sh +180 -0
  82. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/google_oauth.py +588 -0
  83. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/graphql_audit.sh +362 -0
  84. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/h1_idor_scanner.py +605 -0
  85. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/h1_mutation_idor.py +381 -0
  86. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/h1_oauth_tester.py +283 -0
  87. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/h1_race.py +258 -0
  88. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/h1_run.sh +219 -0
  89. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/hai_browser_recon.js +171 -0
  90. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/hai_payload_builder.py +726 -0
  91. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/hai_probe.py +193 -0
  92. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/hook_scope_guard.py +367 -0
  93. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/hunt.py +1260 -0
  94. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/hunt_dashboard.py +599 -0
  95. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/intel_engine.py +417 -0
  96. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/jwt_scanner.py +197 -0
  97. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/lead_board.py +504 -0
  98. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/learn.py +474 -0
  99. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/llm_redteam.py +301 -0
  100. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/memory_gc.py +183 -0
  101. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/memory_migrate.py +95 -0
  102. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/mindmap.py +366 -0
  103. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/multipart_mutator.py +275 -0
  104. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/nosqli_scanner.py +209 -0
  105. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/oob_listener.py +210 -0
  106. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/oracle.py +565 -0
  107. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/osint_employees.sh +223 -0
  108. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/param_discovery.sh +99 -0
  109. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/poc_bundler.py +701 -0
  110. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/port_scanner.py +218 -0
  111. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/prompt_safety.py +23 -0
  112. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/recon_adapter.py +347 -0
  113. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/recon_engine.sh +1639 -0
  114. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/recon_fusion.py +970 -0
  115. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/research_log.py +201 -0
  116. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/rtw_adapter.py +1256 -0
  117. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/safe_http.py +133 -0
  118. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/sast_scan.py +171 -0
  119. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/scope_aggregator.sh +212 -0
  120. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/scope_checker.py +766 -0
  121. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/scope_compiler.py +917 -0
  122. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/secrets_hunter.sh +149 -0
  123. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/sneaky_bits.py +231 -0
  124. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/spray_orchestrator.sh +261 -0
  125. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/swarm.py +249 -0
  126. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/takeover_scanner.sh +110 -0
  127. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/target_normalize.py +200 -0
  128. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/target_selector.py +357 -0
  129. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/token_scanner.py +816 -0
  130. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/validate.py +1113 -0
  131. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/validate_core.py +292 -0
  132. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/verifier.py +434 -0
  133. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/verifiers/__init__.py +124 -0
  134. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/verifiers/__main__.py +54 -0
  135. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/verifiers/auth_bypass.py +56 -0
  136. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/verifiers/base.py +267 -0
  137. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/verifiers/idor.py +73 -0
  138. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/verifiers/oob.py +60 -0
  139. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/verifiers/redirect.py +54 -0
  140. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/verifiers/sensitive_file.py +59 -0
  141. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/verifiers/sqli.py +105 -0
  142. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/verifiers/xss.py +61 -0
  143. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/visual_triage.py +173 -0
  144. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/vuln_scanner.sh +715 -0
  145. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/waf_encoder.py +230 -0
  146. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/waf_response_analyzer.py +930 -0
  147. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/wordlist_engine.sh +194 -0
  148. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/zendesk_idor_test.py +390 -0
  149. rhodawk_bounty_hunter-2.0.0/rhodawk/tools/zero_day_fuzzer.py +742 -0
  150. rhodawk_bounty_hunter-2.0.0/rhodawk/wordlists/README.md +14 -0
  151. rhodawk_bounty_hunter-2.0.0/rhodawk/wordlists/REFERENCES.md +51 -0
  152. rhodawk_bounty_hunter-2.0.0/rhodawk/wordlists/api-endpoints.txt +298 -0
  153. rhodawk_bounty_hunter-2.0.0/rhodawk/wordlists/common.txt +4751 -0
  154. rhodawk_bounty_hunter-2.0.0/rhodawk/wordlists/params.txt +6453 -0
  155. rhodawk_bounty_hunter-2.0.0/rhodawk/wordlists/raft-medium-dirs.txt +29999 -0
  156. rhodawk_bounty_hunter-2.0.0/rhodawk/wordlists/sensitive-files.txt +109 -0
  157. rhodawk_bounty_hunter-2.0.0/rhodawk_bounty_hunter.egg-info/PKG-INFO +214 -0
  158. rhodawk_bounty_hunter-2.0.0/rhodawk_bounty_hunter.egg-info/SOURCES.txt +254 -0
  159. rhodawk_bounty_hunter-2.0.0/rhodawk_bounty_hunter.egg-info/dependency_links.txt +1 -0
  160. rhodawk_bounty_hunter-2.0.0/rhodawk_bounty_hunter.egg-info/entry_points.txt +3 -0
  161. rhodawk_bounty_hunter-2.0.0/rhodawk_bounty_hunter.egg-info/requires.txt +5 -0
  162. rhodawk_bounty_hunter-2.0.0/rhodawk_bounty_hunter.egg-info/top_level.txt +1 -0
  163. rhodawk_bounty_hunter-2.0.0/setup.cfg +4 -0
  164. rhodawk_bounty_hunter-2.0.0/tests/test_agent_dispatcher_hardening.py +215 -0
  165. rhodawk_bounty_hunter-2.0.0/tests/test_agent_dispatcher_scope.py +89 -0
  166. rhodawk_bounty_hunter-2.0.0/tests/test_agent_rtw_dispatch.py +141 -0
  167. rhodawk_bounty_hunter-2.0.0/tests/test_agent_time_budget_gate.py +118 -0
  168. rhodawk_bounty_hunter-2.0.0/tests/test_audit_log.py +216 -0
  169. rhodawk_bounty_hunter-2.0.0/tests/test_auth_session.py +355 -0
  170. rhodawk_bounty_hunter-2.0.0/tests/test_autopilot_guard.py +245 -0
  171. rhodawk_bounty_hunter-2.0.0/tests/test_benchmark.py +38 -0
  172. rhodawk_bounty_hunter-2.0.0/tests/test_brain_auto_detect.py +267 -0
  173. rhodawk_bounty_hunter-2.0.0/tests/test_brain_litellm.py +145 -0
  174. rhodawk_bounty_hunter-2.0.0/tests/test_breach_checker.py +150 -0
  175. rhodawk_bounty_hunter-2.0.0/tests/test_bypass_403_review_fixes.py +39 -0
  176. rhodawk_bounty_hunter-2.0.0/tests/test_config_file_permissions.py +21 -0
  177. rhodawk_bounty_hunter-2.0.0/tests/test_cookie_redaction.py +44 -0
  178. rhodawk_bounty_hunter-2.0.0/tests/test_cors_scanner.py +77 -0
  179. rhodawk_bounty_hunter-2.0.0/tests/test_credential_store.py +129 -0
  180. rhodawk_bounty_hunter-2.0.0/tests/test_credentials.py +628 -0
  181. rhodawk_bounty_hunter-2.0.0/tests/test_crlf_scanner.py +50 -0
  182. rhodawk_bounty_hunter-2.0.0/tests/test_dashboard.py +291 -0
  183. rhodawk_bounty_hunter-2.0.0/tests/test_dep_hint.py +53 -0
  184. rhodawk_bounty_hunter-2.0.0/tests/test_doc_paths.py +96 -0
  185. rhodawk_bounty_hunter-2.0.0/tests/test_dom_xss_harness.py +79 -0
  186. rhodawk_bounty_hunter-2.0.0/tests/test_evidence_provenance.py +280 -0
  187. rhodawk_bounty_hunter-2.0.0/tests/test_exploit_command_gate.py +57 -0
  188. rhodawk_bounty_hunter-2.0.0/tests/test_exploit_loop_budget.py +95 -0
  189. rhodawk_bounty_hunter-2.0.0/tests/test_false_positives.py +265 -0
  190. rhodawk_bounty_hunter-2.0.0/tests/test_google_oauth.py +104 -0
  191. rhodawk_bounty_hunter-2.0.0/tests/test_groq_models.py +85 -0
  192. rhodawk_bounty_hunter-2.0.0/tests/test_hackerone_mcp.py +123 -0
  193. rhodawk_bounty_hunter-2.0.0/tests/test_hackerone_server.py +221 -0
  194. rhodawk_bounty_hunter-2.0.0/tests/test_hunt_dashboard.py +306 -0
  195. rhodawk_bounty_hunter-2.0.0/tests/test_hunt_session_dirs.py +140 -0
  196. rhodawk_bounty_hunter-2.0.0/tests/test_hunt_target_types.py +101 -0
  197. rhodawk_bounty_hunter-2.0.0/tests/test_injection_hunt_sinks.py +80 -0
  198. rhodawk_bounty_hunter-2.0.0/tests/test_install_layout.py +209 -0
  199. rhodawk_bounty_hunter-2.0.0/tests/test_install_standalone.py +103 -0
  200. rhodawk_bounty_hunter-2.0.0/tests/test_intel_engine.py +191 -0
  201. rhodawk_bounty_hunter-2.0.0/tests/test_jwt_scanner.py +82 -0
  202. rhodawk_bounty_hunter-2.0.0/tests/test_lead_board.py +70 -0
  203. rhodawk_bounty_hunter-2.0.0/tests/test_llm_redteam.py +56 -0
  204. rhodawk_bounty_hunter-2.0.0/tests/test_mcp_rtw.py +156 -0
  205. rhodawk_bounty_hunter-2.0.0/tests/test_mcp_scope_audit.py +70 -0
  206. rhodawk_bounty_hunter-2.0.0/tests/test_memory_file_permissions.py +31 -0
  207. rhodawk_bounty_hunter-2.0.0/tests/test_memory_gc.py +153 -0
  208. rhodawk_bounty_hunter-2.0.0/tests/test_mindmap.py +141 -0
  209. rhodawk_bounty_hunter-2.0.0/tests/test_model_selection.py +78 -0
  210. rhodawk_bounty_hunter-2.0.0/tests/test_nosqli_scanner.py +52 -0
  211. rhodawk_bounty_hunter-2.0.0/tests/test_nvidia_nim.py +287 -0
  212. rhodawk_bounty_hunter-2.0.0/tests/test_oob_listener.py +54 -0
  213. rhodawk_bounty_hunter-2.0.0/tests/test_opencode_agent_frontmatter.py +47 -0
  214. rhodawk_bounty_hunter-2.0.0/tests/test_oracle.py +291 -0
  215. rhodawk_bounty_hunter-2.0.0/tests/test_path_traversal.py +92 -0
  216. rhodawk_bounty_hunter-2.0.0/tests/test_pattern_db.py +221 -0
  217. rhodawk_bounty_hunter-2.0.0/tests/test_plugin_manifest.py +91 -0
  218. rhodawk_bounty_hunter-2.0.0/tests/test_poc_bundler.py +279 -0
  219. rhodawk_bounty_hunter-2.0.0/tests/test_port_scanner.py +72 -0
  220. rhodawk_bounty_hunter-2.0.0/tests/test_prompt_injection_delimiting.py +153 -0
  221. rhodawk_bounty_hunter-2.0.0/tests/test_prompts_and_hooks.py +334 -0
  222. rhodawk_bounty_hunter-2.0.0/tests/test_recon_adapter.py +305 -0
  223. rhodawk_bounty_hunter-2.0.0/tests/test_recon_and_mcp_hardening.py +817 -0
  224. rhodawk_bounty_hunter-2.0.0/tests/test_recon_engine_rtw.py +828 -0
  225. rhodawk_bounty_hunter-2.0.0/tests/test_recon_fusion.py +598 -0
  226. rhodawk_bounty_hunter-2.0.0/tests/test_redaction.py +76 -0
  227. rhodawk_bounty_hunter-2.0.0/tests/test_research_learning.py +118 -0
  228. rhodawk_bounty_hunter-2.0.0/tests/test_rhodawk_mcp.py +90 -0
  229. rhodawk_bounty_hunter-2.0.0/tests/test_rotation.py +297 -0
  230. rhodawk_bounty_hunter-2.0.0/tests/test_rtw_capability.py +825 -0
  231. rhodawk_bounty_hunter-2.0.0/tests/test_safe_http_redirects.py +212 -0
  232. rhodawk_bounty_hunter-2.0.0/tests/test_safe_method_policy.py +92 -0
  233. rhodawk_bounty_hunter-2.0.0/tests/test_sast_scan.py +65 -0
  234. rhodawk_bounty_hunter-2.0.0/tests/test_schemas.py +155 -0
  235. rhodawk_bounty_hunter-2.0.0/tests/test_schemas_session_id.py +170 -0
  236. rhodawk_bounty_hunter-2.0.0/tests/test_scope_checker.py +267 -0
  237. rhodawk_bounty_hunter-2.0.0/tests/test_scope_compiler.py +795 -0
  238. rhodawk_bounty_hunter-2.0.0/tests/test_scope_enforcement_paths.py +287 -0
  239. rhodawk_bounty_hunter-2.0.0/tests/test_scope_hardening.py +350 -0
  240. rhodawk_bounty_hunter-2.0.0/tests/test_shell_injection_fixes.py +149 -0
  241. rhodawk_bounty_hunter-2.0.0/tests/test_shell_portability.py +83 -0
  242. rhodawk_bounty_hunter-2.0.0/tests/test_shell_test_suites.py +49 -0
  243. rhodawk_bounty_hunter-2.0.0/tests/test_sneaky_bits.py +155 -0
  244. rhodawk_bounty_hunter-2.0.0/tests/test_sprint2_scope_safety.py +638 -0
  245. rhodawk_bounty_hunter-2.0.0/tests/test_step3_hygiene.py +339 -0
  246. rhodawk_bounty_hunter-2.0.0/tests/test_target_normalize.py +107 -0
  247. rhodawk_bounty_hunter-2.0.0/tests/test_target_selector.py +300 -0
  248. rhodawk_bounty_hunter-2.0.0/tests/test_tls_verification_default.py +41 -0
  249. rhodawk_bounty_hunter-2.0.0/tests/test_token_scanner.py +595 -0
  250. rhodawk_bounty_hunter-2.0.0/tests/test_validation_handoff.py +129 -0
  251. rhodawk_bounty_hunter-2.0.0/tests/test_verifier.py +305 -0
  252. rhodawk_bounty_hunter-2.0.0/tests/test_visual_triage.py +49 -0
  253. rhodawk_bounty_hunter-2.0.0/tests/test_vuln_scanner_catchall_guards.py +148 -0
  254. rhodawk_bounty_hunter-2.0.0/tests/test_vuln_scanner_review_fixes.py +25 -0
  255. rhodawk_bounty_hunter-2.0.0/tests/test_wheel_cleanliness.py +106 -0
  256. rhodawk_bounty_hunter-2.0.0/tests/test_zendesk_idor_tool.py +17 -0
@@ -0,0 +1,141 @@
1
+ # Changelog
2
+
3
+ All notable changes to RhodawkAI Bounty Hunter are documented here.
4
+ Format: [Keep a Changelog](https://keepachangelog.com/en/1.1.0/); versioning: SemVer.
5
+
6
+ ## [Unreleased]
7
+
8
+ Release-audit Sprint 1 — P0 hardening (security review of the v2.0.0
9
+ standalone tree). All findings carry their audit IDs.
10
+
11
+ ### Fixed — runtime artifacts and wheel pollution (R-01)
12
+
13
+ - Output-home resolution no longer falls back to the install directory:
14
+ `engine._data_home()`, `hunt._bh_home()`, `rtw_adapter._default_recon_dir()`
15
+ and the memory modules resolve `$RHODAWK_HOME` → `~/.rhodawk` and never the
16
+ package directory. A plain `pytest` run (or a hunt from a git clone) used to
17
+ write `recon/`, `findings/`, `hunt-memory/` INTO the source tree.
18
+ - `tests/conftest.py` pins `RHODAWK_HOME`, `RECON_OUT_DIR` and `XDG_DATA_HOME`
19
+ into `tmp_path` for every test (autouse).
20
+ - Packaging: `MANIFEST.in` prunes runtime directories; the `**/*` package-data
21
+ wildcard is replaced by explicit data subtrees; new
22
+ `tests/test_wheel_cleanliness.py` + `tests/check_wheel_clean.py` gate (also
23
+ a CI step) asserts a built wheel contains zero runtime artifacts.
24
+
25
+ ### Fixed — dependencies (R-03)
26
+
27
+ - `requirements.txt` is runtime-only; `pytest` moved to the new
28
+ `requirements-dev.txt` (with `build`), and CI installs the dev set.
29
+
30
+ ### Fixed — release identity (R-02, R-10, R-24)
31
+
32
+ - Console entry points (`rhodawk`, `rhodawk-agent`) are regression-tested to
33
+ exist and resolve.
34
+ - Version parity test across pyproject / `__init__.py` / `plugin.json` /
35
+ npm `package.json` (all 2.0.0); SECURITY.md supported-versions table now
36
+ tracks 2.x.
37
+ - Issue templates no longer declare an organization login as assignee.
38
+
39
+ ### Fixed — TLS (R-04)
40
+
41
+ - `_spray_http_form.py` mirrors `_spray_oauth.py`: on missing certifi it
42
+ falls back to the verifying system-CA context instead of disabling
43
+ verification; it joins the TLS regression scan list.
44
+
45
+ ### Fixed — secret handling (R-08, R-09, R-14, L-10)
46
+
47
+ - `h1_run.sh`: `set -euo pipefail`; tokens come from `RHODAWK_H1_TOKEN_A/B`
48
+ env vars or a 0600 token file; curl auth headers go through 0600 temp files
49
+ (no token on argv); scanners read tokens from the environment; no token
50
+ material (not even prefixes) reaches stdout or the scan log; findings land
51
+ in the data home.
52
+ - `graphql_audit.sh` banner prints `cookie set` / `header set` / `(none)`
53
+ instead of the raw credential values.
54
+ - `credentials.write_env_file` and `google_oauth._save_json_secure` write
55
+ atomically via a 0600 temp file + `os.replace` — pre-existing loose files
56
+ can no longer hold fresh secrets, and the swallowed chmod failure is gone.
57
+ - Credential values containing CR/LF are rejected (newline could inject an
58
+ extra `KEY=` line into the .env vault).
59
+
60
+ ### Fixed — shell/python injection (R-15)
61
+
62
+ - All seven `python3 -c` call sites that interpolated shell variables into
63
+ the Python source (secrets_hunter, takeover_scanner, cve_scan,
64
+ param_discovery, osint_employees, full_hunt ×2, vuln_scanner) now pass
65
+ values as `sys.argv` arguments; a regression gate bans the pattern.
66
+
67
+ ### Fixed — paths and wiring (R-12, R-13)
68
+
69
+ - `.claude/settings.json` Stop hook and every doc/docstring referencing
70
+ `python3 -m tools.…` now use `python3 -m rhodawk.tools.…` (the old module
71
+ path stopped resolving after the package rename).
72
+ - `install_tools.sh --with-cicd-scanner` and `tests/test_cicd_scanner.sh`
73
+ point at `rhodawk/tools/cicd_scanner.sh` (the path they referenced never
74
+ existed in this repo); the shell suite is wired into pytest via
75
+ `tests/test_shell_test_suites.py` so it runs in CI.
76
+
77
+ ## [2.0.0] — 2026-11-25
78
+
79
+ Initial **standalone** release of **RhodawkAI Bounty Hunter** — the first
80
+ version published as its own product (`rhodawk-bounty-hunter`), with its own
81
+ package identities, its own data home, and zero upstream sponsor wiring.
82
+
83
+ ### Added
84
+
85
+ - **MIT attribution layer** — root and `npm/` `NOTICE` files crediting the
86
+ upstream framework; LICENSE carries both copyright lines.
87
+ - **Environment compat shim** — `rhodawk/_compat.py` with `get_env()`:
88
+ `RHODAWK_*` variables are read first, pre-2.0 spellings are honored with a
89
+ one-line stderr deprecation notice; `ensure_home_migrated()` performs the
90
+ one-time migration of the pre-2.0 data home to `~/.rhodawk` (chmod
91
+ `0700`/`0600` re-enforced after the move). `install.sh` performs the same
92
+ migration in shell form.
93
+ - **Go module identity** — `go.mod` pins
94
+ `github.com/Rhodawk-AI/rhodawk-bounty-hunter` for GitHub's dependency graph.
95
+
96
+ ### Changed
97
+
98
+ - **Package identities** — PyPI `rhodawk-bounty-hunter` v2.0.0
99
+ (console scripts `rhodawk` / `rhodawk-agent`), npm `@rhodawk-ai/bounty-hunter`
100
+ v2.0.0 (single `rhodawk` bin), Claude plugin `rhodawk-bounty-hunter` v2.0.0.
101
+ - **Python package layout** — the legacy package directory moved to `rhodawk/`;
102
+ the MCP server directory and its config key moved to the rhodawk namespace;
103
+ all 29 MCP tool functions and the policy allowlist keys now carry the
104
+ `rhodawk_*` prefix; PreToolUse matchers and the hook command path were
105
+ updated atomically with the server key (`rhodawk`).
106
+ - **Environment variable families collapsed** — every pre-2.0 variable family
107
+ (the long package-prefix family and the short BB-derived families) unified
108
+ into `RHODAWK_*` across Python and Bash; shell helper prefixes moved to the
109
+ `_rhodawk_*` form; the demo-lab quiet flag renamed to `DEMO_LAB_QUIET`.
110
+ - **Data home** — the pre-2.0 data home moved to `~/.rhodawk/` everywhere
111
+ (vault, config, capabilities, OAuth, audit, workspace), with automatic
112
+ one-time migration.
113
+ - **Demo lab rebrand** — the local vulnerable demo target is now
114
+ `demo-lab.rhodawkai.test` (was a personal-domain lookalike) across
115
+ `demo/`, `rhodawk/serve.py`, docs, benchmarks, and issue templates.
116
+ - **Visual identity** — block-letter banners regenerated with the rhodawk
117
+ wordmark (`rhodawk/tools/banner.py`, `banner.sh`, engine startup banner);
118
+ tag line set to `rhodawkai.com · github.com/Rhodawk-AI/rhodawk-bounty-hunter`.
119
+ - **Project site** — upstream Product Hunt widget and `.fun` domain removed;
120
+ clone/install commands and footer updated to the new repository.
121
+ - **CI** — `.github/workflows/ci.yml` cleaned: script paths fixed and stale
122
+ comments referencing the retired `docs/` workflow template removed;
123
+ `docs/workflow-ci.yml` deleted (single source of truth in `.github/`).
124
+
125
+ ### Removed
126
+
127
+ - **Sponsor-gateway LLM provider** — the third-party multi-model gateway that
128
+ shipped in pre-2.0 releases was removed end to end: provider branch, env
129
+ mapping, setup-menu entry, model catalog, config example entry, and its
130
+ tests. The supported provider set is unchanged otherwise.
131
+ - **Dead weight** — `BUILD-MANIFEST.txt`, the eight upstream phase-validation
132
+ dev diaries (`docs/phase1-…` – `docs/phase10-…`), the duplicate docs
133
+ workflow template, and upstream sponsor/funding artwork references.
134
+
135
+ ### Security
136
+
137
+ - No change to the core guarantees: `chmod 600 ~/.rhodawk/.env` credential
138
+ vault, paginated SHA-256-verified `CompiledScopeManifest`, pre-probe dnsx
139
+ 3rd-party SaaS CNAME quarantine, fail-closed `ScopeChecker`, deterministic
140
+ `PreToolUse` scope hooks, and `<untrusted_target_data>` isolation all remain
141
+ in force and are covered by the test suite (1,482 tests green at release).
@@ -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.
@@ -0,0 +1,20 @@
1
+ recursive-include rhodawk *
2
+ # Runtime output directories (release audit R-01): a pytest run or a hunt
3
+ # launched from a git clone used to write recon/findings/etc. into the source
4
+ # tree; pruning them here keeps both the sdist and the wheel clean even when
5
+ # the tree was used before packaging. tests/test_wheel_cleanliness.py is the
6
+ # hard gate.
7
+ prune rhodawk/recon
8
+ prune rhodawk/findings
9
+ prune rhodawk/reports
10
+ prune rhodawk/targets
11
+ prune rhodawk/hunt-memory
12
+ prune rhodawk/memory/leads
13
+ prune recon
14
+ prune findings
15
+ prune reports
16
+ prune targets
17
+ prune hunt-memory
18
+ global-exclude __pycache__/*
19
+ global-exclude *.pyc
20
+ include README.md LICENSE NOTICE CHANGELOG.md requirements.txt
@@ -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.
@@ -0,0 +1,214 @@
1
+ Metadata-Version: 2.4
2
+ Name: rhodawk-bounty-hunter
3
+ Version: 2.0.0
4
+ Summary: RhodawkAI Bounty Hunter — AI-powered bug bounty hunting, recon to report, in your terminal.
5
+ Author: RhodawkAI
6
+ License-Expression: MIT
7
+ Project-URL: Homepage, https://github.com/Rhodawk-AI/rhodawk-bounty-hunter
8
+ Project-URL: Repository, https://github.com/Rhodawk-AI/rhodawk-bounty-hunter
9
+ Project-URL: Issues, https://github.com/Rhodawk-AI/rhodawk-bounty-hunter/issues
10
+ Keywords: security,bug-bounty,recon,pentest,ai-agent,mcp,rhodawkai
11
+ Classifier: Programming Language :: Python :: 3
12
+ Classifier: Programming Language :: Python :: 3.10
13
+ Classifier: Operating System :: POSIX
14
+ Classifier: Environment :: Console
15
+ Classifier: Topic :: Security
16
+ Classifier: Intended Audience :: Developers
17
+ Requires-Python: >=3.10
18
+ Description-Content-Type: text/markdown
19
+ License-File: LICENSE
20
+ License-File: NOTICE
21
+ Requires-Dist: requests>=2.34.2
22
+ Requires-Dist: mcp>=2.2.0
23
+ Provides-Extra: test
24
+ Requires-Dist: pytest>=8.4.2; extra == "test"
25
+ Dynamic: license-file
26
+
27
+ <div align="center">
28
+
29
+ <img src="assets/rhodawk-banner.png" alt="RhodawkAI Bounty Hunter" width="100%"/>
30
+
31
+ **AI-powered bug bounty hunting — recon to report, in your terminal.**
32
+ Fail-closed, CDN-aware, deterministic. Zero closed-model lock-in.
33
+
34
+ [![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)
35
+ [![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/)
36
+ [![npm](https://img.shields.io/npm/v/@rhodawk-ai/bounty-hunter?style=for-the-badge&logo=npm&logoColor=white&color=CB3837)](https://www.npmjs.com/package/@rhodawk-ai/bounty-hunter)
37
+ [![Python 3.10+](https://img.shields.io/badge/Python-3.10%2B-3776AB?style=for-the-badge&logo=python&logoColor=white)](pyproject.toml)
38
+ [![License: MIT](https://img.shields.io/badge/License-MIT-22C55E?style=for-the-badge&logo=opensourceinitiative&logoColor=white)](LICENSE)
39
+
40
+ <p align="center">
41
+ <a href="./PLAYBOOK.md">🚀 5-Min Operator Playbook</a> •
42
+ <a href="./BENCHMARKS.md">📊 Live Benchmarks</a> •
43
+ <a href="./FAQ.md">FAQ</a> •
44
+ <a href="./NOTICE">Attribution</a> •
45
+ <a href="./LICENSE">MIT License</a>
46
+ </p>
47
+
48
+ **[Demo](#-live-demo) · [Security Architecture](#-security-architecture) · [Install](#-install) · [Quick Start](#-quick-start-5-commands) · [CLI & MCP](#-cli-reference) · [AI Providers](#-open-weight--multi-provider-ai) · [reconFTW Delegation](#-deterministic-reconftw-delegation) · [Credits](#️-credits--attribution)**
49
+
50
+ </div>
51
+
52
+ ---
53
+
54
+ ## 🎬 Live Demo
55
+
56
+ <p align="center">
57
+ <img src="assets/rhodawk-demo.gif" alt="RhodawkAI Bounty Hunter live terminal demo" width="100%"/>
58
+ </p>
59
+
60
+ <p align="center">
61
+ <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> + AI <code>recon_brief.md</code>.</em>
62
+ </p>
63
+
64
+ ## 🛡️ What Is This?
65
+
66
+ `rhodawk` is a terminal-first bug bounty agent for **HackerOne, Bugcrowd,
67
+ Intigriti, and Immunefi** programs. It fuses a deterministic recon pipeline
68
+ (subdomain enumeration, live-host probing, URL collection, port and parameter
69
+ discovery) with an LLM brain that runs fully local (Ollama) or against any
70
+ OpenAI-compatible provider. Every stage is gated:
71
+
72
+ - **Scope first, always.** Active stages refuse to start without a hash-verified
73
+ scope manifest; out-of-scope targets abort with **zero packets sent to them**.
74
+ - **Deterministic delegation.** Capability gaps are filled by reconFTW through a
75
+ fixed, code-level routing table — never an LLM judgment call.
76
+ - **Clean-room verification.** Findings are promoted only through a 7-question
77
+ validation gate with provenance-tracked evidence.
78
+
79
+ ## 🔐 Security Architecture
80
+
81
+ | Layer | Mechanism |
82
+ |---|---|
83
+ | **Credential vault** | `chmod 600 ~/.rhodawk/.env` multi-platform vault (directory `0700`) with one-time automatic migration from the pre-2.0 data home |
84
+ | **Scope authority** | Paginated, SHA-256-verified `CompiledScopeManifest` (`recon/<handle>/scope/compiled_scope.json`) — tampered manifest = hard block |
85
+ | **CDN quarantine** | Pre-probe dnsx 3rd-party SaaS CNAME quarantine drops `*.zendesk.com`-style edge hosts before any packet leaves |
86
+ | **Scope checker** | Fail-closed `ScopeChecker` — `exit 3` in the recon engines, `SCOPE_REQUIRED` in MCP |
87
+ | **Tool-call hooks** | Deterministic `PreToolUse` scope hooks (`SCOPE_HOOK_BLOCK`) wired through `hooks/hooks.json` |
88
+ | **Data-plane isolation** | All target HTTP/content is wrapped in `<untrusted_target_data>` — never treated as instructions |
89
+
90
+ ![Architecture](assets/architecture.png)
91
+
92
+ ## 🚀 Install
93
+
94
+ **PyPI (recommended):**
95
+
96
+ ```bash
97
+ pipx install rhodawk-bounty-hunter
98
+ # or
99
+ uv tool install rhodawk-bounty-hunter
100
+ ```
101
+
102
+ **npm (CLI wrapper around the PyPI package):**
103
+
104
+ ```bash
105
+ npm install -g @rhodawk-ai/bounty-hunter
106
+ # verify the toolchain directly:
107
+ npx @rhodawk-ai/bounty-hunter doctor
108
+ ```
109
+
110
+ **From source:**
111
+
112
+ ```bash
113
+ git clone https://github.com/Rhodawk-AI/rhodawk-bounty-hunter.git
114
+ cd rhodawk-bounty-hunter
115
+ ./install.sh --agent standalone
116
+ ```
117
+
118
+ ## ⚡ Quick Start (5 Commands)
119
+
120
+ ```bash
121
+ # 1. Install the external arsenal + the managed Chromium (katana SPA crawling)
122
+ ./install_tools.sh
123
+
124
+ # 2. Verify everything in <5 seconds
125
+ rhodawk doctor
126
+
127
+ # 3. Compile the authoritative scope manifest for a program
128
+ rhodawk scope-compile <program-handle>
129
+
130
+ # 4. Run live, CDN-aware recon
131
+ rhodawk recon <target>
132
+
133
+ # 5. Hunt, validate, report
134
+ rhodawk hunt <target> && rhodawk validate && rhodawk report
135
+ ```
136
+
137
+ ## 💻 CLI Reference
138
+
139
+ | Command | What it does |
140
+ |---|---|
141
+ | `rhodawk setup` | Persist provider/model to `~/.rhodawk/config.json` |
142
+ | `rhodawk doctor` | Fast environment diagnostic — PASS/WARN/FAIL + 1-line fixes |
143
+ | `rhodawk scope-compile <handle>` | Compile the authoritative SHA-256 scope manifest |
144
+ | `rhodawk recon <target>` | Scoped recon + AI surface analysis |
145
+ | `rhodawk hunt <target>` | Full hunt pipeline (recon → hypothesis → clean-room verify) |
146
+ | `rhodawk validate` | 7-Question Gate on a finding |
147
+ | `rhodawk triage` | Fast triage (alias of validate) |
148
+ | `rhodawk report` | Write a submission-ready bug report |
149
+ | `rhodawk mcp` | MCP server / doctor / tool catalog |
150
+ | `rhodawk providers` · `models` · `status` · `chat` | Provider and session tooling |
151
+
152
+ **Agent slash commands** (Claude Code / OpenCode — 43 shipped; the core six):
153
+ `/scope` · `/scope-aggregate` · `/recon` · `/hunt` · `/validate` · `/report`
154
+
155
+ ## 🤝 MCP — Drive RhodawkAI from Any Agent
156
+
157
+ The bundled `rhodawk-mcp` server exposes the whole engine as typed MCP tools
158
+ (`rhodawk_recon`, `rhodawk_hunt`, `rhodawk_compile_scope`, `rhodawk_validate`,
159
+ …) with per-tool security metadata, approval levels, and server-side policy
160
+ inputs. Every active tool requires a scope source and `approve=true`; read-only
161
+ tools never touch the target. Wire it in one line:
162
+
163
+ ```bash
164
+ claude mcp add rhodawk -- rhodawk mcp serve
165
+ ```
166
+
167
+ ## 🧠 Open-Weight & Multi-Provider AI
168
+
169
+ - **Ollama** — 100% free, fully offline
170
+ - **NVIDIA NIM** — open weights, hosted
171
+ - **Groq · DeepSeek · Cerebras · Mistral · Gemini · Claude · OpenAI · Grok · OpenRouter · OrcaRouter · LiteLLM · Requesty** — auto-detected, free-first
172
+
173
+ ```bash
174
+ rhodawk setup # pick a provider, paste a key, choose a model
175
+ ```
176
+
177
+ ## 🔧 Deterministic reconFTW Delegation
178
+
179
+ Wherever the native pipeline hits a capability gap, a typed registry
180
+ (`rhodawk/tools/capability_registry.py`) routes the work to reconFTW through a
181
+ fixed six-step flow: typed capability ID → native-parity guard → 7-day-TTL dedup
182
+ → availability check → fail-closed scope gate → single-function reconFTW call in
183
+ an isolated workdir. The 7 verified gap map covers ASN/CIDR enumeration, DNS
184
+ permutation, CDN/origin isolation, JS source-map secrets, virtual-host
185
+ discovery, TLS IP pivots, and favicon fingerprinting. Vulnerability scanning is
186
+ never delegated — the verifier spine stays local.
187
+
188
+ ## 📊 Benchmarks
189
+
190
+ Timed, per-domain, honestly annotated — RhodawkAI Bounty Hunter vs the upstream
191
+ baseline vs standalone reconFTW: see [BENCHMARKS.md](BENCHMARKS.md) and
192
+ [.github/benchmarks.md](.github/benchmarks.md).
193
+
194
+ ## 📁 Project Structure
195
+
196
+ ```
197
+ rhodawk/ the Python package (engine, brain, MCP, tools, prompts)
198
+ commands/ 43 agent slash commands
199
+ skills/ 25 methodology + toolkit skills
200
+ hooks/hooks.json PreToolUse deterministic scope hooks
201
+ demo/ local vulnerable demo lab (demo-lab.rhodawkai.test)
202
+ docs/ deep-dive documentation
203
+ site/ project landing page
204
+ ```
205
+
206
+ ## ❤️ Credits & Attribution
207
+
208
+ RhodawkAI Bounty Hunter is a standalone edition built on an MIT-licensed
209
+ upstream framework. Upstream attribution is preserved in [NOTICE](NOTICE) —
210
+ please keep it intact in redistributions.
211
+
212
+ ## License
213
+
214
+ MIT — see [LICENSE](LICENSE). Hunt only what you are authorized to hunt.
@@ -0,0 +1,188 @@
1
+ <div align="center">
2
+
3
+ <img src="assets/rhodawk-banner.png" alt="RhodawkAI Bounty Hunter" width="100%"/>
4
+
5
+ **AI-powered bug bounty hunting — recon to report, in your terminal.**
6
+ Fail-closed, CDN-aware, deterministic. Zero closed-model lock-in.
7
+
8
+ [![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)
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
+ [![npm](https://img.shields.io/npm/v/@rhodawk-ai/bounty-hunter?style=for-the-badge&logo=npm&logoColor=white&color=CB3837)](https://www.npmjs.com/package/@rhodawk-ai/bounty-hunter)
11
+ [![Python 3.10+](https://img.shields.io/badge/Python-3.10%2B-3776AB?style=for-the-badge&logo=python&logoColor=white)](pyproject.toml)
12
+ [![License: MIT](https://img.shields.io/badge/License-MIT-22C55E?style=for-the-badge&logo=opensourceinitiative&logoColor=white)](LICENSE)
13
+
14
+ <p align="center">
15
+ <a href="./PLAYBOOK.md">🚀 5-Min Operator Playbook</a> •
16
+ <a href="./BENCHMARKS.md">📊 Live Benchmarks</a> •
17
+ <a href="./FAQ.md">FAQ</a> •
18
+ <a href="./NOTICE">Attribution</a> •
19
+ <a href="./LICENSE">MIT License</a>
20
+ </p>
21
+
22
+ **[Demo](#-live-demo) · [Security Architecture](#-security-architecture) · [Install](#-install) · [Quick Start](#-quick-start-5-commands) · [CLI & MCP](#-cli-reference) · [AI Providers](#-open-weight--multi-provider-ai) · [reconFTW Delegation](#-deterministic-reconftw-delegation) · [Credits](#️-credits--attribution)**
23
+
24
+ </div>
25
+
26
+ ---
27
+
28
+ ## 🎬 Live Demo
29
+
30
+ <p align="center">
31
+ <img src="assets/rhodawk-demo.gif" alt="RhodawkAI Bounty Hunter live terminal demo" width="100%"/>
32
+ </p>
33
+
34
+ <p align="center">
35
+ <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> + AI <code>recon_brief.md</code>.</em>
36
+ </p>
37
+
38
+ ## 🛡️ What Is This?
39
+
40
+ `rhodawk` is a terminal-first bug bounty agent for **HackerOne, Bugcrowd,
41
+ Intigriti, and Immunefi** programs. It fuses a deterministic recon pipeline
42
+ (subdomain enumeration, live-host probing, URL collection, port and parameter
43
+ discovery) with an LLM brain that runs fully local (Ollama) or against any
44
+ OpenAI-compatible provider. Every stage is gated:
45
+
46
+ - **Scope first, always.** Active stages refuse to start without a hash-verified
47
+ scope manifest; out-of-scope targets abort with **zero packets sent to them**.
48
+ - **Deterministic delegation.** Capability gaps are filled by reconFTW through a
49
+ fixed, code-level routing table — never an LLM judgment call.
50
+ - **Clean-room verification.** Findings are promoted only through a 7-question
51
+ validation gate with provenance-tracked evidence.
52
+
53
+ ## 🔐 Security Architecture
54
+
55
+ | Layer | Mechanism |
56
+ |---|---|
57
+ | **Credential vault** | `chmod 600 ~/.rhodawk/.env` multi-platform vault (directory `0700`) with one-time automatic migration from the pre-2.0 data home |
58
+ | **Scope authority** | Paginated, SHA-256-verified `CompiledScopeManifest` (`recon/<handle>/scope/compiled_scope.json`) — tampered manifest = hard block |
59
+ | **CDN quarantine** | Pre-probe dnsx 3rd-party SaaS CNAME quarantine drops `*.zendesk.com`-style edge hosts before any packet leaves |
60
+ | **Scope checker** | Fail-closed `ScopeChecker` — `exit 3` in the recon engines, `SCOPE_REQUIRED` in MCP |
61
+ | **Tool-call hooks** | Deterministic `PreToolUse` scope hooks (`SCOPE_HOOK_BLOCK`) wired through `hooks/hooks.json` |
62
+ | **Data-plane isolation** | All target HTTP/content is wrapped in `<untrusted_target_data>` — never treated as instructions |
63
+
64
+ ![Architecture](assets/architecture.png)
65
+
66
+ ## 🚀 Install
67
+
68
+ **PyPI (recommended):**
69
+
70
+ ```bash
71
+ pipx install rhodawk-bounty-hunter
72
+ # or
73
+ uv tool install rhodawk-bounty-hunter
74
+ ```
75
+
76
+ **npm (CLI wrapper around the PyPI package):**
77
+
78
+ ```bash
79
+ npm install -g @rhodawk-ai/bounty-hunter
80
+ # verify the toolchain directly:
81
+ npx @rhodawk-ai/bounty-hunter doctor
82
+ ```
83
+
84
+ **From source:**
85
+
86
+ ```bash
87
+ git clone https://github.com/Rhodawk-AI/rhodawk-bounty-hunter.git
88
+ cd rhodawk-bounty-hunter
89
+ ./install.sh --agent standalone
90
+ ```
91
+
92
+ ## ⚡ Quick Start (5 Commands)
93
+
94
+ ```bash
95
+ # 1. Install the external arsenal + the managed Chromium (katana SPA crawling)
96
+ ./install_tools.sh
97
+
98
+ # 2. Verify everything in <5 seconds
99
+ rhodawk doctor
100
+
101
+ # 3. Compile the authoritative scope manifest for a program
102
+ rhodawk scope-compile <program-handle>
103
+
104
+ # 4. Run live, CDN-aware recon
105
+ rhodawk recon <target>
106
+
107
+ # 5. Hunt, validate, report
108
+ rhodawk hunt <target> && rhodawk validate && rhodawk report
109
+ ```
110
+
111
+ ## 💻 CLI Reference
112
+
113
+ | Command | What it does |
114
+ |---|---|
115
+ | `rhodawk setup` | Persist provider/model to `~/.rhodawk/config.json` |
116
+ | `rhodawk doctor` | Fast environment diagnostic — PASS/WARN/FAIL + 1-line fixes |
117
+ | `rhodawk scope-compile <handle>` | Compile the authoritative SHA-256 scope manifest |
118
+ | `rhodawk recon <target>` | Scoped recon + AI surface analysis |
119
+ | `rhodawk hunt <target>` | Full hunt pipeline (recon → hypothesis → clean-room verify) |
120
+ | `rhodawk validate` | 7-Question Gate on a finding |
121
+ | `rhodawk triage` | Fast triage (alias of validate) |
122
+ | `rhodawk report` | Write a submission-ready bug report |
123
+ | `rhodawk mcp` | MCP server / doctor / tool catalog |
124
+ | `rhodawk providers` · `models` · `status` · `chat` | Provider and session tooling |
125
+
126
+ **Agent slash commands** (Claude Code / OpenCode — 43 shipped; the core six):
127
+ `/scope` · `/scope-aggregate` · `/recon` · `/hunt` · `/validate` · `/report`
128
+
129
+ ## 🤝 MCP — Drive RhodawkAI from Any Agent
130
+
131
+ The bundled `rhodawk-mcp` server exposes the whole engine as typed MCP tools
132
+ (`rhodawk_recon`, `rhodawk_hunt`, `rhodawk_compile_scope`, `rhodawk_validate`,
133
+ …) with per-tool security metadata, approval levels, and server-side policy
134
+ inputs. Every active tool requires a scope source and `approve=true`; read-only
135
+ tools never touch the target. Wire it in one line:
136
+
137
+ ```bash
138
+ claude mcp add rhodawk -- rhodawk mcp serve
139
+ ```
140
+
141
+ ## 🧠 Open-Weight & Multi-Provider AI
142
+
143
+ - **Ollama** — 100% free, fully offline
144
+ - **NVIDIA NIM** — open weights, hosted
145
+ - **Groq · DeepSeek · Cerebras · Mistral · Gemini · Claude · OpenAI · Grok · OpenRouter · OrcaRouter · LiteLLM · Requesty** — auto-detected, free-first
146
+
147
+ ```bash
148
+ rhodawk setup # pick a provider, paste a key, choose a model
149
+ ```
150
+
151
+ ## 🔧 Deterministic reconFTW Delegation
152
+
153
+ Wherever the native pipeline hits a capability gap, a typed registry
154
+ (`rhodawk/tools/capability_registry.py`) routes the work to reconFTW through a
155
+ fixed six-step flow: typed capability ID → native-parity guard → 7-day-TTL dedup
156
+ → availability check → fail-closed scope gate → single-function reconFTW call in
157
+ an isolated workdir. The 7 verified gap map covers ASN/CIDR enumeration, DNS
158
+ permutation, CDN/origin isolation, JS source-map secrets, virtual-host
159
+ discovery, TLS IP pivots, and favicon fingerprinting. Vulnerability scanning is
160
+ never delegated — the verifier spine stays local.
161
+
162
+ ## 📊 Benchmarks
163
+
164
+ Timed, per-domain, honestly annotated — RhodawkAI Bounty Hunter vs the upstream
165
+ baseline vs standalone reconFTW: see [BENCHMARKS.md](BENCHMARKS.md) and
166
+ [.github/benchmarks.md](.github/benchmarks.md).
167
+
168
+ ## 📁 Project Structure
169
+
170
+ ```
171
+ rhodawk/ the Python package (engine, brain, MCP, tools, prompts)
172
+ commands/ 43 agent slash commands
173
+ skills/ 25 methodology + toolkit skills
174
+ hooks/hooks.json PreToolUse deterministic scope hooks
175
+ demo/ local vulnerable demo lab (demo-lab.rhodawkai.test)
176
+ docs/ deep-dive documentation
177
+ site/ project landing page
178
+ ```
179
+
180
+ ## ❤️ Credits & Attribution
181
+
182
+ RhodawkAI Bounty Hunter is a standalone edition built on an MIT-licensed
183
+ upstream framework. Upstream attribution is preserved in [NOTICE](NOTICE) —
184
+ please keep it intact in redistributions.
185
+
186
+ ## License
187
+
188
+ MIT — see [LICENSE](LICENSE). Hunt only what you are authorized to hunt.
@@ -0,0 +1,62 @@
1
+ [build-system]
2
+ requires = ["setuptools>=64", "wheel"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "rhodawk-bounty-hunter"
7
+ version = "2.0.0"
8
+ description = "RhodawkAI Bounty Hunter — AI-powered bug bounty hunting, recon to report, in your terminal."
9
+ readme = "README.md"
10
+ requires-python = ">=3.10"
11
+ license = "MIT"
12
+ authors = [{ name = "RhodawkAI" }]
13
+ keywords = ["security", "bug-bounty", "recon", "pentest", "ai-agent", "mcp", "rhodawkai"]
14
+ classifiers = [
15
+ "Programming Language :: Python :: 3",
16
+ "Programming Language :: Python :: 3.10",
17
+ "Operating System :: POSIX",
18
+ "Environment :: Console",
19
+ "Topic :: Security",
20
+ "Intended Audience :: Developers",
21
+ ]
22
+ dependencies = [
23
+ "requests>=2.34.2",
24
+ "mcp>=2.2.0",
25
+ ]
26
+
27
+ [project.optional-dependencies]
28
+ test = ["pytest>=8.4.2"]
29
+
30
+ [project.urls]
31
+ Homepage = "https://github.com/Rhodawk-AI/rhodawk-bounty-hunter"
32
+ Repository = "https://github.com/Rhodawk-AI/rhodawk-bounty-hunter"
33
+ Issues = "https://github.com/Rhodawk-AI/rhodawk-bounty-hunter/issues"
34
+
35
+ [project.scripts]
36
+ rhodawk = "rhodawk.__main__:main"
37
+ rhodawk-agent = "rhodawk.__main__:agent_main"
38
+
39
+ [tool.setuptools]
40
+ include-package-data = true
41
+
42
+ [tool.setuptools.packages.find]
43
+ where = ["."]
44
+ include = ["rhodawk*"]
45
+
46
+ # Explicit package data (release audit R-01): the previous "**/*" wildcard
47
+ # pulled in ANY file present in rhodawk/ at build time — including runtime
48
+ # output (recon/, findings/, ...) that a test run or hunt left in the source
49
+ # tree. Ship only the read-only data the package actually contains; MANIFEST.in
50
+ # prunes the runtime directories as a second layer, and
51
+ # tests/test_wheel_cleanliness.py is the hard gate.
52
+ [tool.setuptools.package-data]
53
+ rhodawk = [
54
+ "wordlists/*",
55
+ "prompts/*",
56
+ "agents/*",
57
+ "mcp/**/*",
58
+ "memory/README.md",
59
+ "tools/*.sh",
60
+ "tools/*.js",
61
+ "tools/*.md",
62
+ ]
@@ -0,0 +1,2 @@
1
+ requests>=2.34.2
2
+ mcp>=2.2.0
@@ -0,0 +1,8 @@
1
+ """RhodawkAI Bounty Hunter — packaged distribution.
2
+
3
+ The modules inside this package (agent, brain, engine, serve, tools.*) were
4
+ written to run from a directory on sys.path. The console-script launchers in
5
+ __main__ put this package directory on sys.path before dispatching, so those
6
+ flat imports keep resolving after a pip install.
7
+ """
8
+ __version__ = "2.0.0"