Multi-Agentic Harnessing for Reverse-Eng ...

Multi-Agentic Harnessing for Reverse-Engineering

Nov 24, 2026
21

An AI agent can produce a convincing interpretation of unfamiliar code. In reverse engineering, convincing is not enough. A finding should lead another analyst back to the artifact, the tool observation, and the check that supports it.

That is the question behind my Workspace W1 case study: how can several agents assist with source recovery while keeping evidence and analyst authority intact? W1 is a single-workspace harness for JVM artifact inspection and reconstruction. Malware analysis is an intended application, but this work has not validated detection, attribution, or incident response on malware samples.

How the workflow is organized

The analyst sets the task, permitted actions, and stopping conditions. A coordinator routes bounded work through a bytecode inspector, a remapper, and a separately scoped recovery QA role.

image

Figure 1. W1's primary agent roles. The analyst retains scope and material review; the remapper cannot approve its own work.

The inspector cites locations in the compiled artifact. The remapper proposes recovered names or source interpretations with evidence and uncertainty. QA checks the candidate against the original evidence and records an accept, reject, or blocked decision. A rejection returns with a reason; an evidence gap stays blocked. Machine acceptance is not independent human approval, and repository commits retain a human checkpoint.

Make evidence portable across handoffs

Each material claim needs a record of identity (which artifact and version), location (where to inspect it), reproduction (which tool call or test produced the observation), and decision (what review concluded and why).

image

Figure 2. The evidence record links a claim to its source, reproduction path, and review decision.

W1 uses structured handoffs, exact retrieval, and hash-bound records to keep those pieces connected. A matching hash can establish byte identity against a trusted reference; it cannot establish that an agent understood those bytes. Two agents agreeing are not independent corroboration when they share context or a model. Original artifacts, tool outputs, model hypotheses, and reviewed findings need distinct labels and a path for correction.

What the measurements actually show

The report separates frozen context replays, a live proxy window, worker-process records, and later synthetic checks. Their denominators and purposes differ:

  • Frozen context replays: combined selection and compression reduced input by 50.90% in an October 16 replay and by 80.16% or 76.73% in two alternative October 21 configurations on the same corpus. These are transport-token reductions. The configurations cannot be pooled, and the replays did not test equivalent model answers or faster recovery.

  • Live proxy window: across 4,713 runtime records in 40 elapsed hours on October 25–27, proxy input fell from 383,088,541 to 381,620,265 tokens: 1,468,276 tokens, or 0.3833%. This measures the proxy after upstream context selection, including requests with zero saving. It is a different accounting boundary from the frozen full-context replays.

  • Worker activity: 232 role attempts were retained across 83 sessions. Twenty-six reached bundle completion and 57 were marked blocked. Those labels are not independently adjudicated task-success outcomes. Worker time excludes active analyst effort and pauses.

image

Figure 3. Context retained in three historical replay configurations. Lower input volume is not evidence of equivalent analysis quality or analyst time saved.

One frozen 12-fact fixture probed the distinction between context availability and final answers. A model-assisted selector-only condition ended with 6 of 12 facts; selector plus compression and exact retrieval ended with 12 of 12. A separate non-model check reproduced all eight omitted facts by exact key. Query wording and input order mattered. This is one fixture, not a general retention or speed result.

In a four-candidate synthetic QA probe, two review arrangements each matched the source-known decisions: one accept, two rejects, and one evidence-insufficient block. Authority-first review used an extra stage and showed no final-decision advantage in this set. Four candidates do not establish a population error rate.

Boundaries beyond the prompt

Source strings, retrieved passages, and tool responses can contain instructions aimed at an analyst or model. W1 treats that material as untrusted data and uses validation gates and restricted execution paths alongside role instructions. Bounded benign probes observed particular write, network, and runtime limits. They do not establish broad prompt-injection resistance or containment against every hostile artifact.

There is no matched manual or single-agent baseline here, no independently adjudicated outcome set for the historical sessions, and no public reproduction package yet. Proxy token and modeled dollar counters are not verified invoice savings. The study therefore does not establish analyst time saved, detection improvement, or production readiness.

The next evaluation should compare manual analysis, one tool-using agent, and the reviewed multi-agent workflow on matched, source-known tasks. It should score supported findings and critical errors, active analyst work, elapsed time, blocked cases, and rework. Until then, W1 is a case study in reviewable orchestration and bounded controls.

If you use AI in reverse engineering, what evidence would you need before trusting another agent's conclusion?

Enjoy this post?

Buy PoseidonsCave a coffee