rea-container
Run REA (Reverse Engineer Anything, an MCP server for
reverse engineering) inside a hardened rootless Podman container.
Multi-stage build on node:24.22.1-trixie-slim (the Node release REA 7.0.0 pins), for linux/amd64 and linux/arm64. Prebuilt upstream
binaries are used wherever they exist (checksums pinned in SHA256SUMS); the rest is compiled in
throwaway stages. Everything REA can drive without a commercial license is installed and wired up
through REA_* environment variables:
| Purpose | Tools |
|---|
| Native decompilation | Ghidra 12.2 headless + JDK 25 (arm64: native decompiler built from source), Kuna 1.1000, Rizin 0.9.1 (static on amd64, built on arm64), GNU objdump, GDB 16 + pwndbg 2026.09.15 |
| Android | JADX headless MCP 0.8.0, Apktool 3.0.3, adb |
| .NET | ILSpy (ilspycmd) + .NET 10 runtime |
| JavaScript / web | Wakaru 1.14.0, Chromium, mitmproxy (mitmdump) 12.3.1 |
| Firmware | Binwalk 3.1.0 (built from source), unblob 26.6.4 (+ jefferson, ubi_reader), 7-Zip, squashfs-tools, e2fsprogs, lz4, zstd, lzop, cpio, unar, mtd-utils |
| Network / signals | TShark 4.4, sigrok-cli 0.7.2 |
| WebAssembly | WABT 1.0.42 |
| ELF / crashes | pwntools 4.15.0, pyelftools 0.33, Unicorn 2.1.2 |
| Rule matching | YARA 4.5 (bring your own rules; none are bundled) |
Not included: Hopper, IDA and JEB (commercial), Cutter (GUI), Frida, the Ghidra NativeAOT
extension (needs its own build), and REA's desktop-build environments (they need Docker). rea doctor reports Hopper, IDA and agent registrations as
missing; that is expected inside the container.
Install as a plugin (Claude Code and Codex)
Requires Podman (on macOS: brew install podman && podman machine init --now).
The plugin runs the published image ghcr.io/ebirn/rea-container:latest (amd64 + arm64, about
1.5 GB, pulled on first use; pull it up front with podman pull ghcr.io/ebirn/rea-container:latest).
Image tags: :latest is the newest release,
:vX.Y.Z a specific release (e.g. :v0.3.0), :main the current main branch build, and
:<commit sha> a single commit. To update after a release, pull :latest again.
Claude Code:
/plugin marketplace add ebirn/rea-container
/plugin install rea-container@rea-container
Codex:
codex plugin marketplace add ebirn/rea-container
then install rea-container from the Plugins directory.
The agent's working directory is mounted read-only at /samples (the bundled skill tells the
agent to use /samples/... paths); /out is a writable named volume rea-out; there is no
network. On Linux with SELinux you may need to label the project directory for the mount.
Enable it only where you need it
The host starts one container for every agent session with the plugin enabled, whether or not
REA is used, and keeps it until that session exits (about 230 MB each). With several sessions
open, those idle containers add up in the Podman VM. A container is removed when its session
ends; a container that stays belongs to a session that is still open (ps -ef | grep 'podman run'
shows the agent process that owns it). Keep the plugin disabled by default and enable it only in
the projects where you reverse engineer, or stop idle servers with REA_IDLE_TIMEOUT (see
Optional settings).
Claude Code (and agents built on it, such as Zed's Claude agent):
claude plugin disable rea-container@rea-container --scope user
# in each reverse-engineering project:
claude plugin enable rea-container@rea-container --scope local # just you (.claude/settings.local.json)
claude plugin enable rea-container@rea-container --scope project # whole team (.claude/settings.json)
The project setting overrides the user-level false. Codex: set enabled = false under
[plugins."rea-container@rea-container"] in ~/.codex/config.toml and turn it on when needed.
Optional settings
The plugin passes these launch settings into the container when they are set in the
environment that starts the agent (unset means REA's default):