Research

Investigations with agentic AI

A useful agent can ask the next question. The investigation engine must still tie every answer to a receipt.

Docket Research5 min read

An investigation agent is useful only when it can interrogate an execution record, not repeat a summary. It should ask whether a token amount represents dollars, whether a bridge message settled, whether an operator’s ledger matches execution, and what a recipient did with the funds. Each answer must be traceable to the transaction that supports it.

That is the difference between a chatbot beside a blockchain explorer and an agent working on an investigation engine. Docket reconstructs histories and decodes protocol activity; the agent reads case status, questions and findings, then helps the investigator decide what to ask next. The engine remains responsible for the accounting. Four public cases show why that boundary matters.

Four public accounts, checked against the receipts that settle them. Open each list for transaction links; the cases measure different things.

Binance: token units are not dollars

Public figure“nearly USD 100M”Receipt-token units described as dollars
Chain recount1,047,267.78 USDT96,158,467.55 jUSDT redeemed; about 92× fewer underlying units
Open 6 receipts

Four attested CCTP returns totaled 150,575.29 USDC; no matching Solana mint appeared.

Orbit Bridge: compare records to payouts

Public accountSix headline releasesThe first was recorded on December 31, 2023
Chain recount33 earlier discrepanciesFirst payout 28h 24m 48s earlier; 48 other payouts matched operator amounts
Open 33 payout receipts

Operator records are the comparison, not proof of burns.

Raydium: reconcile the published CSV

Official CSV773 signaturesPublished exploit transaction list
Decoded withdrawals776 successful withdrawalsThree omitted receipts: 232.23 wSOL + 3,121.13 USDC
Open 3 omitted withdrawals

Kokomo: follow the lending event

Published snapshotFour wallets “currently hold” the fundsBlockApex, April 16, 2024
Decoded protocol events121.7465 BTCB repaidEleven Venus repayments across two borrower accounts
Open 11 Venus repayments

Transfer identifies payer; RepayBorrow identifies borrower.

Start with the asset, not the ticker

The Binance attack mechanism and early routing work were already documented by Protos, Tibane Labs, Halborn, GCSA, Bitquery, Yfarmx, SomaXBT and Shridlock. The useful follow-up was not to rediscover the route. It was to check what the receipt token could actually redeem for.

TRM’s update described the sale as a withdrawal of nearly USD 100 million in receipt tokens. The sale paid out 96,158,467.55 jUSDT. Thirty-nine seconds later, redeeming those receipts produced 1,047,267.78 USDT. The difference is roughly ninety-two to one. jUSDT is a claim on a lending pool, not USDT itself; its name tells you what it references, not how many underlying tokens it can be exchanged for. The correction depends on following the receipt-token contract through its redemption, not reading the transfer amount as a dollar figure. The full Binance recount links both TRON transactions.

The same investigation found a different incomplete state in Circle’s Cross-Chain Transfer Protocol. Four return messages carried Circle attestations and Noble-side burns totaling 150,575.29 USDC, but no matching mint appeared in the checked Solana recipient history. The destination program’s UsedNonces account still marked those message nonces unused. An attestation is not delivery: someone must submit the message on the destination chain. Nobody had submitted those messages on Solana. Each Noble transaction is linked in the figure, alongside the destination account.

An agent should keep the questions separate: what did the receipt token redeem for, and did the destination consume the message? The engine must join token contracts, transfers, redemption events and nonce state before the agent explains the answer.

Treat the ledger as evidence to test

Orbit Bridge’s official account described six headline releases. Comparing retained operator records with Ethereum execution found 83 records: 81 payouts, 33 above the recorded amounts and 48 matching. The first discrepancy landed on December 30, 2023, at 16:27:59 UTC, about 28 hours and 25 minutes before the first headline release. All 33 were submitted by the incident sender; all 48 matches used the relayer. The figure links every discrepant receipt.

Orbit’s source ledger wasn’t available, so the operator records serve as the comparison; the full comparison links the receipt schedule and submitter check.

Raydium’s postmortem and OtterSec documented the compromised pool-owner mechanism; CertiK used the same first transaction. The official CSV had 773 signatures; the reconstruction found 776 successful WithdrawPnl withdrawals across nine pool accounts. Three receipts were absent, totaling 232.226638962 wSOL and 3,121.128261 USDC. The largest was already linked in the postmortem. The new finding was the CSV omission, not an unknown exploit transaction.

One early payment also became 3,120.91 Solana-origin USDC on Ethereum, distinct from native USDC. Same ticker, different contract and provenance. A cross-chain agent needs the engine to match the bridge message and destination receipt, then keep the wrapper separate. The Raydium recount links all three withdrawals.

Follow the protocol outcome

CertiK documented the Kokomo theft; Bit Jungle via PANews listed four cross-chain recipients. A later BlockApex article still said those addresses “currently hold” the funds. The BNB Chain branch had a different outcome: three wallets made eleven Venus repayBorrowBehalf calls, paying 121.7465 BTCB toward debt across two borrower accounts. The figure links every repayment.

Here the event type changes the meaning. Transfer names the payer and market; RepayBorrow names the borrower and amount of debt repaid. The BTCB did not remain in the original wallets: it reduced debt on two borrower accounts. Borrowing continued between repayments. The separate Arbitrum route stays outside the Venus total. The Kokomo investigation follows both paths and marks the source-side boundary.

A wallet graph shows where an asset moved; a protocol event shows what it did. If an agent treats the recipient as the beneficiary or repayment as a deposit, it produces a plausible but wrong story. The engine must preserve the borrower field; the agent can then point to the borrower’s activity rather than search again for BTCB in the original wallet.

Keep the agent on the evidence

Docket reconstructs histories across 26+ EVM networks, plus Solana, Bitcoin, TRON, Cosmos, NEAR and XRPL. It decodes liquidity positions, lending, options, bridges and settlements, and reconciles exchange imports with on-chain activity. Its investigations cover fund tracing, due diligence, source of funds and incident response.

A connected agent can read case status, quote, questions, Findings, Holdings, Activity and generated package files. Connections are read-only by default. With explicit permission, it can start free assessments, answer or revise questions, attach case records and send feedback. It cannot edit the ledger, approve the quote or pay. The free assessment defines scope and gives a fixed quote; a person approves paid work in the signed-in browser.

That boundary is deliberate. The agent can carry case context, help choose the next question and explain assembled evidence, but it cannot silently rewrite accounting or commit the user to a financial action. The investigator can open the supporting receipt, challenge the interpretation and decide what happens next.

Agentic AI is useful here not because a model guesses what a transfer meant, but because it guides the investigator through an exact, inspectable record. The agent asks and explains; the engine decodes and reconciles; the investigator decides. The answer can be checked and handed off without relying on model confidence.

If you’re working a case like this one, Docket Investigations does this kind of reconstruction, with the receipts attached. Talk to us about a case