Agent-powered workflow

REA

Connect your coding agent to tools for investigating apps and understanding their behavior.

Ecosystem
multi tool, ghidra, ida
Analysis execution
local
Pricing model
free
Evidence
Hands-on tested

Where it fits

Understand where REA fits, what it connects to, and what to check before your first investigation.

  • Investigating one feature in an unfamiliar application
  • Connecting a coding agent to analysis tools
  • Following evidence from program behavior to code

Before you start

  • A supported coding agent and model connection
  • Node.js/npm for the documented setup workflow
  • A compatible analysis engine for native targets

Follow the data flow

The project describes analysis as local. The connected coding agent and model provider can have their own data flow; local analysis does not imply offline model inference.

Understand the complete cost

REA-authored code is MIT licensed. Model usage and commercial analysis engines can have separate charges and licensing requirements.

Limits to keep in view

  • The agent, model provider, and analysis engine are separate dependencies.
  • Supported targets and providers vary; consult the current official setup guide.
  • An explanation or reconstruction is not a guarantee of recovering original source code.
  • Our recorded case covers native analysis and process capture through a local MCP client; agent setup and model accuracy were not benchmarked.
What we checked

This profile includes the recorded verification shown below. Conclusions are limited to that environment and sample.

Recorded verification

DownUnderCTF 2023 masked squares flag checker / 2026-10-23

Environment: Ubuntu 24.04 x64 under WSL 2 on Windows, REA 6.7.0, host Node.js 24.15.0 / Ghidra 12.1.4 / Temurin JDK 21.0.13 / Python 3.14.6 / Z3 5.3.1, model Codex authoring session interpreted REA MCP results; no isolated model benchmark.

Sample SHA-256: dcd3bec4f608e11f3a12ce461100aaf5f621851ee63a1f870d7c90d4e3dd51ae

  1. Download and hash-check the unchanged executable from the organizers’ pinned revision.
  2. Use REA MCP to search strings, follow a reference, inspect the checker and its two helpers, and read both data tables.
  3. Decode all 26 masks, solve their sums with stated flag-format assumptions, and check every equation.
  4. Use REA process capture to run the candidate and a single-character change against the original executable.

Expected: A candidate accepted by the original checker and a changed input it rejects.

Observed: The candidate passes all 26 reconstructed equations. Original program captures return Correct! / exit 0 and Incorrect! / exit 255 for the position-21 change from 7 to 8, without output truncation.

  • Guided reproduction after reading the official REA showcase and its answer; not a blind discovery.
  • The browser evaluates one reconstructed equation and replays the two recorded original-program verdicts.
  • Flag alphabet and DUCTF{...} shape are analyst assumptions. Candidate uniqueness is not proved.
  • Public JSON has local paths normalized; internal canonical digests describe the original records, not these edited publication copies.

Joplin Desktop 3.7.21 / Markdown export / 2026-10-23

Environment: Windows x64, REA 6.7.0, host Node.js 24.15.0 / installed Joplin Desktop 3.7.21 / @electron/asar 4.3.1, model Authoring assistant interpreted CLI evidence; no isolated model benchmark.

Sample SHA-256: 9f793336c679ea3214542587ca42abc77e82184327e3f7677f22d47d8ae23506

  1. Inspect the installed ASAR with REA and analyze three export entry files.
  2. Locate the service/exporter in the shipped bundle and select unchanged AST regions, retaining offsets and hashes.
  3. Analyze the selected classes with REA and trace notePaths, destResourcePaths and the preparation call.
  4. Run the original selected service/exporter/helpers with synthetic model, serializer, module-selection and FS/path adapters; verify emitted links, collision suffixes, resource hashes and operation order.

Expected: Explain how note/resource IDs become exported file paths, including collisions and nested notebooks.

Observed: Nine assertion groups pass. Same-title notes and notebooks get distinct paths; all five emitted note/image link destinations resolve; three resource hashes match inputs; resources are copied before note bodies. Two data-flow traces remain ambiguous and are not treated as complete runtime flow.

  • Controlled module replay, not a desktop UI export or a read of any Joplin profile.
  • The analyst selected original bundle regions. Imported aliases and omitted modules are not globally resolved by the bounded REA analysis.
  • Database/model lookup, serialization, exporter selection, filesystem/path adapters and inert naming annotations are injected.
  • Public evidence contains selected fields or normalized paths; it is not an untouched canonical re-import bundle.

Sources & verification