GhostProof

Bug bounties that pay on proof: exploits replayed on a chain fork, base reward paid on-chain

GhostProof

Created At

ETHGlobal Mumbai

Project Description

Ghostproof is a bug-bounty platform where hackers get paid on proof, not on promises.

Today, a researcher who reports a real bug often gets ghosted: no reply, no deadline, no pay. The company decides what the bug is worth after it has already seen it. Companies have the opposite problem: their inbox fills with spam, repeat reports and bugs that don't really work.

Ghostproof fixes both. The company writes its rules before any bug is seen and locks a reward pool in a smart contract. One rule is mandatory: a stranger must never walk off with other people's money. A hacker submits the attack as a small runnable test. Before anything else, it passes three filters: World ID (one real human, one submission), a safety guard that blocks hostile code, and a duplicate check (the same attack, even reformatted, is only paid once).

Our checker then replays the attack on a copy of the chain (a fork) and measures how much money moved. No AI decides this. If the attack breaks one of the company's pre-written rules, the pool contract automatically pays the hacker a base reward. That amount is set by the rule's severity, capped at the company's auto-pay limit and a monthly cap. An AI then writes a plain-language evidence report to help the company decide on any bonus, and the outcome is published to a public record on Arkiv. That record doubles as each company's reputation page.

Hackers get a guaranteed incentive, fast feedback and full transparency. Companies get less noise, faster checking of reports, capped costs and a public track record that shows they pay. Runs on Ethereum Sepolia with test USDC, which has no real value.

How it's Made

Three parts talking over HTTP and a contract ABI, built by three people on separate branches.

Contracts (Solidity + Foundry, deployed to Ethereum Sepolia): a bounty pool that holds the company's test USDC, a rules contract with severity tiers, and a deliberately vulnerable vault as the demo target. The pool itself enforces the limits: the base payout is min(tier amount, auto-pay limit), further capped by the month's remaining allowance, and the pool is locked while a report is open.

Backend (Node + TypeScript): the checker spins up a fork of Sepolia (anvil, with a direct forge test --fork-url fallback in case anvil misbehaves live) and runs the hacker's Exploit.t.sol against it, then decodes the run into a step-by-step replay of what the chain did. Every submission is treated as hostile: a guard rejects vm.ffi, vm.env, file cheatcodes and outside RPC calls before compiling, the sandbox has ffi = false and no file permissions, there is a size cap, and a hard timeout kills runaway processes. Duplicate detection hashes the exploit after stripping comments and whitespace, so reformatting an old attack won't earn a second payout.

Partner tech:

  • World ID: one verified human = one submission, which kills spam accounts. Proofs are verified on our backend only, never trusted from the browser (IDKit 4.x).
  • Arkiv: the public record of every outcome. We use its built-in expiry so a report the company ignores expires on its own. The frontend reads it back to show each company's reputation stats.

AI: one LLM call per report (via OpenRouter) turns the measured numbers into a readable evidence report. It is labelled "advice only" and never touches the money path, because mentors told us companies won't release funds on an AI's opinion. A pre-written fallback report keeps the demo alive if the API is slow.

Frontend: Next.js, wagmi and viem, with a neo-brutalist UI. Three screens: company, hacker and public record.

Hacky bits: the checker runs on one server standing in for a sealed computer (TEE). The payout function already has a signature slot reserved for a future sealed-checker signature. Built with help from Claude Code; see AI_USAGE.md.

background image mobile

Join the mailing list

Get the latest news and updates