# Infinite Gen 5 (IG5)

> A reverse-engineering plugin and MCP server that lets coding agents drive Ghidra, x64dbg and Unicorn

- Category: Agents & Automation / Security Agents
- Language: JavaScript
- Licence: CC-BY-NC-SA-4.0
- Repository: https://github.com/Minglink/dsh-infinite-gen-5
- Canonical page: https://ai-tldr.dev/tools/ig5/

## In short

Infinite Gen 5 (IG5) is a reverse-engineering plugin and MCP server that lets coding agents drive Ghidra, x64dbg and Unicorn. It sits in the Security Agents category of the Agents & Automation tools and is open-source, written in JavaScript and licensed CC-BY-NC-SA-4.0. To get started: download the Windows package.

## Overview

Infinite Gen 5 (IG5, Chinese name 无限五代, repository dsh-infinite-gen-5) is a reverse-engineering toolkit built to be driven by an AI agent. It started as a plugin for DeepSeek Harness (DSH) and also installs into Claude Code, Google Antigravity and the OpenAI Codex CLI, or runs as a plain stdio MCP server for any other MCP client. The README restricts its use to binaries you own or are authorised to analyse, for security audits, research and teaching, and says the project is independent of DeepSeek.

Under one core it wires together several engines: Ghidra for static analysis and decompilation, a built-in xdec decompiler for AArch64 ELF and Mach-O, x64dbg for headless native debugging on Windows, and Unicorn for emulating single functions and unpacking packed PE files. Around them sit unpackers for PyInstaller and Electron ASAR containers, .NET metadata and CIL decoding, a local HTTP/HTTPS capture proxy with explicit TLS decryption, PCAP parsing, and XOR/AES and protocol-framing helpers. The agent sees these as up to 44 tools, with a smaller "Core 8" set by default to save tokens.

IG5 also ships workflow skills (triage, deep-dive, patch-and-sign, diff, live debugging, crypto, protocol and a long-running reverse agent), a dedicated ig5-reverser subagent, and a visual workbench with a control-flow graph, split pseudocode/assembly view and byte inspector that opens inside DSH or as an MCP App in Antigravity. Full support targets Windows x64 through a self-contained portable package of about 413 MB that bundles Ghidra, a JDK, Python and x64dbg; macOS on Apple Silicon has only an experimental Ghidra static lane. The licence is CC BY-NC-SA 4.0, so commercial use is not allowed.

## What it does

- One core installed into DeepSeek Harness, Claude Code, Google Antigravity and OpenAI Codex CLI, or run as a stdio MCP server for Cursor, Windsurf, Cline and other clients
- Ghidra static analysis and decompilation plus a built-in xdec decompiler for AArch64 ELF and Mach-O binaries
- Headless x64dbg debugging and Unicorn single-function emulation, including automatic unpacking of packed PE files
- PyInstaller and Electron ASAR container unpacking and .NET metadata and CIL decoding
- Built-in HTTP/HTTPS capture with explicit TLS decryption, PCAP parsing, XOR/AES candidates and protocol state modelling
- Workflow skills, a reverse-engineering subagent and a visual workbench with CFG, split pseudocode/assembly and byte views, with every write and debug action logged to an audit file

## Getting started

The README's main path is the Windows x64 portable package for DeepSeek Harness; the same unpacked directory can then register IG5 with Claude Code, Antigravity and Codex, or start it as a plain MCP server.

1. Download the Windows package

   Download the IG5 Windows x64 portable ZIP and its .sha256 file from the project's GitHub Releases page, check the hash and extract it to its own directory, keeping install.bat, plugin/ and manifest.json at the root. A git clone or the source ZIP is maintenance source, not the full offline package.

2. Install into DeepSeek Harness

   Install DeepSeek Harness first and start it once. Then double-click install.bat, or run the installer from PowerShell in the extracted root. The README says a full install takes about 5 to 10 minutes while it verifies every file.

```powershell
& .\plugin\install.ps1
```

3. Register it with other agents (optional)

   From the source or extracted directory, one script registers IG5 with Antigravity, Claude Code and OpenAI Codex, sharing the same runtimes directory. Pass -Targets antigravity, claude or codex to pick one.

```powershell
powershell -NoProfile -ExecutionPolicy Bypass -File .\scripts\install_multihost.ps1 -Targets all
```

4. Or run it as a plain MCP server

   Any stdio MCP client can launch the server directly. --toolset picks the full 44-tool set or the Core 8 set, and --approval-policy chooses between auto, two-step and tiered approval.

```bash
node mcp_server.js --toolset full
```

5. Open a sample

   In a DeepSeek Harness session, check the engines and open a binary with the Ghidra engine. This parses it statically without running it; the agent can then call ig5_funcs, ig5_strings, ig5_xrefs and ig5_decompile.

```text
/ig5 engines
/ig5 open --engine ghidra <sample-path>
```

## When to use it

- Triage an unknown binary you are authorised to analyse: architecture, strings, entropy and the key functions, driven from a coding agent
- Let an agent decompile a function, set breakpoints at the returned addresses in x64dbg and read registers and memory to confirm what it does
- Unpack PyInstaller, Electron ASAR or packed PE samples and decode .NET assemblies during a security audit
- Capture and decrypt an app's HTTPS traffic and model its protocol for authorised research or CTF work
