cellebrite-labs/ghidra-rpc
A Ghidra agentic reverse engineering skill.
What it solves
It provides a way for Large Language Models (LLMs) to autonomously perform reverse engineering tasks. By giving an AI agent access to Ghidra, the AI can analyze binaries, decompile code, and annotate symbols without requiring a human to manually operate the software.
How it works
The project implements a persistent background daemon that runs Ghidra in-process using PyGhidra. It exposes Ghidra's capabilities through a CLI that communicates via Unix sockets using structured JSON. This allows any AI coding assistant capable of running shell commands to issue instructions and reason over the results in real-time. All changes made by the AI, such as renames or comments, are saved to the Ghidra project and remain visible in the Ghidra GUI.
Who it’s for
Security researchers and developers using AI agents (like Claude Code or Cursor) to automate binary audits, vulnerability research, and patch analysis.
Highlights
- Full RE Suite: Supports decompiling functions to pseudo-C, tracing call graphs, and searching for byte patterns.
- Agentic Workflow: Enables AI to rename functions, add comments, and define data structures autonomously.
- Binary Diffing: Ability to version-track builds and match functions via BSim.
- Persistent State: Keeps Ghidra "warm" between commands to avoid repeated re-analysis of the same binary.
Related
- Project
- Project
- Project
- Project
- Project