Skip to main content
plugin

ghidra-headless — Claude Code plugin: what it does, how to install

ghidra-headless runs Ghidra's headless analyzer to reverse engineer binaries without a GUI. Helps decompile executables, inspect call graphs, and pull symbols directly in Claude Code.

Apache-2.0 ★ 540 updated 2026-07-14

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add trailofbits/skills-curated
/plugin install ghidra-headless@skills-curated
Open on GitHub

What ghidra-headless does

This plugin wraps Ghidra's analyzeHeadless utility to inspect binaries across architectures including x86, ARM, MIPS, and PowerPC. It decompiles machine code into C pseudocode, maps function call graphs, and pulls embedded strings alongside symbol tables. The tool can also handle batch analysis over multiple files in one pass.

Execution will fail if OpenJDK 17+ and Ghidra are missing from the system. On macOS, Ghidra can be installed using brew install --cask ghidra. Since everything runs through the headless interface, no graphical desktop session is needed.

What it helps with

  • decompile executable binaries into C pseudocode
  • extract function signatures and trace call graphs
  • pull embedded strings and symbol tables from compiled files
  • inspect binaries built for x86, ARM, MIPS, or PowerPC architectures

Example prompts for the agent

  • Decompile sample.bin and show me the C pseudocode for the main function
  • Extract all strings and symbols from libtarget.so
  • Analyze the call graph of the ARM binary firmware.elf

How to install ghidra-headless

Plugin marketplace

/plugin marketplace add trailofbits/skills-curated
/plugin install ghidra-headless@skills-curated

Step by step, with commands for each platform: Claude Code plugins: marketplaces, installing, and building your own

Questions about ghidra-headless

How do I install ghidra-headless in Claude Code?

Add the catalog source with /plugin marketplace add trailofbits/skills-curated. After that, install the package by running /plugin install ghidra-headless@skills-curated.

What does ghidra-headless do?

It automates binary reverse engineering using Ghidra's headless analyzer. The plugin decompiles code into C, extracts symbols and strings, and inspects call relationships without launching a GUI.

What dependencies are required for ghidra-headless?

You need OpenJDK 17 or higher and an installed copy of Ghidra. On macOS, install it with brew install --cask ghidra.

Source text

ghidra-headless · Apache-2.0
# Ghidra Headless

Reverse engineer binaries using Ghidra's headless analyzer. Decompile executables, extract functions, strings, symbols, and analyze call graphs without GUI.

## Installation

```
/plugin install ghidra-headless
```

## Prerequisites

- [Ghidra](https://ghidra-sre.org/) installed (`brew install --cask ghidra` on macOS)
- Java (OpenJDK 17+)

## What It Covers

- Headless binary analysis via `analyzeHeadless` wrapper
- Decompilation to C pseudocode
- Function extraction with signatures and call relationships
- String and symbol extraction
- Call graph analysis
- Architecture-specific analysis (x86, ARM, MIPS, PowerPC)
- Batch analysis of multiple binaries

## Credits

Imported from [mitsuhiko/agent-stuff](https://github.com/mitsuhiko/agent-stuff/tree/main/skills/ghidra) by Armin Ronacher. Licensed under Apache-2.0.

© Armin Ronacher · Apache-2.0 · trailofbits/skills-curated

Similar plugins

All plugins for Security →

From the same set51

The whole set →
python-code-simplifier The python-code-simplifier plugin refines recently changed Python code without altering its behavior. Use it after edits to make the code easier to read and maintain. ★ 540repo stars react-pdf Generates PDFs via @react-pdf/renderer with flexbox layout, SVG graphics, and Google Fonts. Composes documents from reusable React components with declarative page breaks. ★ 540repo stars scv-scan scv-scan audits Solidity projects for 36 vulnerability categories. Helps spot security flaws across contract code in four systematic phases. ★ 540repo stars x-research x-research is a Claude Code plugin that searches X posts and gathers context from discussions, opinions and reviews. It supports research into topics through X. ★ 540repo stars openai-yeet openai-yeet is a Claude Code plugin that stages and commits changes, pushes them with gh, and opens a pull request in one request. ★ 540repo stars openai-spreadsheet openai-spreadsheet — a skill for spreadsheet work in .xlsx, .csv and .tsv through Python: build files, keep formulas and formatting intact, then check the rendered result. ★ 540repo stars openai-sentry openai-sentry fetches Sentry issues and error events via the Sentry API to summarize production failures. Triggers when investigating recent stack traces directly inside Claude Code. ★ 540repo stars openai-security-threat-model The openai-security-threat-model plugin examines a repository for security threats and writes a concise Markdown model. Use it when you explicitly want to assess a codebase or path. ★ 540repo stars

Project sponsors

Companies that keep this analytics open