Reverse engineering with Codex and GPT models

Updated · 77 projects

By

These are projects where OpenAI models did part of the reverse engineering: the Codex agent, ChatGPT, or a GPT model called directly. Codex runs in a terminal like Claude Code, so it can call disassemblers and other command line tools.

Several projects connected Codex to Ghidra or Binary Ninja through an MCP server. The work covers DOS game reconstruction and ports, lost source recovery for an Electron app, a Bluetooth printer protocol, private API discovery, and defensive malware triage in isolated labs. A few entries are research studies that compared GPT models with Claude and others on the same binaries. Where authors give a model version, time or cost, the project page shows it. In these projects the person defined the target, tested the output against the original and corrected mistakes.

GPT did the work in 73 of them and Claude in 51.

Key facts
  • 77 projects are listed here, and their authors report 27 as working.
  • Codex runs in a terminal like Claude Code, so it can call disassemblers and other command line tools.
  • Several projects connected Codex to Ghidra or Binary Ninja through an MCP server.
  • A few entries are research studies that compared GPT models with Claude and others on the same binaries.

What have people reverse engineered with Codex and GPT?

Black & White (Lionhead, 2001): Chat with the creature in a 2001 god game and an LLM acts on it.
Works
GitHub / Reddit · Games and mods

Reverse engineered Black & White to let an LLM control your creature through chat

Chat with the creature in a 2001 god game and an LLM acts on it.

Platform WindowsModel GPT-6 Astra

Reproducible

Sid Meier's Civilization (MS-DOS): A reverse-engineered source reconstruction of the 1991 MS-DOS game Sid Meier's Civilization.
Works
GitHub / X · Games and mods

Civilization civd: AI-assisted reconstruction with project hash checks

A reverse-engineered source reconstruction of the 1991 MS-DOS game Sid Meier's Civilization.

Platform MS-DOSModel OpenAI LLMs
MCZ MUSA 2.0 AIR pellet stove remote: A pellet stove remote recorded and replayed through ESPHome.
Works
Blog / GitHub / HN · Firmware and hardware

Recorded and replayed a pellet stove RF remote to control it from Home Assistant, with Codex helping

A pellet stove remote recorded and replayed through ESPHome.

Platform ESP32 / ESPHomeModel ChatGPT 6 Astra (medium)

Reproducible

Shrek 2 (Game Boy Advance): An AI-assisted native Android port of Shrek 2 (GBA)
Works
GitHub · Games and mods

Project Far Far Away

An AI-assisted native Android port of Shrek 2 (GBA)

Platform AndroidModel Codex
Chrome T-Rex Runner (open-source browser game): Codex rebuilt an open-source browser game from REA evidence.
Works
GitHub · Websites

Rebuilt Chrome's T-Rex Runner as a tested HTML5 game using REA and Codex

Codex rebuilt an open-source browser game from REA evidence.

Platform Browser / JavaScriptModel Codex

Reproducible

Firefighter (DOS shareware, 1985): A 1985 shareware game, decompiled to Pascal and rebuilt in Rust.
Works
Blog / X · Games and mods

Decompiled the 1985 DOS game Firefighter to Pascal and ported it to Rust with ChatGPT

A 1985 shareware game, decompiled to Pascal and rebuilt in Rust.

Platform MS-DOS to Unix terminal (Rust)Model GPT-5.5
Flare-On 13 challenges: Codex in Docker took 3rd place in Flare-On 13.
Works
GitHub · Research and benchmarks

Ran Codex in Docker to solve Flare-On 13 reverse engineering challenges and placed 3rd

Codex in Docker took 3rd place in Flare-On 13.

Platform Docker, CodexTime 80.5 minutes totalCost $21.3

Reproducible

Solomon's Key (NES): USA, European and Japanese revisions build from shared source.
Works
GitHub · Games and mods

Reconstructing byte-identical ca65 source for Solomon's Key on NES with Codex

USA, European and Japanese revisions build from shared source.

Platform NESModel Codex
Donkey Kong 64: A ROM hack adding Krusha as a playable character to Donkey Kong 64 using Isotarge's Tag Anywhere.
Works
GitHub · Games and mods

Recompiled Donkey Kong 64 to include Krusha as a sixth playable character with Arthan

A ROM hack adding Krusha as a playable character to Donkey Kong 64 using Isotarge's Tag Anywhere.

Platform Nintendo 64Model Codex
@senguttuvang
SenG
@senguttuvang

4/5 With Codex helping, I’ve been reverse engineering the binaries. The King’s x86 code was translated into C, then compiled to WebAssembly. TypeScript and Three.js reconstruct the interface using recovered original boards and pieces.

Cat-shaped BLE thermal printer: No Bluetooth background, a cat-shaped printer, and dithered images printing.
Partial
Blog · Firmware and hardware

Reverse engineered a Bluetooth cat-shaped thermal printer with ChatGPT's help

No Bluetooth background, a cat-shaped printer, and dithered images printing.

Platform macOS / BLEModel ChatGPT
Bakuten Shoot Beyblade: Gekitou! Saikyou Blader: An experimental English fan translation project for the GBA game Bakuten Shoot Beyblade: Gekitou! Saikyou Blader.
Partial
GitHub · Games and mods

Bakuten Shoot Beyblade: Gekitou! Saikyou Blader English Translation

An experimental English fan translation project for the GBA game Bakuten Shoot Beyblade: Gekitou! Saikyou Blader.

Platform Game Boy AdvanceModel GPT
Browse all 77 in the feed
Did one of these yourself?

Send me the repo or the write-up, and tell me where the model got it wrong.

Submit a project

What mistakes do Codex and GPT projects make?

Models get things wrong in predictable ways. Where AI goes wrong in reverse engineering, and how projects cope lists 7 patterns and the fixes projects used.

What people ask about reverse engineering with Codex

Yes, when it has tools. Projects here gave Codex access to Ghidra through REA or GhidraMCP and used it to rename functions, rebuild code as C and port games.

Guides to read before starting with Codex

Which tools do Codex projects pair with?

All tools

By

I started this site on 13 October 2026 to keep track of reverse engineering projects where an AI model did real work. I work on it alone, with no investors and no ad networks.

About the site · @whyamas on X

The same work with other models and tools