reverse-engineering-assistant
by th3w1zard1
Overview
Provides a Model Context Protocol (MCP) server to expose Ghidra's reverse engineering capabilities for automated binary analysis and interaction by AI models or external tools.
Installation
python -m reva_cliEnvironment Variables
- GHIDRA_INSTALL_DIR
- REVA_SERVER_USERNAME
- REVA_AUTO_LABEL
- REVA_SERVER_PORT
- REVA_SERVER_HOST
- REVA_API_KEY
- REVA_API_KEY_ENABLED
- REVA_DEBUG_MODE
- REVA_REQUEST_LOGGING_ENABLED
- REVA_MAX_DECOMPILER_SEARCH_FUNCTIONS
- REVA_DECOMPILER_TIMEOUT_SECONDS
- REVA_IMPORT_ANALYSIS_TIMEOUT_SECONDS
- REVA_WAIT_FOR_ANALYSIS_ON_IMPORT
- REVA_IMPORT_MAX_DEPTH
Security Notes
The server defaults to binding on all network interfaces (0.0.0.0) and has API Key authentication disabled by default. This creates a critical security vulnerability if run without explicit configuration to enable API keys and restrict network binding. It can perform extensive filesystem operations (importing, creating/deleting projects) and complex, resource-intensive analysis (decompilation) which could be exploited without proper access control. While internal Ghidra operations are wrapped in transactions and resource limits (like decompiler timeouts) are present, the default network exposure with no authentication is a major concern.
Similar Servers
ida-pro-mcp
This project provides an MCP (Model Context Protocol) server that integrates with IDA Pro, enabling AI assistants to perform reverse engineering tasks like binary analysis, decompilation, memory manipulation, and debugging within the IDA Pro environment.
reverse-engineering-assistant
Provides an MCP (Model Context Protocol) server to expose Ghidra's reverse engineering capabilities for AI models and automated binary analysis in a headless environment.
GhidrAssistMCP
This Ghidra extension provides an MCP server, enabling AI assistants and other tools to interact with Ghidra's reverse engineering capabilities through a standardized API, supporting program analysis, modification, and navigation.
gis-mcp
A Model Context Protocol (MCP) server that provides AI agents and LLMs with comprehensive GIS capabilities, enabling geospatial analysis, data gathering, and transformations through natural language.