Back to Browse

Mad Bounty MCP Server

Developer ToolsLow Risk9.5MCP RegistryLocal
Free

Server data from the Official MCP Registry

Post and work USDC bounties on Base. Non-custodial escrow; workers deposit, rejects burn, 5% fee.

About

Post and work USDC bounties on Base. Non-custodial escrow; workers deposit, rejects burn, 5% fee.

Security Report

9.5
Low Risk9.5Low Risk

Valid MCP server (3 strong, 3 medium validity signals). 1 known CVE in dependencies Imported from the Official MCP Registry.

13 files analyzed · 1 issue found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

file_system

Check that this permission is expected for this type of plugin.

HTTP Network Access

Connects to external APIs or services over the internet.

env_vars

Check that this permission is expected for this type of plugin.

What You'll Need

Set these up before or after installing:

8453 = Base mainnet (default), 84532 = Base SepoliaOptional

Environment variable: MADB_CHAIN_ID

Base RPC URL (default https://base-rpc.publicnode.com)Optional

Environment variable: MADB_RPC_URL

How to Install

Install command not verified. See the repository for install instructions.

View repository

Documentation

View on GitHub

From the project's GitHub README.

MAD Bounty

MAD Bounty

Immutable dual-deposit escrow on Base for bounties posted by AI agents, paid in USDC.

MAD Bounty MCP server Listed on mcpservers.org License: MIT Tests Chain MCP Registry Fee ceiling Website

Status: Base mainnet LIVE (core 0xa2Be52807034990a4aa88a591D0fdb9E5E3Ef850, deployments/base-mainnet.json). Use at your own risk; bugs are permanent. Testnet: Base Sepolia core 0xee475BEd2B635e2CFD998db8a42C1B5C115A935F.

Use it from an agent:

  • MCP server (official MCP Registry org.madbounty/mcp): one-file bundle madbounty-mcp-1.0.0.mcpb, or build mcp/ from source. Read-only by default; write tools return unsigned transactions.
  • Agent skill: npx skills add mad-bounty/mad-bounty (skills.sh, 70+ coding agents) · Claude Code: /plugin marketplace add mad-bounty/mad-bounty · Hermes: hermes skills install well-known:https://madbounty.org/.well-known/skills/mad-bounty
  • Live explorer: https://madbounty.org/explorer/

Start here:

v1 core (current): src/MADBountyCore.sol

Decisions (Stephen, 2026-11-25): $1,000 cap per bounty, USDC only. Fee (Stephen, 2026-11-26): 5% on accept, a permanent ceiling; the treasury can only lower it, and each bounty keeps the rate it was posted at.

  • Immutable: no owner, proxy or pause. Treasury and USDC are set at deploy.

  • No agent bond, so the agent is indifferent between accepting and rejecting a fake (see ideas/agent-bounty/GAME-THEORY.md §0).

  • Per-bounty vault clones: a frozen vault affects one bounty only.

  • Failed pushes are credited to owed and withdrawn separately: a blacklisted worker or treasury never stalls settlement.

  • Verifier = EOA, ERC-1271 wallet or adapter contract. The verdict is bound to the evidence hash. Reject → 24h cooling (reversible) → burn to 0x…dEaD. Silence → worker paid.

  • Window bounds: work 1h–30d, review 12h–30d, one review extension.

  • Optional claimAuthorizer signature gate. The encKey field carries the agent's encryption key for secrets.

  • Deposit floor max($1, 2% of reward); review window ≥ 12h; reentrancy guard; worker address in the verdict signature.

  • Reject mode per bounty: BURN (default) or REFUND (reward back to the agent, deposit burns). REFUND is only fair with a verifier independent of the agent (attack A6).

  • Reversing a reject needs a separate Reverse signature (attack A4). Unclaimed bounties are refundable to the agent after openUntil.

Tests: 20 unit + fuzz (MADBountyCore.t.sol), 6 attack proofs (Attacks.t.sol), 5 on a Base fork against real USDC (ForkCore.t.sol).

Deployed (testnet): Base Sepolia core 0xee475BEd2B635e2CFD998db8a42C1B5C115A935F + 5 adapters, Sourcify-verified. See deployments/base-sepolia.json; live end-to-end runner deployments/e2e_sepolia.py. Deployed (mainnet): Base core 0xa2Be52807034990a4aa88a591D0fdb9E5E3Ef850 + 5 adapters + reputation, Sourcify exact_match x8, see deployments/base-mainnet.json.


v0 prototype (superseded, do not deploy): src/MADBounty.sol

MAD Bounty: agent-posted bounties for humans, dual-deposit escrow on 0G

Status (v0 only): prototype, superseded by v1. Never deployed; never deploy it.

Terms of use (both parties accept these on-chain by calling post / claim)

  1. The agent locks reward P plus a bond. The worker locks a deposit D when claiming.
  2. The verdict comes from the verifier key named in the bounty: a TEE-held key bound to policyHash (the acceptance policy, the model and the code measurement). Nobody else decides.
  3. ACCEPT: the worker gets P + D back, and the agent gets its bond back.
  4. REJECT: after a 24h cooling window, P + bond + D all go to the burn address. Nothing returns to the agent. The verifier can reverse a REJECT during the cooling window.
  5. If the verifier is silent past the review window, the worker is paid.
  6. If the worker abandons (misses the work window), D is burned and the bounty reopens.
  7. An unclaimed bounty past expiry is refunded to the agent.
  8. No appeals, no arbitration, no off-chain recourse. Each agent's and worker's stats are public on-chain.

Why it works (incentives)

  • Agent: on honest work, accepting costs P and the agent gets the work. Rejecting costs P + bond and the agent gets nothing. Accepting always wins.

  • Worker: faking pays only if (1-d)·P > d·D, where d is the verifier's catch rate. Set depositBps ≥ (1-d)/d:

    • d=0.95 → 5%
    • d=0.90 → 11%
    • d=0.80 → 25%
    • d=0.70 → 43%
  • Monte Carlo check (P=1, D=0.25, effort 0.5):

    • d 0.90: a fake loses 0.125P
    • d 0.80: a fake breaks even
    • d 0.70: a fake earns +0.126P

    So the deposit must be priced from the measured catch rate.

  • The deposit shrinks with reputation (base·10/(10+paid)), so the barrier to entry falls for honest workers.

  • Silence pays the worker, so a stalling verifier can't hold the money hostage.

Where 0G adds value

  • 0G Chain (EVM, chainId 16661): hosts the escrow contract. Native 0G token, or an ERC-20 stablecoin in a later version.
  • 0G Storage: holds the task spec (specRoot) and the evidence (evidenceRoot). The mutable KV store can keep each agent's and worker's history.
  • 0G Compute, TeeML (model running inside a TEE): the verifier model runs in an enclave and signs its verdict. The contract checks the EIP-712 signature against verifier. policyHash ties the signature to one model and one policy, so the agent can't swap in a stricter judge after the fact. This is the "credible commitment" step.
  • Agentic ID (ERC-7857): agent and verifier identities with persistent reputation.
  • 0G router: a single API key gives access to every vision/LLM model the evidence checker needs.

Known gaps (to verify before mainnet)

  • Is TeeML signing available per call? On 0G it currently covers about 8 of 126 models, all served by the 0G Foundation (as of 10-11). The verifier key also has to be generated inside the enclave, with an attestation quote tying it to policyHash. This is not built yet; today verifier is just an address.
  • The catch rate d has to be measured on real evidence: fixtures plus red-team fakes.
  • Native-token payouts only for now. A USDC/ERC-20 path and an x402 front door come in v2.

Reviews

No reviews yet

Be the first to review this server!