arXiv:2610.23656cs.CROct 2026

Manuscript Offprint

arXiv:2610.23656

ABF-Bench: A Verifiable Benchmark for Agentic Blockchain Forensics

Xiaohang Yu, Hejia Geng, William Knottenbelt

Xiaohang Yu 1^{1}, Hejia Geng 2^{2}, and William Knottenbelt 1^{1}

1^{1} Imperial College London

{x.yu21,w.knottenbelt}@imperial.ac.uk

2^{2} University of Oxford

Abstract. Blockchain forensics is adversarial and open-ended: money launderers split, swap, and bridge funds, cut their trail at mixers or custodial services, and change tactics from one incident to the next. Investigators must keep adapting their tracing in response. Yet the immutability of public ledgers preserves every recorded movement in public view, making much of the investigation independently verifiable. We introduce ABF-Bench, an interactive benchmark that makes evidence-backed fund tracing a verifiable agent task, in which every claimed movement must cite ledger records the agent retrieved. A case-to-task pipeline builds well-posed tasks across ledgers: conservative rules halt tracing wherever the records leave a continuation unresolved, and each task's reference graph is the answer those rules determine. Built from real laundering activity, the tasks combine multi-hop transfers, DeFi exchanges, cross-chain round trips, custodial and mixer deposits, and address poisoning. We also propose the ABF agent harness, built around a working memory, and evaluate it alongside general-purpose agents and fixed-order tracers. The harness reaches 75% edge recall, against 47% for Codex with the same model and 10% for Claude Code, which loses recall to overconfidence: it cites records it left unretrieved. Compared with fixed-order tracers, the harness acquires evidence faster than the best of them early in the budget and recognizes undisclosed custodial services that they walk past (89% vs. 0%), with 98% fidelity. However, agents tend to stop early and lose recall on larger tasks, which holds their final recall below the best tracer. Beyond exposing these gaps, ABF-Bench opens blockchain forensics to LLM agents as a verifiable domain, where the verdicts that score agents also offer potential training signals.

Keywords: Agentic blockchain forensics · Blockchain forensics · Fund tracing · Anti-money laundering · LLM agents · Benchmark

1 Introduction

Fund tracing determines where stolen value came from and where it went, and it is central to anti-money-laundering compliance and incident response on blockchains. In 2024 alone, attackers stole $2.2 billion from cryptocurrency

X. Yu et al.

Figure

Fig. 1. Overview of an ABF-Bench run. (1) The solver receives the public input ItI_t of task tt. (2,3) It queries the metered environment and receives observations. (4) It submits a report C\mathcal{C} of operations, each citing the records that support it. (5) The verifier checks every operation against its cited records. (6) The grader scores the verdicts against the reference graph GtG_t.

platforms [29]. Launderers adapt their methods to defeat tracing, so fixed procedures fall behind new techniques (Section 3.3). An investigation can cross assets, contract routers, and ledgers before reaching a service whose internal records are unavailable, and the investigator must decide which records to inspect and which conclusions they support. LLM agents can make these decisions, but forensic conclusions must remain checkable by another investigator.

Public ledgers turn part of this work into a verifiable reasoning task: given the relevant records and operation rules, a verifier can assess a claimed movement without trusting the investigator's reasoning. Locating those records still requires well-chosen queries, interpretation across protocols, and attention to unfinished leads.

Verifiable tasks of this kind have driven recent agent progress. Reinforcement learning from verifiable rewards underlies the post-training of current reasoning models [18] and LLM agents [20]. Benchmark tasks with mechanical checks, led by SWE-bench's test-verified code fixes [17], double as training environments. Frontier models now approach ceiling scores on many of these suites, and successors such as Humanity's Last Exam and FrontierMath commission expert problems to stay ahead of them [23,24]. Fund tracing adds a domain where difficulty needs no curation: real adversaries produce the instances, and the ledger keeps every claim checkable. A benchmark here therefore serves both fields: it advances LLM agents broadly and strengthens agentic investigation in forensics itself.

Existing resources evaluate labeled transactions, protocol-specific links, and incident reconstructions (Section 2). In agentic blockchain forensics, LLM agents carry out the investigation themselves [10,12], and comparing their strategies requires control over the records each solver sees and the cost of acquiring them.

We introduce ABF-Bench, 1^{1} which evaluates evidence-backed fund tracing through a shared, metered interface. Each task declares seeds and a scope, and the solver submits operations together with the records that support them. A verifier checks this support, and a separate grader measures recovery of a hidden reference graph, so an operation the records support remains valid even when the graph omits it. We construct tasks from incident addresses and ledger records and retain witnesses that make each reference edge auditable. The released tasks combine multi-hop transfers, DeFi exchanges, cross-chain round trips, custodial and mixer deposits, and address poisoning.

Our contributions are:

  1. We formulate evidence-backed blockchain fund tracing as an interactive, verifiable agent task, opening blockchain forensics to LLM agents.

  2. We build ABF-Bench with a reusable case-to-task pipeline that turns a real laundering incident into well-posed cross-chain tasks: conservative rules determine each reference graph, and every reference edge has a verified witness retrievable within the task's query budget.

  3. We propose the ABF agent harness, built around a working memory, and evaluate it alongside general-purpose agents and fixed-order tracers. Our harness outperforms both general-purpose agents in final recall, including Codex on the same model, which shows that the task rewards agent design. The harness also acquires evidence faster than the tracers early in the budget and recognizes undisclosed custody they walk past, at comparable validity. Yet every agent stops early, so breadth-first tracing attains the highest final recall and marks headroom for better agents.

References (32)