Integrate LLM models directly into Ghidra for AI-enhanced reverse engineering.
Java
830
42 commits
updated Jul 22, 2026
GhidraGPT is a Ghidra extension that brings large language models into the decompiler workflow. You right-click a function; the plugin sends that function's decompiled C to an LLM provider of your choice and streams the response back into a dedicated console. Depending on the action, it explains the function, recovers meaningful names/types/comments and writes them back into the program, or reviews the code for likely security issues.
All actions operate on a single function at a time, using its current decompiler output as the only context; there is no interprocedural or whole-program analysis.
GhidraGPT submenu in both the Decompiler and Listing views.Clone the repository:
git clone https://github.com/weirdmachine64/GhidraGPT.git
cd GhidraGPT
Build the extension:
GHIDRA_INSTALL_DIR=/path/to/ghidra mvn clean package
The packaged extension is written to target/GhidraGPT-<version>.zip.
Install in Ghidra:
File → Install Extensions+, select target/GhidraGPT-<version>.zip, and restart Ghidra.File → Configure → GhidraGPT → GhidraGPTPlugin.Configure a provider:
~/.ghidragpt/config.properties, lightly obfuscated with XOR, which is not encryption and should not be treated as secure at-rest storage. Prefer a scoped, rotatable key and protect the file accordingly.| Provider | Notes |
|---|---|
| OpenAI | GPT models |
| Anthropic | Claude models |
| Google Gemini | Gemini models (OpenAI-compatible endpoint) |
| Cohere | Command models |
| Mistral AI | Mistral models |
| DeepSeek | DeepSeek models |
| Grok (xAI) | Grok models |
| OpenRouter | Single key, routed access to many providers' models |
| Ollama | Local models; no API key required |
| OpenAI-compatible | Any endpoint implementing the OpenAI chat-completions API (custom base URL) |
Issues, feature requests, and pull requests are welcome.
Licensed under the terms in the LICENSE file.
GhidraGPT: LLM-assisted reverse engineering, inside Ghidra.
496 followers · starred Sep 2025
67 followers · starred Jul 2026
43 followers · starred Sep 2025
Integrate LLM models directly into Ghidra for AI-enhanced reverse engineering.
Java
830
42 commits
updated Jul 22, 2026
GhidraGPT is a Ghidra extension that brings large language models into the decompiler workflow. You right-click a function; the plugin sends that function's decompiled C to an LLM provider of your choice and streams the response back into a dedicated console. Depending on the action, it explains the function, recovers meaningful names/types/comments and writes them back into the program, or reviews the code for likely security issues.
All actions operate on a single function at a time, using its current decompiler output as the only context; there is no interprocedural or whole-program analysis.
GhidraGPT submenu in both the Decompiler and Listing views.Clone the repository:
git clone https://github.com/weirdmachine64/GhidraGPT.git
cd GhidraGPT
Build the extension:
GHIDRA_INSTALL_DIR=/path/to/ghidra mvn clean package
The packaged extension is written to target/GhidraGPT-<version>.zip.
Install in Ghidra:
File → Install Extensions+, select target/GhidraGPT-<version>.zip, and restart Ghidra.File → Configure → GhidraGPT → GhidraGPTPlugin.Configure a provider:
~/.ghidragpt/config.properties, lightly obfuscated with XOR, which is not encryption and should not be treated as secure at-rest storage. Prefer a scoped, rotatable key and protect the file accordingly.| Provider | Notes |
|---|---|
| OpenAI | GPT models |
| Anthropic | Claude models |
| Google Gemini | Gemini models (OpenAI-compatible endpoint) |
| Cohere | Command models |
| Mistral AI | Mistral models |
| DeepSeek | DeepSeek models |
| Grok (xAI) | Grok models |
| OpenRouter | Single key, routed access to many providers' models |
| Ollama | Local models; no API key required |
| OpenAI-compatible | Any endpoint implementing the OpenAI chat-completions API (custom base URL) |
Issues, feature requests, and pull requests are welcome.
Licensed under the terms in the LICENSE file.
GhidraGPT: LLM-assisted reverse engineering, inside Ghidra.
496 followers · starred Sep 2025
67 followers · starred Jul 2026
43 followers · starred Sep 2025