How yogerawat26/reaoct26 works
REA is a local reverse-engineering MCP server with a CLI that investigates binaries, applications, and runtime behavior, then returns findings and evidence for an agent or engineer to interpret. The README describes the user workflow, while the source index identifies implementation areas and some direct module dependencies. Several feature branches are documented but their detailed runtime wiring was not sampled, so those relationships are not expanded beyond the documented workflow.
Main entry points: main.ts MCP server · ReverseEngineeringService.ts Reverse engineering · AnalysisProvider.ts Native analysis providers · reverseEngineeringCommands.ts CLI commands
Components 22
User entry points
- MCP server
src/main.ts - CLI commands
src/cli/reverseEngineeringCommands.ts
Analysis workflows
- Application analysis
src/application/DirectAnalysis.ts - JavaScript analysis
src/javascript/analysis/JavaScriptAnalysisWorker.ts - Browser observation
src/application/BrowserObservationService.ts - Browser scenarios
src/application/BrowserScenarioCaptureService.ts - Reverse engineering
src/application/reverse/ReverseEngineeringService.ts - Android analysis
src/android/JadxAnalysis.ts - SQLite inspection
src/sqlite/SqliteDatabaseInspection.ts
Analysis providers
- Native analysis providers
src/application/AnalysisProvider.ts - Ghidra client
src/ghidra/GhidraClient.ts - Hopper client
src/hopper/HopperClient.ts - IDA client
src/ida/IdaSessionClient.ts - GDB sessions
src/gdb/GdbSessionManager.ts - Rizin sessions
src/rizin/RizinDebugSessionManager.ts - Cutter bridge
src/cutter/CutterBridgeClient.ts
Evidence and results
- Artifact reader
src/artifacts/ArtifactReader.ts - Evidence records
src/domain/evidence.ts - Analysis errors
src/domain/analysisErrorProjection.ts - Analysis result
src/domain/result.ts
Other components
- AI agent
- Engineer
Connections 24
- AI agent → MCP server: asks through MCP
- Engineer → CLI commands: runs commands
- CLI commands → Reverse engineering: uses workflow
src/cli/reverseEngineeringCommands.ts - AI agent → MCP server: requests investigation
- MCP server → Application analysis: inspects applications
- MCP server → JavaScript analysis: analyzes JavaScript
- MCP server → Browser observation: observes runtime
- MCP server → Browser scenarios: captures scenarios
- MCP server → Reverse engineering: offers analysis tools
- MCP server → Android analysis: supports Android
- MCP server → SQLite inspection: inspects databases
src/sqlite/SqliteDatabaseInspection.ts - Reverse engineering → Native analysis providers: executes provider commands
src/application/reverse/ReverseEngineeringService.ts - Native analysis providers → Ghidra client: supports analysis
- Native analysis providers → Hopper client: supports analysis
- Native analysis providers → IDA client: supports analysis
src/ida/IdaSessionClient.ts - Reverse engineering → Artifact reader: reads artifacts
- Reverse engineering → Evidence records: produces evidence
src/application/reverse/ReverseEngineeringService.ts - Reverse engineering → Analysis result: returns typed result
src/application/reverse/ReverseEngineeringService.ts - MCP server → Evidence records: returns findings
- MCP server → Analysis errors: projects failures
src/main.ts - Reverse engineering → GDB sessions: supports debugging
src/cli/reverseEngineeringCommands.ts - Reverse engineering → Rizin sessions: supports debugging
src/cli/reverseEngineeringCommands.ts - Reverse engineering → Cutter bridge: supports provider integration
- MCP server → AI agent: returns findings