Skip to main content
Glama

bounty-any-issue

Query live GitHub open USD-bounty issues, rank them by expected hourly value (EV = payout_usd * win_prob / est_hours), generate structured root-cause dossiers, and issue SHA-256 diff verification receipts before opening a PR.

  • Zero runtime dependencies — pure Python 3 standard library only (urllib, re, json, hashlib, ipaddress).

  • Expected-value ranker — parses exact USD payouts (💎 $1,500, /bounty 750, [$300], USD 400), penalizes crowded/competing PR threads, rewards reproducible stack traces & named source files, and ranks strictly by $/hr.

  • Root-cause dossier engine — extracts implicated source files, exception types, symbols, and repro commands into a structured JSON + Markdown dossier with a ready-to-paste PR template.

  • Diff verification receipts (BountyProofReceipt/1.0) — checks unified diff hunk arithmetic, blocks leaked credentials/private keys, flags unsafe debug/shell patterns, and signs a canonical SHA-256 receipt.

  • Standalone + cloud integrated — runs locally against GitHub REST API or offline fixtures, and integrates with solvebounty.fastmesh.dev.

Quickstart

git clone https://github.com/pjrpjr/bounty-any-issue.git
cd bounty-any-issue

# Verify installation offline
python3 bounty_any_issue.py --self-check

# Scan live GitHub open USD bounties ranked by EV ($/hr)
python3 bounty_any_issue.py scan --lang python --min-usd 150 --limit 10

# Run 100% offline with built-in benchmark dataset
python3 bounty_any_issue.py scan --offline

# Generate a root-cause dossier for a GitHub issue (or offline fixture demo-101)
python3 bounty_any_issue.py dossier demo-101 --offline -o ./dossier-101

# Verify a git patch before opening a PR (validates hunks + secret scan + SHA-256 receipt)
git diff | python3 bounty_any_issue.py verify-diff - --issue https://github.com/owner/repo/issues/42

Related MCP server: Orcorus Repository Scanner

MCP Client Configuration (Claude Desktop / Cursor / Windsurf)

{
  "mcpServers": {
    "bounty-any-issue": {
      "command": "python3",
      "args": ["/path/to/bounty-any-issue/bounty_any_issue.py", "--stdio"],
      "env": {
        "GITHUB_TOKEN": "",
        "FASTMESH_API_KEY": ""
      }
    }
  }
}

Exposed MCP Tools

  • scan_github_bounties — Query open USD bounties and rank by EV = payout_usd * win_prob / est_hours.

  • build_root_cause_dossier — Build a structured root-cause dossier, patch plan, and PR template for any issue.

  • verify_patch_diff — Validate unified diff syntax/hunk counts, scan added lines for secrets, and output a SHA-256 BountyProofReceipt.

Hosted Cloud Bounty Desk & FastMesh Prepaid Wallets

Accelerate bounty scanning, automated dossier generation, and 40+ verified-outcome developer tools ($0 charge on empty/miss results):

Development & Tests

python3 -m unittest discover -s tests -v

License

MIT — see LICENSE.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Enables AI coding agents to scan smart contracts and code for vulnerabilities, check against 12 famous-hack patterns, and return public security receipts directly in the IDE.
      4
      21 npm
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Enables AI agents to find and query real-time GitHub coding bounties with built-in scam filtering, supporting listing, matching, and detailed bounty retrieval.
      4
      49 npm
      Apache 2.0
    • F
      license
      Not graded
      quality
      C
      maintenance
      Enables AI agents to scan for verified, uncontested GitHub bounty issues and audit specific issue URLs before writing code, filtering out honeypots and competition.
      -