GhidraGPT
December 16, 2025 ยท View on GitHub
A powerful Ghidra plugin that integrates Large Language Models (LLMs) directly into Ghidra to enhance reverse engineering workflows with code analysis and enhancement capabilities.
๐ฅ Demo

๐ Features
Core Functionality
- Function Rewrite: Improve code readability through function renaming, variable renaming, type inference, function prototype updating, and adding contextual comments to make decompiled code more human-readable
- Code Explanation: Detailed explanations of function logic and behavior
- Code Analysis: Vulnerability detection and security analysis
Integration Features
- Context Menu Integration: Right-click functions for instant model analysis
- Console Interface: Dedicated console for viewing model responses and results
- Flexible Configuration: Easy setup through configuration panel
- Stream Processing: Real-time model response streaming for better user experience
๐ ๏ธ Installation
-
Clone the Repository:
git clone https://github.com/ZeroDaysBroker/GhidraGPT.git cd GhidraGPT -
Build the Plugin:
GHIDRA_INSTALL_DIR=/path/to/ghidra mvn clean packageThe built extension will be at
target/GhidraGPT-x.y.z.zip -
Install in Ghidra:
- Open Ghidra
- Go to
File โ Install Extensions - Click the
+button and selecttarget/GhidraGPT-x.y.z.zip - Restart Ghidra
- Enable the plugin via
File โ Configure โ Analysis โ GhidraGPTPlugin
-
Configure API Keys:
- Open Ghidra and navigate to the GhidraGPT configuration panel
- Enter your preferred model service API key
- API keys are automatically encrypted and stored securely
๐ Supported AI Providers
- OpenAI: GPT models
- Anthropic: Claude models
- Google Gemini: Gemini models
- Cohere: Command models
- Mistral AI: Mistral models
- DeepSeek: DeepSeek models
- Grok (xAI): Grok models
- Ollama: Bring your own model
- OpenAI Compatible: Bring your own compatible OpenAI compatible API
๐ค Contributing
Contributions are welcome! Please feel free to submit issues, feature requests, or pull requests.
๐ License
This project is licensed under the terms specified in the LICENSE file.
๐ Dependencies
- Ghidra: Compatible with Ghidra 10.0+
- Java: Java 11+
- Maven: Build system
GhidraGPT - Enhancing reverse engineering with the power of AI
