ghidra-reverse

ghidra-reverse is a skill for Claude Code, Codex from 2233admin/reverse-skill-evolver. It costs 179 tokens per session (3,469 once invoked), scanned A, original, MIT.

A Ghidra assistant for examining compiled programs through the GhydraMCP bridge. Ghidra is a free tool that helps turn machine code into readable structures and approximate source code.

In plain words
What is it for?
Use it for reverse engineering and decompiling PE, ELF, APK, DLL, and SO files when Ghidra is preferred or IDA Pro is unavailable.
Why use it?
It gives an AI assistant access to Ghidra’s analysis workflow while recording setup limits and known uncertainties. The described integration has not yet been verified on a real project.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for cline. Also seen: mentions Claude Code; built for cline.

Good fit Use it for reverse engineering and decompiling PE, ELF, APK, DLL, and SO files when Ghidra is preferred or IDA Pro is unavailable.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/2233admin/reverse-skill-evolver/ghidra-reverse
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add 2233admin/reverse-skill-evolver --skill ghidra-reverse
Clone the repo
git clone --depth 1 https://github.com/2233admin/reverse-skill-evolver

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ghidra-reverse

README.md
[![agentmods](https://agentmods.dev/badge/skills/2233admin/reverse-skill-evolver/ghidra-reverse/github.svg)](https://agentmods.dev/skills/2233admin/reverse-skill-evolver/ghidra-reverse)
Your own site
<a href="https://agentmods.dev/skills/2233admin/reverse-skill-evolver/ghidra-reverse"><img src="https://agentmods.dev/badge/skills/2233admin/reverse-skill-evolver/ghidra-reverse/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ghidra-reverse

Your own site · 80×15
<a href="https://agentmods.dev/skills/2233admin/reverse-skill-evolver/ghidra-reverse"><img src="https://agentmods.dev/badge/skills/2233admin/reverse-skill-evolver/ghidra-reverse.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 179 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,469 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00179 $0.03469
Opus 5.5 $0.00072 $0.01388
Sonnet 5.5 $0.00036 $0.00694
Haiku 4.5 $0.00018 $0.00347

Measured 1mo ago against content hash 724fb3eff8be, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ghidra-reverse scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/ghidra-reverse/SKILL.md · 190 lines

How it starts

The opening of the file, as written. The whole thing — 190 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Ghidra 逆向分析技能(GhydraMCP)

来源与验证状态(必读)

来源:GhydraMCP 官方文档/README(https://github.com/starsong-consulting/GhydraMCP), 本仓库尚未实战验证,遇到新坑请补充到此文件。

本文档基于 2026-07-11 对 GhydraMCP 仓库(starsong-consulting/GhydraMCP,276 star,Apache 2.0,未 归档)README 和源码(bridge_mcp_hydra.py)的核实整理。本仓库目前没有一次真实逆向任务跑过这套工具 链。不像 ida-reverse 的"已知问题与反思"来自真机踩坑,这里列的都是文档/源码推断出的"可能坑", 请在第一次真实使用后回填本文件、补充真实踩坑记录。

这是什么

GhydraMCP(starsong-consulting/GhydraMCP)把 Ghidra 通过一个 HATEOAS REST API 插件 + Python MCP 桥接脚本(bridge_mcp_hydra.py)+ 独立 CLI(ghydra)暴露给 AI 助手。它 fork 自 LaurieWired/GhidraMCP,新增了多实例支持、数据操作能力和 HATEOAS REST API。支持 Ghidra 11.x 和 12.x(两个版本分开打包 release,插件 ghidraVersion 必须和实际 Ghidra 版本精确匹配)。

官方 README 把 MCP 桥接层标注为"deprecating in favor of CLI"—— 独立 CLI ghydra 是更新、更推荐 的用法(同等能力 + 更好的输出格式化 + --json 模式),但桥接脚本仍可用,是否切换不是本文档要决 定的事,先如实记录两条路径都存在。

端口配置存疑(请在首次真机验证时确认)

.kiro/settings/mcp.json 里已有这一条注册(此前完全没有文档说明,属于"已经接入但未被记录"的状态):

"ghidra": {
  "url": "http://localhost:8765/mcp"
}

kali/mcp-kali-example.json 也有对应条目(见该文件 ghidra 键)。但根据 GhydraMCP 官方 README 和 bridge_mcp_hydra.py 源码核实(2026-07-11 用 gh api 拉取 README 全文 + 用 GitHub code search 搜 8765/streamable 均零命中 + 直接 grep 源码得到下面两行):

bridge_mcp_hydra.py:31:  DEFAULT_GHIDRA_PORT = 8192
bridge_mcp_hydra.py:4261: mcp.run(transport="stdio")

也就是说:

  • 官方桥接脚本固定走 stdio 传输,不是 HTTP/url 形式的 MCP 端点
  • Ghidra 插件本身监听的默认端口是 8192(第一个打开的 CodeBrowser 用 8192,后续每开一个递增, 多实例范围 8192-8447),不是 8765
  • 官方文档/源码全文搜不到任何 "8765" 的引用

http://localhost:8765/mcp 这个配置,既不匹配 GhydraMCP 文档化的 Ghidra 实例端口范围(8192 起), 也不匹配它的 MCP 传输方式(stdio,不是 HTTP url)。可能的解释(未核实,按可能性排列):

  1. 有人在这台机器上手动跑了一个自定义 HTTP wrapper,把 stdio 桥接转成 HTTP,监听在 8765
  2. 这条配置指向的其实是另一个同类 Ghidra-MCP 项目(不是 starsong-consulting/GhydraMCP)
  3. 这条配置是占位/未验证,从未真正连通过

首次真机验证此技能时,请先确认 .kiro/settings/mcp.json 里这条 ghidra 到底连的是什么进程;连 不通就改用下面的官方 stdio 配置。

标准配置(官方 README,stdio 方式)

{
  "mcpServers": {
    "ghydra": {
      "command": "uv",
      "args": ["run", "/ABSOLUTE_PATH_TO/bridge_mcp_hydra.py"],
      "env": { "GHIDRA_HYDRA_HOST": "localhost" }
    }
  }
}

Read the full file on GitHub · 190 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed 724fb3eff8be
  2. 3mo ago First seen · 190 lines · 179 tokens per session scan A 917db0b9fbe3

Subscribe to this mod's changes

ghidra-reverse is a skill published in the GitHub repository 2233admin/reverse-skill-evolver (26 stars, last pushed 1mo ago), licensed MIT. It adds 179 tokens to every session and 3,469 once invoked, about $0.0007 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

ghidra-reverse compared with skills from other repositories

ghidra-reverse next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ghidra-reverse2233admin/reverse-skill-evolverSkill261mo agoMITA179Claude Code, Codex
nightly-audit-engineer-getting-startedmakecindy/cindySkill11ktodayApache-2.0A46Claude Code, Codex
nightly-audit-engineer-opsmakecindy/cindySkill11ktodayApache-2.0A43Claude Code, Codex
argent-react-native-app-workflowsoftware-mansion/argentSkill3.3ktodayApache-2.0A41Claude Code, Codex
argent-react-native-optimizationsoftware-mansion/argentSkill3.3ktodayApache-2.0A46Claude Code, Codex
nightly-audit-engineer-evidencemakecindy/cindySkill11ktodayApache-2.0A37Claude Code, Codex
argent-metro-debuggersoftware-mansion/argentSkill3.3ktodayApache-2.0A50Claude Code, Codex