Dev.to Security 🔐 Cybersecurity 👁 0 📖 7 min read

Five things to fix first in the Delphi Agent Arena: what an autonomous agent couldn't do

An evidence-mining agent, 14 real judged submissions and a full audit of the systems it relied on: here is what we would fix first. AGONN feedback report · BROTHERHOOD · 3 December 2026 Based on 39 verified findings and

An evidence-mining agent, 14 real judged submissions and a full audit of the systems it relied on: here is what we would fix first.

AGONN feedback report · BROTHERHOOD · 3 December 2026
Based on 39 verified findings and 14 real, judged evidence submissions made by our agent during the competition.

Summary

We entered the Evidence Mining competition with an autonomous agent and audited every system it relies on while it ran. Most of what we found falls under five problems. Fixing them would make payouts verifiable, give agents a feedback signal they can learn from, and close the gaps that let limits and defaults work against honest entrants.

# Problem Why it matters Findings Effort
1 Settlement can't be independently verified, and a single key decides it Payout integrity, which is the basis of trust in the market F36, F35, F23, F7 Medium
2 Agents get no usable signal from judging Every agent repeats its mistakes and floods markets with low-value evidence F37, F38, F39 Low
3 The judge silently stops reading long documents Honest evidence is charged for but never assessed F27 Low
4 Limits aren't enforced the way they are advertised Unfair advantage for whoever runs the most instances or keys F15, F30, F20, F28 Medium
5 SDK defaults are unsafe for autonomous agents One defect away from draining every agent wallet F26, F24, F5, F22 Low

Every claim below is backed by a request ID, an on-chain transaction, a public data snapshot or one of our own submission receipts, and 27 of the 39 findings can be re-checked with one command: node audit/repro/repro.mjs.

1. Settlement can't be independently verified, and a single key decides it

What we saw (on-chain and in public data)

  • One key decides the outcome. A traced settlement (market 0x94dbba7c, outcome "no") was posted by a single externally owned account with no on-chain proof, and payouts ran in the same transaction. The oracle hub is an upgradeable proxy owned by an externally owned account with no timelock, while the gateway sits behind a three-day timelock. (F36)
  • The documented verification path is broken. The FAQ tells entrants to check settlement with getMarketSettlement. On mainnet it returns nothing for every resolved competition market. (F23)
  • The root cause is an undocumented deployment. All 73 competition markets come from a factory and gateway that appear nowhere in the SDK, the docs or the security scope, and the SDK silently routes them to the wrong gateway. (F35)
  • The pot accounting doesn't reconcile. On settled markets the amount removed from pots is 5–6 times what was paid or voided. (F7)

Impact. Neither entrants nor traders can verify that an outcome or a payout is correct, and a single compromised key can settle any market and pay out at once, with no window to challenge it.

Fix (in order)

  1. Publish the live deployment (factory, gateway, oracle hub, subgraph) and generate the SDK presets from that one table.
  2. Put the oracle hub behind the same timelock or multisig as the gateway, and add a challenge window before payout.
  3. Make getMarketSettlement fail loudly for markets the configured subgraph doesn't index.
  4. Reconcile pots and potsRemaining against on-chain transfers and publish that check.

2. Agents get no usable signal from judging (what our agent couldn't do)

Our agent made 14 judged submissions on 14 different markets, built from primary data (official gauge forecasts, statistics releases, volcano-observatory notices, release APIs). The results:

Outcome Count What the receipt said
Accepted, paid 0 (below_minimum) 7 "This information was reviewed against the market question." (identical every time)
Duplicate 7 "We already have this information." (identical every time)
Paid a judgment bounty 0 —

Meanwhile markets.json shows 282.55 of 1,460 USDC in judgment pots already paid out on 70 of 73 markets. Payouts do happen. Our agent just had no way to find out what separates paying evidence from the rest.

Three things the agent could not do:

  1. Learn why. The documented "rationale" is a fixed string per verdict, the same for all 7 accepted and all 7 duplicate receipts. (F37)
  2. Avoid paying for duplicates. "Someone already submitted this" and "the forecaster can find this itself" need opposite responses, but both return the same verdict. Nothing lets an agent check before submitting, and 7 duplicates used 7 of the 10 daily refunds, so at a 50% duplicate rate an honest agent runs out after about 20 submissions a day. Two of our duplicates were built on official data published hours earlier (a BfG river forecast issued that morning and an HVO forecast update from the previous evening). (F38)
  3. Calibrate. Accepted evidence is paid only above a "noise floor" that isn't published anywhere, and the receipt shows no magnitude. standing.yield.value = 0.000834 has no documented formula or unit. (F39)

Impact. Without a signal to learn from, agents can only send more submissions, not better ones. That raises the judge's costs, fills markets with low-value items, and rewards whoever submits the most rather than whoever researches best, which is the opposite of what an evidence market needs.

Fix (cheap, and keeps the forecast direction hidden)

  • reasonCode enum: duplicate_submission, publicly_available, stale, irrelevant, below_floor, unverifiable.
  • A non-directional moveBucket (none / below_floor / small / medium / large) on accepted items, plus the published floor.
  • Market coverage in entry-state (count and time of the last accepted items) so agents can skip crowded markets.
  • Charge the refund budget only for real duplicate submissions.

3. The judge silently stops reading long documents

The API accepts PDF attachments of up to 20 pages, but the judge reads only an undisclosed first part of them. Evidence past that point is never assessed, yet it still uses a market slot, counts toward yield and can lower the account's standing. (F27)

Fix. Publish the read limit and enforce it when the submission is made, either by rejecting the file or by warning before a slot is used. Return itemsRead (characters read out of the total, and whether the text was cut short) on every receipt.

4. Limits aren't enforced the way they are advertised

  • The read limiter isn't shared. RateLimit-Remaining jumps back to its starting value inside a window (reproduced three times), so the real limit grows with the number of server instances, and the headers agents are told to obey are wrong part of the time. (F15)
  • The feedback cap is per key, not per account, and keys are free to create. (F30)
  • The hourly limit is a fixed UTC clock hour, so refunds depend on when judging happens to finish, and an agent can send twice the limit in a burst across :59 and :00. The refund budget was not visible when we first tested; it has since been added to /v1/limits as duplicateRefundsLeft. (F20, F28)

Fix. Keep counters in one shared atomic store keyed by account, compute the headers from that store, and move to a sliding window. Add a test that sends N+1 requests spread across instances and expects the last one to get a 429.

5. SDK defaults are unsafe for autonomous agents

  • Unlimited approvals. The SDK and starter approve 2^256-1 USDC.e to every market. All markets share one implementation, so a single defect there would expose every allowance at once. (F26)
  • GraphQL built by string interpolation, which allows malformed queries and wrong data. (F24)
  • Hidden idempotency key. The SDK generates the key but never exposes it, so a retry after a timeout creates a duplicate paid submission. (F5)
  • Silent empty results. Subgraph helpers return nothing for checksummed addresses instead of an error. (F22)

Fix. Approve the exact amount by default, use GraphQL variables, derive the idempotency key from the content (or return it), and normalise addresses.

Also worth fixing: the API contract

Errors that can't be told apart (F10, F12, F32), a free-text verdict (F4), drift between the SDK and the spec (F1, F2, F3, F31), an HTML 404 page for unknown /v1 routes (F17) and missing Cache-Control: no-store on per-account responses (F34). Generating the SDK types from openapi.json in CI would remove most of this class of bug. See the full bug index.

What already works well

We tested these as carefully as the problems and found them correct: the submit rate limiter (unlike the read limiter), access control on failMarket and resolveMarket, idempotent submit replay, JSON error envelopes on the main routes, the gateway's three-day timelock, and duplicate refunds of market slots. The overall design (receipts, standing tiers, per-market caps) is sound. It mainly needs to be visible to the agents it governs.

How we worked

  • Read-only on-chain analysis. No exploitation and no attempts against other entrants' accounts or funds.
  • Every request is logged with its X-Request-Id, and every finding has a manual or automated reproduction.
  • All 39 findings were reported privately through feedback.delphi.fyi (one per entry) before this document was published. Security-relevant findings describe the fix, not a step-by-step exploit.

Repository: https://github.com/rohan911438/AGONN · Licence: MIT · Agent: AGONN · Team: BROTHERHOOD

📰 Read the original article on Dev.to Security

Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.