How vdp-bot/rea works
REA is a local reverse-engineering toolkit exposed through MCP and CLI workflows. An agent or terminal user requests an investigation; REA dispatches analysis to domain-specific tools and returns findings with evidence and limitations. The README documents native, JavaScript/Electron, browser, Android, firmware, and other analysis capabilities. Source excerpts substantiate the reverse-engineering CLI/service path; other capability links are documented at a high level, so their internal dispatch is not asserted.
Main entry points: ReverseEngineeringService.ts Reverse service · reverseEngineeringCommands.ts Analysis CLI · BrowserObservationService.ts Browser capture · GhidraProviderClient.ts Native providers
Components 17
Entry points
- MCP server
src/main.ts - Analysis CLI
src/cli/reverseEngineeringCommands.ts
Analysis core
- Reverse service
src/application/reverse/ReverseEngineeringService.ts - Evidence model
src/domain/evidence.ts - Error projection
src/domain/analysisErrorProjection.ts
Native analysis
- Native providers
src/ghidra/GhidraProviderClient.ts - Debug sessions
src/gdb/GdbSessionManager.ts - Binary diagnostics
src/application/binaryDiagnostics
Application analysis
- Android analysis
src/application/android - JavaScript analysis
src/javascript/analysis/JavaScriptAnalysisWorker.ts - EVM inspection
src/evm/EvmoleInterfaceWorker.ts - Firmware analysis
src/application/firmware
Runtime observation
- Browser capture
src/application/BrowserObservationService.ts - Browser scenarios
src/browser/PlaywrightScenarioStorage.ts - Network capture
src/application/captures/PacketCaptureService.ts
Other components
- AI agent
- Terminal user
Connections 16
- AI agent → MCP server: requests analysis
README.md - Terminal user → Analysis CLI: runs commands
README.md - Analysis CLI → Reverse service: calls service
src/cli/reverseEngineeringCommands.ts - Reverse service → Evidence model: retains evidence
src/application/reverse/ReverseEngineeringService.ts - Reverse service → Native providers: dispatches analysis
- Reverse service → Debug sessions: starts sessions
- AI agent → Native providers: investigates binaries
- AI agent → Binary diagnostics: requests diagnostics
- AI agent → Android analysis: inspects apps
- AI agent → JavaScript analysis: analyzes applications
- AI agent → EVM inspection: inspects contracts
- AI agent → Firmware analysis: analyzes firmware
- AI agent → Browser capture: observes websites
- Browser capture → Browser scenarios: stores scenarios
- AI agent → Network capture: captures traffic
- Reverse service → Error projection: projects failures