analyze_jeb_projectHow to REA with JEB Decompiler: Enterprise MCP Bridge & Multi-Engine Units
Interface with Pcreative JEB Decompiler in enterprise environments: query project units, decompile DEX, native machine code, and WebAssembly units, and synchronize comments and renamed symbols with AI reasoning agents.
In this official REA guide for JEB Decompiler Integration (Enterprise Units), AI coding agents (Claude Code, Cursor, Windsurf) execute 'REA_JEB_MCP_URL=http://127.0.0.1:8989 rea analyze-jeb-project --json' to safely extract file layout, symbols, and code logic without launching unverified binaries.
The Problem & Target Artifact
Enterprise collaborative reverse engineering: A security team maintains an active JEB Decompiler workspace for a complex multi-platform malware campaign. You need Claude Code or Cursor to query existing decompiled units, rename variables, and annotate findings.
Natural Language Agent Instructions
Copy and paste this prompt directly into your AI coding agent when REA is registered via Model Context Protocol (MCP):
Connect to the active JEB session via REA_JEB_MCP_URL. List all project units, retrieve the decompiled pseudocode for the primary crypto dispatch unit, and document the encryption keys.Run REA Analysis Command
Execute the following command in your terminal or inspect the MCP JSON-RPC call executed by your agent:
REA_JEB_MCP_URL=http://127.0.0.1:8989 rea analyze-jeb-project --jsonWhat REA Extracts & Returns
JEB Project Units & Decompiled Method Telemetry
The verified findings and synthesized clean-room structures generated from this investigation:
{
"jeb_session": "http://127.0.0.1:8989",
"project_name": "banking_trojan_v4.jdb2",
"units": [
{ "id": 1, "name": "classes.dex", "type": "dex", "methods_count": 2840 },
{ "id": 2, "name": "libnative-crypto.so", "type": "elf_arm64", "functions_count": 142 }
],
"active_unit": 2,
"decompiled_status": "complete"
}JEB Headless MCP Bridge Architecture
REA connects to JEB through a local HTTP/SSE Model Context Protocol endpoint exposed by the JEB REA plugin. This gives AI agents direct access to JEB's AST representation and intermediate decompiler representations without requiring manual UI export steps.