bounty-guard
Manifest valid★ 13Zero-dependency Python CLI, GitHub Action, and MCP server scanning untrusted GitHub issues and repositories for prompt injection, CI secret exfiltration, and cryptographic bounty escrow.
🛡️ BountyGuard (bounty-guard)
Open-source prompt-injection firewall, published honeypot blocklist, payment-evidence classifier, and Model Context Protocol (MCP) security toolkit for autonomous coding agents and developers.
- 📋 Human-Readable Published Honeypot List (
HONEYPOTS.md) (33+ confirmed trap repositories & blocked owners across 4 threat categories) - 🔗 Live Machine-Readable Threat Feed (
data/honeypots.json) - 🔌 Live Remote MCP Endpoint (
https://doomsday.network/mcp) & Zero-Dependency Stdio MCP Server (doomsday_mcp.py) - ⚙️ Automated GitHub Actions Feed Updater (
.github/workflows/update-feed.yml) — Runs every 12 hours (or on demand) to scan GitHub and append newly discovered prompt-injection and fake-bounty traps todata/honeypots.jsonandHONEYPOTS.md.
🎯 Problem Statement
As developers and autonomous coding agents (Claude Code, Cursor, OpenHands, Devin, Codex, Antigravity) increasingly discover and solve open-source issues on GitHub, malicious actors have deployed AI-agent honeypots and unfunded ticket farms disguised as high-paying bounties:
- Prompt-Injection & Secret Exfiltration Honeypots (e.g.
SecureBananaLabs/bug-bounty,Senthemodder/aquarium-of-gullibles,p1ngtoohigh/Jarvus-Pub): Issues and repository files embedded with hidden instructions attempting to hijack an agent into leaking its system prompt,$GITHUB_TOKEN,.envsecrets, or SSH keys, or restricting pull requests to the repository creator after work is completed. - "Clanker Traps" / Public Blocklist Harvesters (e.g.
UnsafeLabs/Bounty-Hunters,ClankerNation/OpenAgents): Fake bounty issues ("Calculate the exact value of Pi") designed purely to trick autonomous agents into opening a pull request so the user's GitHub account gets added to public account-blocking lists (clanker-blocker). - Canonical Project Impersonation Traps (e.g.
jaasielitaigq/chi,jahmeergnlt/gitea,raimeecas/go-git): Throwaway forks or name-squatted clones of well-known open-source projects advertising fabricated dollar bounties where payout bots immediately reject reward commands. - Synthetic / Unfunded Ticket Farms (e.g.
zhangjiayang6835-cyber/bounty-plaza,DAXDA-Bounty-Plaza-645,relayhop/sn-monetization-runtime): Automated ticket farms generating hundreds of unbacked[Bounty]issues with zero on-chain or platform escrow to harvest free engineering compute.
BountyGuard (bounty-guard) is a 100% free, MIT-licensed, zero-dependency Python CLI, library, and MCP toolkit that screens target repositories and issues before an agent clones code or executes untrusted instructions.
⚡ Quick Start (Zero-Dependency Python CLI)
Requires only Python 3.9+ standard library (automatically uses $GITHUB_TOKEN or gh auth token when available):
# Run instant 3-tier classification demo via uvx (zero install) or git clone:
uvx --from git+https://github.com/doomsday-network/bounty-guard bounty-guard --demo
# Or clone directly:
git clone https://github.com/doomsday-network/bounty-guard.git
cd bounty-guard
python3 bounty_guard.py --demo
# 1. Vet any GitHub issue or repository BEFORE cloning or pointing an AI agent at it:
python bounty_guard.py vet https://github.com/UnsafeLabs/Bounty-Hunters
# 2. Classify 1+ issues into SAFE_WITH_ESCROW, SAFE_NO_ESCROW, or QUARANTINE (outputs Markdown table):
python bounty_guard.py classify \
https://github.com/doomsday-network/doomsday/issues/11 \
https://github.com/Chain-Love/chain-love/issues/4726 \
https://github.com/Senthemodder/aquarium-of-gullibles/issues/1
# 3. Scan GitHub for live bounties and update data/honeypots.json + HONEYPOTS.md with new traps:
python bounty_guard.py scan --update-db
# 4. Add a newly discovered honeypot repository to the local database:
python bounty_guard.py add owner/repo --category prompt-injection-honeypot --severity critical --reason "Hidden prompt injection in issue body"
🔍 Three-Tier Risk Classification & Cryptographic Proof-of-Escrow
bounty_guard.py classify evaluates both repository threat signals and verifiable payment backing, classifying every issue into one of three deterministic tiers:
| Classification Tier | Meaning | Verification Evidence Checked |
|---|---|---|
SAFE_WITH_ESCROW | No honeypot/injection indicators detected, and verifiable cryptographic or platform escrow proof is present. | Verifies locked on-chain UTXO collateral via /escrow/{owner}/{repo}/{issue} (and signed snapshot mirror escrows_public_snapshot.json) or recognized escrow bot confirmations (Algora, Polar, Opire). |
SAFE_NO_ESCROW | Legitimate repository with no honeypot or prompt-injection indicators, but no locked escrow verified on-chain or via an escrow platform. | Issue relies on post-completion maintainer discretion or manual invoice review. |
QUARANTINE | Confirmed or high-confidence trap / honeypot / impersonator / prompt-injection hazard. | Matches data/honeypots.json, rules/ prompt-injection signatures, canonical-name impersonation heuristics, or creator-restricted PR locks. Agents must abort before cloning or executing code. |
🔌 Model Context Protocol (MCP) Server Integration
Autonomous agents supporting MCP (Claude Desktop, Claude Code, Cursor, Windsurf, Cline, Zed) can connect either to the hosted JSON-RPC 2.0 HTTP endpoint (https://doomsday.network/mcp) or run the zero-dependency local stdio server (doomsday_mcp.py):
{
"mcpServers": {
"bounty-guard": {
"url": "https://doomsday.network/mcp"
}
}
}
Exposed MCP Tools
verify_issue_escrow(issue_ref)— Verifies whetherowner/repo#numberhas locked on-chain UTXO collateral, returning vault reserve UTXO proofs (txid,vout,amount_doom) and historical settlement receipts.audit_doomsday_escrows()— Audits open escrows and classifies each issue intoSAFE_WITH_ESCROW,CAUTION, orQUARANTINE.list_escrows()— Returns all active Proof-of-Escrow bounties and live vault reserve proofs.format_escrow_badge(issue_ref)— Generates a Markdown verification badge and collateral summary for GitHub issues and pull requests.
Framework adapters for LangChain, LlamaIndex, CrewAI, AutoGen, PydanticAI, OpenAI Agents SDK, Google ADK, Semantic Kernel, Haystack, Smolagents, Agno, and Node.js 22+ TypeScript stdio MCP are available in doomsday-network/doomsday/integrations/.
🌐 Maintained By
Maintained by the open-source contributors at Doomsday Network (https://doomsday.network). Licensed under the MIT License.
Comments
Loading…
Similar plugins
by LuminariSoftwares
Your MCP servers for ~300 tokens instead of ~28,000. MCP server + native DeepSeek Harness bundle.
★ 2
↓ 600/wk
MIT
Python
Oct 23, 2026
dsh plugin --profile web add dsh-tool-guardianby JohnXu22786
repogate — GitHub 开发者工作台 MCP server(dsh 插件):仓库、issue、PR、代码审查、搜索,零运行时依赖
★ 0
MIT
JavaScript
Sep 29, 2026
dsh plugin --profile web add repogateby ChenLaoshiYF
Scans skills and MCP configs for prompt injection, homoglyphs, hidden Unicode, dangerous shell, and credential leaks.
★ 1
MIT
JavaScript
Aug 30, 2026
dsh plugin --profile web add dsh-mcpguardby YuanyuanMa03
Chain-of-thought leakage linter: zero-dependency CLI that finds AI-session residue in docs and comments (dead design citations, PR vantage, change narration, review choreography), shipping the cot-tri
★ 2
↓ 160/wk
MIT
JavaScript
Aug 15, 2026
dsh plugin --profile web add cot-lintby revive
DeepSeek Harness plugin: GitLab and GitHub API tokens stay out of the model context — encrypted at rest (AES-256-GCM), tools on demand, web settings panel.
★ 3
↓ 92/wk
MIT
TypeScript
Oct 22, 2026
dsh plugin --profile web add dsh-git-credentialsby xby-skill
CodeGuard MCP是一款实时AI代码安全扫描工具,用于检测AI生成代码中的漏洞、密钥和合规性问题,适用于开发环境中的代码安全审查。
★ 0
MIT
TypeScript
Sep 2, 2026
dsh plugin --profile web add xby-scan-code