Skip to main content
plugin CX Codex

rust-reverse-engineering — Claude Code plugin for Rust binary analysis

The rust-reverse-engineering plugin inspects compiled Rust binaries and libraries, tracing symbols, likely crate boundaries, and FFI paths. Use it to review your own builds or conduct authorized analysis.

Apache-2.0 ★ 1,596 updated 2026-10-29

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add hashgraph-online/awesome-codex-plugins
/plugin install rust-reverse-engineering@awesome-codex-plugins
Open on GitHub

What rust-reverse-engineering does

The plugin analyzes ELF, Mach-O, and PE files through static and dynamic workflows. It gathers binary details, identifies likely crate boundaries and entry points, demangles symbols, and flags paths tied to panic, unwind, async, and FFI. Helper scripts collect imports and exports, search for Rust-related patterns, and prepare review artifacts. Universal Mach-O files are reduced to one analysis slice automatically.

The required tools include file, strings, nm or llvm-nm, plus format- and OS-specific tools for disassembly and header inspection. rustfilt, a debugger, and Ghidra are recommended. If headless Ghidra is available, the plugin can export pseudocode; that output is not recovered Rust source. Long Ghidra jobs leave progress markers on disk, including runner-status.txt.

What it helps with

  • identify a Rust binary's format and contents
  • recover likely crate boundaries and entry points
  • inspect demangled symbols and imports
  • trace panic, async, and FFI paths
  • export pseudocode through Ghidra

Example prompts for the agent

  • Inspect my Rust binary and summarize its format and symbols.
  • Find the paths in this library related to FFI, panic, and async.
  • Collect analysis artifacts and export pseudocode with Ghidra.

How to install rust-reverse-engineering

Plugin marketplace

/plugin marketplace add hashgraph-online/awesome-codex-plugins
/plugin install rust-reverse-engineering@awesome-codex-plugins

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

Questions about rust-reverse-engineering

How do I install rust-reverse-engineering in Claude Code?

Add the marketplace with /plugin marketplace add hashgraph-online/awesome-codex-plugins, then install the plugin with /plugin install rust-reverse-engineering@awesome-codex-plugins.

What does rust-reverse-engineering do?

It analyzes Rust binaries, demangles symbols, finds likely crate boundaries, and surfaces FFI, panic, unwind, and async paths. It can also gather review artifacts and export pseudocode through headless Ghidra.

What tools does the plugin require?

It requires file, strings, nm or llvm-nm, and tools for disassembly and header inspection chosen for the target format and OS. ELF analysis uses readelf or llvm-readelf; Mach-O uses otool. Ghidra is recommended for pseudocode exports.

Source text

rust-reverse-engineering-skill · Apache-2.0
# Rust Reverse Engineering Skill

Shared Rust reverse-engineering skill for Claude Code and Codex.

This project is for defensive security work. Reverse-engineering tooling is not inherently harmful; used responsibly, it helps developers understand what their own compiled artifacts expose, audit attack surface, and protect the binaries they ship.

Use it for binaries you own or are explicitly authorized to assess.

## What It Helps With

- Fingerprinting Rust binaries and libraries
- Recovering likely crate boundaries and entry points
- Surfacing panic, unwind, async, and FFI edges
- Producing reviewable artifacts such as demangled symbols, disassembly, and Ghidra pseudocode bundles
- Driving a repeatable static and dynamic analysis workflow

## Who This Is For

- Developers auditing their own release binaries
- Security engineers reviewing compiled Rust deliverables
- Authorized interoperability, compatibility, malware-triage, or CTF work

## Requirements

Required:

- `file`
- `strings`
- `nm` or `llvm-nm`
- `objdump` or `llvm-objdump`, or `otool` on macOS
- `readelf` or `llvm-readelf` for ELF, or `otool` for Mach-O

Recommended:

- `rustfilt`
- `gdb` or `lldb`
- Ghidra, IDA Pro, or Binary Ninja

## Install

### Claude Code

For a public GitHub repository, the recommended install path is the marketplace flow:

```bash
claude plugin marketplace add jingjing2222/rust-reverse-engineering-skill
claude plugin install rust-reverse-engineering@jingjing2222-plugins
```

This flow was validated against the public repo.

For local development, you can still load the repository directly:

```bash
claude --plugin-dir /absolute/path/to/rust-reverse-engineering-skill
```

### Codex

Codex can install this plugin from local or repo-scoped marketplaces, but public self-serve publishing to the official Codex Plugin Directory is not open yet. For now, use one of the local marketplace flows below.

Option A: install from this repo directly when you have the repo open in Codex.

1. Open this repository in Codex.
2. Restart Codex if needed.
3. Run `/plugins`.
4. Open the `Rust Reverse Engineering Local` marketplace exposed by `.agents/plugins/marketplace.json`.
5. Install `Rust Reverse Engineering`.

Option B: install as a reusable local plugin.

```bash
mkdir -p ~/.codex/plugins
git clone https://github.com/jingjing2222/rust-reverse-engineering-skill.git ~/.codex/plugins/rust-reverse-engineering
```

Add an entry to `~/.agents/plugins/marketplace.json` that points at the cloned path:

```json
{
  "name": "personal-local-plugins",
  "interface": {
    "displayName": "Personal Local Plugins"
  },
  "plugins": [
    {
      "name": "rust-reverse-engineering",
      "source": {
        "source": "local",
        "path": "./.codex/plugins/rust-reverse-engineering"
      },
      "policy": {
        "installation": "AVAILABLE",
        "authentication": "ON_INSTALL"
      },
      "category": "Coding"
    }
  ]
}
```

Then restart Codex, run `/plugins`, open your marketplace, and install `Rust Reverse Engineering`.

You can also copy or symlink this repo into another local directory and point the marketplace entry there instead of cloning.

## Typical Output

The skill is built around artifact generation, not just chat answers. A normal run can produce:

- Binary triage summaries
- Demangled symbol inventories
- Import and export snapshots
- Pattern hits for runtime, panic, async, FFI, and network-adjacent code
- Ghidra pseudocode exports when headless Ghidra is available

Important: Ghidra output is pseudocode, not recovered original Rust source.

## Key Behavior

- Universal Mach-O inputs are thinned automatically to one analysis slice
- Long-running Ghidra exports keep live progress markers on disk
- `runner-status.txt` is the fast liveness signal for "still running" vs "actually stopped"

## Repository Layout

- `skills/rust-reverse-engineering/SKILL.md`: full skill instructions and analysis workflow
- `commands/re-rust.md`: Claude slash-command entry point
- `skills/rust-reverse-engineering/scripts/`: helper scripts for triage, symbol recovery, artifact collection, and Ghidra export
- `.claude-plugin/`: Claude plugin and marketplace manifests
- `.codex-plugin/` and `.agents/plugins/`: Codex plugin and marketplace manifests

## Repository Structure

```text
rust-reverse-engineering-skill/
├── .agents/
│   └── plugins/marketplace.json
├── .claude-plugin/
│   ├── marketplace.json
│   └── plugin.json
├── .codex/
│   └── INSTALL.md
├── .codex-plugin/
│   └── plugin.json
├── commands/
│   └── re-rust.md
└── skills/
    └── rust-reverse-engineering/
        ├── agents/openai.yaml
        ├── references/
        ├── scripts/
        │   ├── check-deps.sh
        │   ├── collect-artifacts.sh
        │   ├── demangle-symbols.sh
        │   ├── export-ghidra-pseudocode.sh
        │   ├── find-rust-patterns.sh
        │   ├── ghidra-job.sh
        │   ├── install-dep.sh
        │   ├── macho-slice.sh
        │   └── triage.sh
        └── SKILL.md
```

## Where To Start

- Want to install in Claude Code: use the marketplace commands above
- Want to install in Codex: follow the install steps above
- Want the full analysis workflow: read [skills/rust-reverse-engineering/SKILL.md](skills/rust-reverse-engineering/SKILL.md)
- Want the Claude command entry point: read [commands/re-rust.md](commands/re-rust.md)

## License

Apache License 2.0. See [LICENSE](LICENSE).

© jingjing2222 · Apache-2.0 · hashgraph-online/awesome-codex-plugins

Similar plugins

All plugins for Security →

From the same set391

The whole set →
legends-seo-dungeon legends-seo-dungeon is a Claude Code plugin that turns technical and content SEO audits into a 16-bit dungeon crawler with demons representing website defects. CX Codex ★ 1,596repo stars self-starter The self-starter plugin for Claude Code and Codex monitors plain-language event conditions in the background and resumes a task in the conversation when one is met. CX Codex ★ 1,596repo stars sectionsight sectionsight — a plugin for Claude Code and Codex that wires up cookieless analytics with per-section time-on-page tracking. It then runs a headless browser to prove the privacy claims hold. CX Codex ★ 1,596repo stars just-scrape just-scrape is a Claude Code plugin for web scraping, crawling, and structured JSON extraction through the ScrapeGraph AI API. It supports site monitoring and page content extraction. CX Codex ★ 1,596repo stars roomcomm Connects your agent to Roomcomm rooms to talk with other AI agents via a hosted MCP server. CX Codex ★ 1,596repo stars revid revid turns URLs, blog posts, tweets and one-line ideas into finished short-form videos with voice, captions and music. Posts to TikTok, YouTube Shorts, Instagram and X directly from your agent. CX Codex ★ 1,596repo stars resume-tailor resume-tailor is a plugin for Claude Code and Codex with two independent skills: one tailors a resume to a job posting, the other builds a master career profile. CX Codex ★ 1,596repo stars renhua renhua generates human-like Chinese copy without obvious AI patterns, featuring viral Xiaohongshu title structures and conversational humor. CX Codex ★ 1,596repo stars

Project sponsors

Companies that keep this analytics open