REA-Argonaut
Health Warn
- License — License: MIT
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Low visibility — Only 8 GitHub stars
Code Fail
- exec() — Shell command execution in bridge/pwndbg/core_context.py
- exec() — Shell command execution in bridge/pwndbg/launch.py
- exec() — Shell command execution in bridge/pwndbg/launch_impl.py
- exec() — Shell command execution in bridge/pwntools/layout.py
- exec() — Shell command execution in bridge/pwntools/layout_impl.py
- exec() — Shell command execution in bridge/pwntools/recorded_crash.py
- exec() — Shell command execution in bridge/pwntools/recorded_crash_impl.py
Permissions Pass
- Permissions — No dangerous permissions requested
No AI report is available for this listing yet.
Zero-G Reverse Engineering Anything & Verified Safe Rust Reconstruction for Gemini 4 Argon + Google Antigravity 2.0 (4-Mount Recon Kits, Whole-Subgraph Extraction, 10,000-Vector Differential Parity Referee)
REA-Argonaut (ArgonZeroG)
Zero-G Reverse Engineering Anything & Sandboxed Closed-Loop Rust Parity Verifier for Gemini 4 Argon + Google Antigravity 2.0
REA-Argonaut (package: rea-argonaut, CLI: argonaut, MCP server: rea-argonaut) is a cross-platform (linux, darwin, win32) reverse-engineering and verified Rust reconstruction suite, engineered as a first-class Google Antigravity 2.0 Plugin and Model Context Protocol (MCP) server.
Built as a full superset of morluto/rea (Reverse Engineer Anything), REA-Argonaut preserves all 35 original REA reverse-engineering domains (187 tools) while introducing the ArgonZeroG architecture and 7 new high-throughput forensic, recon-kit & verification tools (194 total MCP tools across 39 contract domains) designed for long-context frontier reasoning models.
[!TIP]
New to Reverse Engineering or Vibe Coding? Start with the Visual User Guide:
ReadUSER_GUIDE.md— The Zero-to-Hero Visual Field Manual & Decoder Ring for a plain-English walkthrough of the 3-Stage Division of Labor, what each of the 4 Mounts extracts, how to choose between the 4 Engineering Harnesses when Antigravity prompts you viaask_question, and copy-paste starter prompts.
Why REA-Argonaut? (ArgonZeroG Architecture)
Legacy MCP reverse-engineering servers were architected for small-context models, enforcing tiny pagination limits (64-character string previews, 50-line pseudocode slices, 20-row table pages) that force frontier agents into hundreds of sequential RPC round-trips and destroy KV context-cache reuse.
REA-Argonaut eliminates token-scarcity bottlenecks across six architectural pillars:
1. decompile_subgraph (ArgonZeroG Subgraph Batch Engine)
- Single-Call Call-Graph Extraction: Traverses a target binary's call graph (
BFSorDFS, cycle-safe up tomax_depth: 5andmax_nodes: 256) and returns an entire subsystem's decompiled C pseudocode, disassembly, cross-references (XREFs), referenced string literals (2048-char previews), P-Code inferred struct field offsets (inferred_struct_offsets), and latent binary hazards (latent_hazards) in one deterministic JSON payload. - 95%+ Context-Cache Reuse: Emits a topologically ordered, immutable subgraph representation so multi-turn agent reasoning and Rust reconstruction reuse cached KV prefixes instead of fragmenting context across dozens of micro-paginated tool calls.
- Raised
ArgonZeroGLimits Across Canonical Tools:search_strings:max_preview_lengthraised to2048(default: 512),limitraised to2000(default: 250).procedure_pseudocode/analyze_function:max_linesraised to5000(default: 1000,detail: "full"by default).procedure_disassembly:max_instructionsraised to5000(default: 1000).list_procedures/search_procedures/search_symbols/binary_overview:limitraised to2500(default: 500).
2. export_recon_kit (Universal 4-Mount Recon Kit & Blueprint Exporter)
- 4-Phase Recon-to-Argon Handoff: Materializes
RECON_BLUEPRINT.mdand the structured 4-Mountrecon-kit/workspace directory (Mount 1: native-binary,Mount 2: packaged-ui-archive,Mount 3: hardware-firmware-protocol,Mount 4: ai-model-data) in a single execution-free pass (mock_ui_concepts: falseby default, producing zero unsolicited HTML files). - Native
ask_questionHarness Routing: Pairs with Antigravity's nativeask_questiondecision control so users choose which subsystem and which of the 4 Harnesses (verified-safe-rust-port,clean-room-app-ui-rebuild,hardware-hal-protocol-replay,security-hazard-audit) to execute.
3. 2-Tier Cross-Platform Native Engine (linux, darwin, win32)
- Tier 1 (Deep Decompiler Engine — Auto-Detected via
provider: "auto"): Works directly with standard desktop installations of Ghidra (11.xand12.x), IDA Pro (idat/idalib), Hopper Disassembler, and JEB. By default,REA-Argonautdrives their built-in headless runners in the background so the AI agent never blocks on GUI dialogs—while also exporting standard C headers (recon-kit/types/recovered_types.h) that you can import into your interactive Ghidra or IDA Pro desktop GUI (File -> Parse C Source) for side-by-side visual analysis. - Tier 2 (
ZeroInstallNativeProviderZero-Install Fallback): Out-of-the-box binary layout, symbol/section discovery, stripped C++ RTTI/VTable slot seeding (ClassName__vslot_N_<addr>), call-graph extraction, and disassembly when Ghidra/Hopper/IDA are not installed:- Linux (
ELF): GNUbinutils(objdump,readelf,nm) + native ELF header parser. - macOS (
Mach-O):otool,nm,lipo,llvm-objdump+ universal fat-binary slice parser. - Windows (
PE/COFF):llvm-objdump,dumpbin+ native PE/COFF header/import/export parser. - Python Layout & Crash Bridge (
bridge/pwntools/layout_impl.py&recorded_crash_impl.py): Dual-path backend supportingpwntoolswhen installed and a 100% Python stdlib fallback on clean hosts.
- Linux (
4. 100% Vanilla REA Superset (187 Retained Tools) + 7 ArgonZeroG Forensic Verticals (194 Total MCP Tools Across 39 Domains)
In addition to every original REA capability (JavaScript/Web bundles, Source Maps, Chrome DevTools/CDP, Frida, GDB/LLDB/WinDbg, Android APK/DEX, iOS IPA, JVM/JAR, .NET CIL, WebAssembly, Electron ASAR, Mach-O/ELF/PE, Hermes/React Native, Lua, Flash SWF, Archives, PCAP/HAR, EVM/Solidity, Firmware, Symbolic Execution, YARA/Capa), REA-Argonaut adds purpose-built forensic verticals:
inspect_rust_cpp_binary— Stripped Rust & Modern C++ Binary Forensics:- Recovers crate names and exact versions from
.cargo/registry/src/...paths andcore::panicking::Locationtuples even instrip --strip-allbinaries. - Native TypeScript Rust
_RNvv0 and legacy_ZNsymbol demangler + Itanium (_Z) and MSVC (?) C++ demangler. - Reconstructs C++ VTables and RTTI (
typeinfo) across ELF (SHT_RELAPIE relocation resolution), Mach-O, and PE binaries without launching a heavy decompiler session.
- Recovers crate names and exact versions from
inspect_python_frozen_binary— Execution-Free Frozen Python Unpacker:- Pure-TypeScript parser for PyInstaller (
MEI\x0c\x0b\x0a\x0b\x0e) CArchive trailers,PYZzlib-compressed embedded module tables, and PEP 552.pyccode-object marshal streams. - Extracts Python version, entry-point scripts, bundled package manifests,
co_names,co_consts, and string literals without executing untrusted bytecode.
- Pure-TypeScript parser for PyInstaller (
inspect_ai_model_artifact— Zero-Copy Streaming AI Model Forensics:- Constant-memory (
fs.open+ boundedread()) streaming inspector forGGUF(v1–v3),SafeTensors,ONNX, andTFLiteartifacts. - Extracts architecture hyperparameters, quantization distribution, tensor layouts, and embedded Jinja
tokenizer.chat_template/system_promptstrings without loading multi-gigabyte weight buffers into RAM.
- Constant-memory (
inspect_engine_archive— Game Engine Metadata & Asset Pack Inspector:- Parses Unity IL2CPP
global-metadata.dat(0xFAB11BAF, v24–v31) to recover C# namespaces, class/type definitions, method names, and string literals from native-compiled Unity binaries. - Parses Godot Engine
.pck(GDPC, v1–v3) and Electron.asararchives to enumerate packed.gd/.gdcscripts,.tscnscenes,package.jsonentrypoints, and native.nodeaddons.
- Parses Unity IL2CPP
5. Closed-Loop Sandboxed Rust Parity Verifier (verify_rust_parity)
- Automated Differential FFI Harness: Compiles a C reference implementation (or loads an existing
.so/.dylib/.dllviadlopen/dlsym) alongside a candidate#![forbid(unsafe_code)]Rust reconstruction (rustc --crate-type cdylib) and runs10,000+SplitMix64 randomized + boundary test vectors (0,1,-1,MIN,MAX, powers of two, bitmasks) in-process. - Deterministic Counterexample Shrinking: Automatically binary-searches any diverging input down to the minimal failing argument tuple (
counterexample.shrunk_inputs,bit_diff_summary) so the agent can self-heal its Rust port in a closed loop. - Clean Cargo Crate Scaffolding (
scaffold_output_dir): Scaffolds a 100% pure#![forbid(unsafe_code)]Rust Cargo crate (Cargo.toml,src/lib.rs,tests/parity_regression.rs) with zero HTML clutter by default (html_report_path/--html-reportis strictly opt-in). - OS-Native Sandboxed Execution: Runs compiled harnesses inside isolated OS sandboxes:
- Linux:
bwrap(bubblewrapnetwork-isolated namespace) +prlimitCPU/AS/NOFILE caps. - macOS:
/usr/bin/sandbox-exec((deny network*)Seatbelt profile) +ulimit. - Windows: Restricted Job Objects / timeout-bounded process groups.
- Linux:
6. Hardware-Adaptive Runtime Scaling (AdaptiveResourceProfile)
- Dynamically inspects
os.availableParallelism()andos.totalmem()at startup (src/config/AdaptiveResourceProfile.ts) to scale JavaScript AST worker pools, Headless Ghidra JVM heap (-XX:ActiveProcessorCount,-Xmx), and concurrent subprocess budgets across laptops, CI containers, and 128-core workstations with zero hardcoded CPU limits.
Quickstart
1. Install & Build
npm install
npm run build
2. Run the End-to-End ArgonZeroG Showcase
Compile a multi-function C cryptographic/compression pipeline (argon_cipher_pipeline), strip all symbols, extract the whole call-graph in one decompile_subgraph call, inspect stripped Rust/C++ panics & VTables, stream-inspect a GGUF AI model header, and prove bit-exact C-to-Rust parity across 10,000 FFI test inputs:
npm run showcase
3. CLI Usage (argonaut)
# Check host toolchains and adaptive hardware profile
node dist/cli.js doctor
# Materialize a Universal 4-Mount Recon Kit (RECON_BLUEPRINT.md + recon-kit/)
node dist/cli.js export-recon-kit /path/to/target --output-dir ./recon-output
# Single-call ArgonZeroG call-graph extraction
node dist/cli.js open /path/to/binary --alias target
node dist/cli.js decompile-subgraph --session target --entry 0x401120 --max-depth 3
# Standalone forensic inspectors (no binary session required)
node dist/cli.js inspect-rust-cpp-binary --path /path/to/stripped_rust_or_cpp_bin
node dist/cli.js inspect-python-frozen-binary --path /path/to/pyinstaller_binary
node dist/cli.js inspect-ai-model-artifact --path /path/to/model.gguf
node dist/cli.js inspect-engine-archive --path /path/to/global-metadata.dat
# Closed-loop C vs. Rust FFI differential parity verification
node dist/cli.js verify-rust-parity \
--target-binary-path /path/to/libtarget.so \
--symbol-name compute_tag \
--arg-types u64,u32 \
--return-type u64 \
--rust-source-code '#[no_mangle] pub extern "C" fn compute_tag(a: u64, b: u32) -> u64 { ... }' \
--iterations 10000
Google Antigravity 2.0 Plugin & MCP Server Setup
First-Class Antigravity Plugin (plugin.json & plugins/rea-argonaut/)
REA-Argonaut ships with a canonical plugins/rea-argonaut/plugin.json (and root plugin.json) manifest, rules, 4 swarm subagents, and bundled skills:
plugins/rea-argonaut/skills/rea-argonaut/SKILL.md—ArgonZeroG4-Phase Recon-to-Argon Handoff (export_recon_kit), Whole-Subgraph Batch Decompilation (decompile_subgraph), Stripped Rust/C++/PyInstaller/AI-Model/Engine-Archive Forensics, and Closed-Loop Rust Parity Verification (verify_rust_parity) playbooks.plugins/rea-argonaut/rules/AGENTS.md— Always-on operational rules enforcing single-calldecompile_subgraph,#![forbid(unsafe_code)]Safe Rust,verify_rust_parity, nativeask_questiondecision controls, and living workspace docs vs. brain artifacts.
.gemini/settings.json / MCP Configuration
Copy .gemini/settings.json.example to .gemini/settings.json (or register in your MCP client):
{
"mcpServers": {
"rea-argonaut": {
"command": "node",
"args": ["/absolute/path/to/REA-Argonaut/dist/main.js"],
"env": {
"MCP_TOOL_RESULT_CONTENT_MODE": "text-only"
}
}
}
}
Or via npx:
{
"mcpServers": {
"rea-argonaut": {
"command": "npx",
"args": ["-y", "rea-argonaut"],
"env": {
"MCP_TOOL_RESULT_CONTENT_MODE": "text-only"
}
}
}
}
Attribution & License
Released under the MIT License.
REA-Argonaut gratefully acknowledges and builds upon morluto/rea (Reverse Engineer Anything, Copyright (c) 2026 morluto, MIT License), preserving its complete multi-domain reverse-engineering architecture, process supervision, and decompiler bridges while extending it with the ArgonZeroG subgraph engine, zero-install cross-platform fallback, specialized forensic inspectors, and sandboxed Rust parity verifier. See LICENSE and THIRD_PARTY_NOTICES.md for full details.
Reviews (0)
Sign in to leave a review.
Leave a reviewNo results found