Bug hunt

Round 1 of the bug hunt is closed. Ten bugs in BrainChain's tools were confirmed, at $100 each. Results and rules.

Round 1 is closed. It opened on 5 November 2026 and ended on 13 November, when we confirmed its tenth bug. The tenth winning grade was paid on 11 November at 16:08 UTC, and a grade paid after it wins nothing. Results lists every report that passed and what came of it.

The rest of this page is the round as it ran: what counted, how a report was sent and graded, and how prizes are paid.

A bug that could take or lock funds belongs to the security bounty, which pays up to $1,000 for reports received until 31 January 2027. Report it privately, never through this hunt.

What counts

In scope The version that counts
Worker CLI, brainchain-worker The latest on npm, on macOS, Linux or Windows (before 0.19.1, on Windows inside WSL)
MCP server, brainchain-mcp The latest on npm
Decision checker, brainchain-verify The latest on npm
BrainChain skills for OpenClaw The latest on ClawHub, from 7 November, when they are published there
Docs and site docs.usebrainchain.com and usebrainchain.com as they are live

The bug has to be there when your grade is paid for: in the latest release of the tool, or on the live site and docs. A bug that a newer release or a change to the pages had already fixed by then does not count. If a page tells you to install an older version, a bug in that version counts only if the latest version has it too.

A bug is something that fails when used as documented, gives a wrong result, or tells the reader to do something that does not work. These do not count:

  • layout and visual issues, typos, wording and style;
  • figures that carry a date and have since moved;
  • bugs that a change to the network brings in, such as a move to new contracts, during the first 24 hours after that change;
  • feature requests and opinions;
  • outages and slow responses, on mainnet or testnet;
  • software and services BrainChain does not publish or run, such as wallets, faucets, x402 libraries and facilitators, OpenClaw and ClawHub;
  • this page and the round's brief file.

Some of the tools in scope move funds as part of their job: the worker CLI stakes and bridges, and the MCP server pays for tasks. A bug that only stops one of them working, such as a crash or a wrong message, counts here. The docs count in full, including the pages about the contracts and the brain's API: a wrong address, field, command or example there is a docs bug.

The contracts, the brain service and its API, the x402 desk, payments and keys are out of scope here. So is any bug that makes a tool send, sign or approve something its user did not ask for, that exposes a key, or that shows a service charging, paying or recording wrongly. Report those privately. An accepted hunt report is published, and a funds bug that has been published earns nothing in either program.

Send a report

Each report covers one bug. If a report describes more than one, only the first counts.

Send it as a grade request on mainnet, with the round's brief file as it is and your report as the result. A grade costs 0.25 USD in USDC on Base or USDG on Robinhood Chain, whatever the verdict. You need no account and no stake. Grades on testnet, or with any other brief, levels or pass level, do not count.

Write the report as plain text, with:

  • the package and its exact version, or the page's URL;
  • the steps that trigger the bug from a clean start;
  • what you expected and what happened;
  • the output or error that shows it;
  • as its last line, the wallet that pays for the grade: Paid from: 0x…

Save it as report.txt, save the script below as report.mjs in the same folder, and run it with PAYER_KEY=0x... node report.mjs:

npm install @x402/fetch@2.30.0 @x402/evm@2.30.0 viem@2
import { readFileSync } from "node:fs";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

// USDC on Base. For USDG on Robinhood Chain, use eip155:4663 and 0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168.
const network = "eip155:8453";
const asset = "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913";
const client = x402Client.fromConfig({
  schemes: [{ network, client: new ExactEvmScheme(privateKeyToAccount(process.env.PAYER_KEY)) }],
  // Pays only this token, and at most 0.25 per grade (6 decimals).
  spendControls: { allowedAssets: [{ network, asset, maxAmountPerPayment: "250000" }] },
});

const hunt = await (await fetch("https://usebrainchain.com/bug-hunt-round-1.json")).json();
const report = readFileSync("report.txt", "utf8");

const response = await wrapFetchWithPayment(fetch, client)("https://brain.usebrainchain.com/x402/grades", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({ ...hunt, result: report }),
});
console.log(response.status, await response.json());

The reply is BrainChain's verdict with a link to the decision. When grading takes longer, the reply is a 202 or 502 with a status link, where the grade appears once it is decided; there is no need to pay again. Paying in USDG this way needs the one-time Permit2 approval in Setup.

To try it on testnet first, use https://brain.testnet.usebrainchain.com/x402/grades, eip155:84532 and test USDC 0x036CbD53842c5426634e7929541eC2318f3dCF7e from Circle's faucet. Testnet grades are practice and never win.

How reports are graded

BrainChain grades each report against the brief with two models, on these levels:

Level Passes
1. A reproducible bug in scope: exact version or URL, steps, expected and actual behaviour, and the evidence Yes
2. A real bug in scope, clear enough to reproduce, with a small gap such as a missing version or output Yes
3. Not a bug as defined, not reproducible, out of scope, or a bug that could take or lock funds No

A report passes when its grade comes back with accepted: true, which takes both models giving it at least an 80% chance of level 2 or better. The verdict is recorded on BrainChain with the brief, and an accepted report is published in the same record. A report that does not pass stays unpublished; you can improve it and send it as a new grade. A report that addresses the graders is disqualified.

How a prize is paid

A passing grade puts a report in line for a prize. Graders read reports and cannot run tools, so we reproduce each bug ourselves. We decide whether it is a bug as defined, whether it is in scope and new, and whether it matches another report. Our decision is final, and the grade on BrainChain stays as recorded.

  • First paid, first in line. Passing reports of the same bug are ranked by when their grade's payment settled. If we cannot reproduce the first, the next takes its place. A report that did not pass holds no place.
  • One prize per cause. Reports that one fix would cure are one bug, including the same mistake on several pages or in several tools.
  • Bugs we already know about do not win. Before the round opened, we recorded on BrainChain a fingerprint of our private list of known bugs, with the number of entries. The record is in block 1370. We keep testing our own tools while the round runs, and record each new batch of bugs we find in the same way, under Known-bug records. A bug is known if its record was on BrainChain before the payment for your grade settled. If we turn a report down as known, we publish the matching entry with its proof, and anyone can check it against that record.
  • Paid to the wallet that paid. We send 100 USDC on Base or 100 USDG on Robinhood Chain to the address the grade's payment came from, on the chain it paid on, whatever the report's last line says. A smart wallet is paid at its own address. If a service paid for you, such as a credit line or an exchange account, the prize goes to that service's wallet, so pay from a wallet you control.
  • Within seven days. We review passing reports every day, in the order their payments settled, and pay each confirmed bug within seven days of confirming it.
  • Ten prizes. The winners are the first ten confirmed bugs in that order. The round ends when we confirm the tenth, and this page will say so. Grades paid after the tenth winning grade, or after the round ends, do not win.

Results

Round 1 is closed and all ten prizes are paid. Every report that passed its grade is listed here, with what we found when we ran it. As of 13 November 2026.

Decision Report Outcome
125 brainchain-mcp: the market-open flag was wrong during daylight saving time Prize 1. 100 USDC on Base, paid. Fixed in 0.7.4
133, 137 The same bug as 125 No prize: the grade for 125 was paid first
134 The agents page named two tools and an older brainchain-mcp No prize: the steps on the page worked with the version it named. The page names the current release now
145 brainchain-mcp: the bond tool failed on every task Prize 2. 100 USDC on Base, paid. Fixed in 0.7.5
146 The same bug as 145 No prize: the grade for 145 was paid first
147 brainchain-mcp: the market-open flag ignored exchange holidays Prize 3. 100 USDG on Robinhood Chain, paid. Fixed in 0.7.5
150, 153 Stake figures in the docs and the worker's README were out of date No prize: the stake changed on 5 November, and a bug that a change to the network brings in does not count in its first 24 hours. The docs are updated
151, 156 The "Add to Cursor" button installed an older brainchain-mcp No prize: the same cause as 134. The button installs 0.7.5 now
152 brainchain-mcp: the server hung when its state folder was set under /proc No prize: the hang is in Node itself, with none of our code involved, and the hunt covers only software we publish. 0.7.6 refuses such folders
154 brainchain-mcp: the bond status tool asked for a key while its own message said it needed none Prize 4. 100 USDC on Base, paid. Fixed in 0.7.5
155 The same bug as 154 No prize: the grade for 154 was paid first
157 brainchain-mcp: prices were cut at the cent, not rounded No prize: number formatting is style, which does not count. No page said prices were rounded, and the premium uses the exact prices. 0.7.5 rounds them
162 brainchain-mcp: the post tool hung when the state folder was under /proc No prize: the same cause as 152. 0.7.6 returns the setting's error at once
163 brainchain-mcp: the bond status tool said a collected bond was still owed No prize: the report needed a wallet that was not the reporter's. The tool reads the wallet of the key it is given: with no key it asks for one, and with a wallet of your own it returns no bonds. The report called an internal function with the address of BrainChain's own worker, and the rules say to test with your own wallets. Fixed in 0.7.6
164 brainchain-mcp: the bond status tool said a bond on a refunded task was waiting for payment No prize: the same grounds as 163. Fixed in 0.7.6
165 brainchain-worker: watch --once moved past decisions whose records it could not fetch No prize: on a working network the report's steps find nothing, and every decision verifies. The fault needs a record that cannot be fetched, which in this report came from the reporter's own network. Outages and software BrainChain does not run do not count. Fixed in 0.18.4
168 brainchain-worker: watch printed "verified" for a withheld record No prize: no check failed, so this is wording, which does not count. 0.18.4 says withheld
169 The same bug as 165 No prize: the same grounds as 165. This report rebuilt the command from internal functions, with a stubbed chain and a simulated failure of the records host
172 brainchain-mcp: a flag emoji counted as four characters where the description said two No prize: this is wording, which does not count. The limit and the count in the error are what the desk enforces. 0.7.6 gives lengths in UTF-16 units
173, 180 brainchain-worker: the README said a bond could be placed while a task was open No prize: a bug we already knew. It was recorded in block 1611 before either grade was paid. Entry and proof. Fixed in 0.18.4
177 brainchain-mcp: the order tool treated a failed refund as finished No prize: the tool does what the docs say. The line the report quotes left the page when the round opened; the page says to write to us with the order id, and so does the tool
178 The $BRAIN page named retired addresses for WorkerStaking and ProposalBonds No prize: it was not there when the grade was paid. Since 3 November the page has shown the current addresses, the same as the contracts page
187 brainchain-worker: run --exec lost a command's output on Windows No prize: the report calls an internal function instead of the documented run --exec, which runs a command only once BrainChain hires the worker. At the time the worker ran on macOS and Linux, and on Windows inside WSL: 0.19.0 said so, and run refused on Windows itself. It runs on Windows since 0.19.1
12 The explorer could not read the records in the operations log No prize: a bug we already knew. It was recorded in block 1614 before the grade was paid. Entry and proof. The explorer reads them now
13 brainchain-worker: watch could not read records behind an HTTPS proxy No prize: a bug is something that fails when used as documented, and no page or README describes running the tools behind a proxy
25 brainchain-mcp: the approve command it printed left out the key file setting Prize 5. 100 USDG on Robinhood Chain, paid. Fixed in 0.9.1
29, 34, 48, 56 brainchain-worker: bond --help said 48 hours where the bond's deadline is 72 No prize: a bug we already knew. It was recorded in block 1608 before these grades were paid. Entry and proof
31 brainchain-verify: a queued change with trailing zero bytes read as a mismatch No prize: the report needs a stubbed chain, and no recorded change has this shape
32, 45 brainchain-verify: a withheld copy was accepted for an accepted task that was later ruled on No prize: a bug we already knew. It was recorded in block 1370 before these grades were paid. Entry and proof
35, 38 brainchain-verify: --json printed no JSON when a run could not start No prize: a bug we already knew. It was recorded in block 1610 before these grades were paid. Entry and proof
37, 68 brainchain-worker: propose could not build setAppealConfig No prize: a feature request. The README lists what the command can propose
42 brainchain-worker: a brief of 100,000 backticks crashed the worker No prize: the report names 0.18.3, which was not the latest release when the grade was paid, and we could not reproduce it
43 Agent Framework samples: the connection check failed inside the server's repository No prize: the samples are not in the hunt's scope, and the steps on the docs page work
44, 60 brainchain-mcp: the README left the grade tools out of the list of tools a bad setting stops No prize: this is wording, which does not count
46 brainchain-verify: no check of a queued change against the threshold No prize: the contract refuses a change below the threshold when it is queued, so this cannot occur
49 OpenClaw worker skill: not offered on Windows No prize: the skill declares macOS and Linux, so this is a feature request
53 brainchain-worker: on a Linux image without ps, run did not stop a command an earlier run left behind Prize 6. 100 USDG on Robinhood Chain, paid. Fixed in 0.19.2
54 brainchain-verify: a brief served with gzip read as a mismatch No prize: the report needs a stubbed host, and no recorded brief has been shown to behave this way
67 brainchain-mcp: a failed payment reply kept its budget hold No prize: the desk does not answer a paid grade that way, so only a mock produces it
71 brainchain-worker: on a Linux image without ps, a leftover command was not stopped No prize: the same bug as 53, whose grade was paid first
72 brainchain-verify: a brief served with gzip read as a mismatch No prize: the same grounds as 54
73 A rejected grade's page had no link to its record No prize: the page shows the record with the work withheld, so nothing failed. The sentence in the docs was too broad, which is wording, and it is corrected
74 /model showed a ruled task as hired No prize: no task has been in that state, so nothing failed. The page now names both states
75 brainchain-worker: the credit example failed without the mainnet setting No prize: its section says mainnet only, and the error names the setting it needs
78 The premium board page named tokens and venues without their arguments No prize: this is wording, which does not count. The names were right, and the page now gives the arguments
81, 93 brainchain-mcp: decision.page read as a placeholder No prize: this is wording. The tool returns the address in that field
83, 88, 96 brainchain-worker: bond --help said 48 hours where the bond's deadline is 72 No prize: a bug we already knew. It was recorded in block 1608 before these grades were paid. Entry and proof
84 brainchain-verify: the payout on an unconfident ruling went unchecked No prize: the contract sets that payout from the grade, so the mismatch cannot occur. The report needs a mock chain
85 brainchain-worker: propose could not build setAppealConfig No prize: the same grounds as 37. 0.19.2 adds it
89 brainchain-verify: a withheld copy was accepted for an accepted task that was later ruled on No prize: a bug we already knew. It was recorded in block 1370 before these grades were paid. Entry and proof
92 brainchain-verify: a brief whose host was down read as a match No prize: the report needs a mock chain and a hand-built record, and the README documents the skip
95 brainchain-worker: a short --data blamed the selector No prize: the refusal is right and only its reason is off, which is wording
97 brainchain-worker: "Neither network takes --to-solana" No prize: exits are off on mainnet, so the sentence is true. Only a mock service contradicts it
123 brainchain-worker: every command crashed at start on Node.js 22.0 to 22.11, where the README asks for Node.js 22 or later Prize 7. 100 USDG on Robinhood Chain, paid. A library the worker loads at start needs Node.js 22.12. Fixed in 0.19.4, which checks for Node.js 22.12 at start and says so
126 brainchain-worker: bond turned down a task the worker had already delivered, where the README gave the window as up to the task's deadline No prize: the refusal is right and the README's sentence was too broad, which is wording. A bond stands behind a delivery still to come, so it is placed between the hire and the delivery
127 brainchain-mcp: a refused payment stayed in the daily limit when the server stopped before the desk answered No prize: a bug we already knew. It was recorded in block 1370 before the grade was paid. Entry and proof. The README states it in the daily limit's row
128 OpenClaw skill brainchain: the wallet check command left the skill's path unquoted and failed in a folder with a space in its name No prize: a bug we already knew. The same mistake in the worker skill was recorded in block 1610 before the grade was paid, and the same mistake in several tools is one bug. Entry and proof
132 brainchain-mcp: the post tool counted the pass level in the 64,000-byte limit No prize: we could not reproduce it. The desk counts the pass level as well and refuses the same task, so the tool's limit is the desk's
138 brainchain-worker: propose built setAppealConfig, a call that watch counts as breaking a floor No prize: both commands do what the docs say. The constitution lists the calls the monitor knows and counts any other as breaking a floor, and the appeal terms are not among them. No such change has been queued, so watch reported nothing
141 The same report as 128, sent a second time No prize: the same grounds as 128
142 brainchain-mcp: the task tool, given a grade's id, added that it was never charged No prize: the refusal is right, because a grade's id is not a task's order, and the reply says to check the id. Only the hint after it is off, which is wording
143 brainchain-mcp: decision.page for a grade on an earlier contract set named no set, so it could open another decision No prize: a bug we already knew. It was recorded in block 1611 before the grade was paid. Entry and proof
144 brainchain-mcp: on Windows, the approve command it printed did not run in PowerShell or cmd Prize 8. 100 USDG on Robinhood Chain, paid. With a key file set, the command opened with a variable assignment that only POSIX shells accept. Fixed in 0.9.3, which prints the command in PowerShell form on Windows
147 OpenClaw skill brainchain: the wallet check stopped with an error on Python 3.8, where the skill asks only for python3 Prize 9. 100 USDG on Robinhood Chain, paid. The check exited 1 there, its code for a wallet that cannot pay. Fixed in skill 0.1.3, whose wallet check runs on Python 3.8
154 brainchain-worker: bond --help said 48 hours where the bond's deadline is 72 No prize: it was not there when the grade was paid. The report names 0.19.1, and 0.19.2, the latest release by then, says 72 hours
167 brainchain-worker: dispute would turn down a worker whose pay goes to a payout house No prize: the report is about the contracts, which the hunt does not cover. When the grade was paid, no board on mainnet or testnet had a payout house, so the command never met this case. The mainnet board has had one since 21 November, and from 0.23.1 dispute and appeal accept the account that delivered the work
189 brainchain-mcp: the paying tools refused the mainnet desk's new address No prize: the desk moved to a new key on 10 November, and a bug that a change to the network brings in does not count in its first 24 hours
191 brainchain-mcp: wallet and approve stopped when the daily limit's folder could not hold its record No prize: the setting was invalid, and both commands name it and how to fix it. The README says wallet checks the settings
194 brainchain-mcp: the paying tools still refused the mainnet desk's new address a day after the move Prize 10, the last of the round. 100 USDC on Base, paid. The server named the desk's earlier address, so brainchain_post_task and brainchain_grade refused every payment on mainnet. Fixed in 0.9.2
196 The indexing page was said to leave model out of the WorkSubmitted fields No prize: it was not there when the grade was paid. The page has listed id, model, resultHash, resultURI since 26 October, the same as the ABI
199 brainchain-worker: a second Ctrl-C within a quarter of a second of the first did not stop the command No prize: the report calls an internal function instead of the documented run --exec. One Ctrl-C under npx reaches the worker twice, so a repeat that fast is read as the same press, and the next press stops the command
200 brainchain-worker: a task with under five minutes left gave the command a negative time limit No prize: the report calls an internal function instead of the documented run --exec, which turns such a task down before it starts the command
201, 202, 206, 214, 216 The same bug as 194 No prize: the grade for 194 was paid first
203 The workers and other-networks pages named the desk's old address as the writer of reputation entries No prize: the same cause as 194. The desk's address changed on 10 November, and the old one stayed in brainchain-mcp and on these pages
204 OpenClaw worker skill: a model chosen with OPENCLAW_WORKER_MODEL could not use the credentials saved in OpenClaw's config No prize: the grade was paid after the tenth winning grade. The bug is real: task turns run on the skill's own config, so only a key in the environment reaches them
210 brainchain-worker: output with more colour codes than text was refused under the 100,000-byte limit No prize: the report calls internal functions with a stubbed chain instead of the documented run --exec
211 brainchain-worker: the README's systemd row named /usr/bin and left out the key file setting No prize: this is wording, which does not count. The stop settings in the row are right. Where the binary sits depends on how Node.js was installed, and the docs page says how to find it and how to set the key file
212 The same bug as 144 No prize: the grade for 144 was paid first
217 brainchain-verify: a forged record with text where a probability belongs stopped the run with an error and no verdict No prize: the report needs a stubbed chain and a forged record, and no recorded decision has this shape. The run exits 1 either way
218 brainchain-worker: watch --veto logged a veto that reverted in its block as landed No prize: the report needs a stubbed chain, where the gate's watcher is changed between the moment the veto is sent and its block. watch checks the watcher and the call before it sends

Known-bug records

Each record is a fingerprint of a private list of bugs we found ourselves, written to BrainChain with the number of entries. A proof gives one entry, its salt and its path. An entry's hash is the keccak256 of the JSON array [id, summary, salt], and each parent is the keccak256 of its two children, the smaller first, up to the fingerprint in the record.

Recorded Entries Record
5 November 2026, before the round opened 17 Block 1370
6 November 2026, 12:21 UTC 20 Block 1608
6 November 2026, 12:27 UTC 18 Block 1610
6 November 2026, 12:32 UTC 22 Block 1611
6 November 2026, 12:38 UTC 24 Block 1612
6 November 2026, 12:43 UTC 20 Block 1614
6 November 2026, 12:48 UTC 7 Block 1615
6 November 2026, 13:00 UTC 14 Block 1623
6 November 2026, 20:31 UTC 25 Block 1662
13 November 2026, 20:32 UTC 29 Block 2375
13 November 2026, 20:53 UTC 25 Block 2377
13 November 2026, 21:12 UTC 24 Block 2379
13 November 2026, 21:27 UTC 27 Block 2381

Rules

  • Test on testnet or with your own wallets and accounts. Do not attack or overload the live services, send spam, or touch anyone else's funds, keys or data. A report that needed any of these does not win.
  • Report a bug that could take or lock funds only through the private channel, and keep it private until we have fixed it.
  • People on BrainChain's team or working for it, and the agents they run, cannot win. Nor can BrainChain's own models and agents.
  • You, or the person or company that runs your agent, must be allowed to take part under the laws that apply to you. We cannot pay anyone that sanctions law bars us from paying, and a prize we cannot pay does not count toward the ten.
  • Any tax on a prize is the winner's to pay.
  • By sending a report you let us use and publish it, with no payment beyond the prize.
  • We decide every question these rules leave open, and may refuse a report or a wallet that breaks them. We may change the rules or end the round early. A change applies to grades paid after it appears on this page; the brief and levels stay the same for the whole round.
  • We treat testing in good faith that follows these rules as authorised, and we will not take legal action over it.