<!-- Canonical page: https://reversedwithai.com/p/kimi-k3-claude-code-cli-audit -->
Canonical page: https://reversedwithai.com/p/kimi-k3-claude-code-cli-audit

# Had Kimi K3 take apart the Claude Code CLI binary with Ghidra and report what it ships

> An LLM pipeline unpacks a shipped CLI and audits its code.

Antonio Bustamante had Kimi K3 reverse engineer Claude Code v2.1.214 for macOS, extract its embedded JavaScript bundle and write up telemetry, feature flags and security findings.

## Key facts

- Target: Claude Code CLI v2.1.214 (macOS arm64)
- Category: Apps
- Platform: macOS arm64
- Models: Kimi K3
- Tools: Ghidra, Python, otool
- Outcome: Works
- Checks: Source available: not reported; Repro steps: not reported; Real hardware: not reported; Verified by others: not reported
- Author: Antonio Bustamante
- Added: 2026-10-15
- Updated: 2026-10-15
- Sources reviewed: 2026-10-15 (editor)

## What was done

Antonio Bustamante wrote on the bem.ai blog about having Kimi K3 reverse engineer Anthropic's Claude Code CLI, version 2.1.214 for macOS arm64. The post is dated 20 July 2026 and says the article itself was written entirely by Kimi K3. The goal was to show an LLM-driven reverse engineering pipeline and document what the CLI ships. This is a published write-up, not software, and no repository is linked.

It describes a static, local analysis of a 236 MB Bun single-file binary. Triage used file, otool and strings. Ghidra 11.4 in headless mode on OpenJDK 21 handled disassembly, and Python carved out the embedded payload, a bundle of about 181MB. A 24MB corpus of strings of 200 or more characters, carved from that payload, was analysed, and three parallel Kimi K3 sub-agents audited the extracted code. Kimi K3 orchestrated the pipeline, wrote the article and checked the headline claims against the binary. The post does not detail the human's role beyond choosing the target.

The post reports 72,108 functions found by Ghidra, about 1,282 telemetry event names, 287 feature-flag sites, hidden commands and an embedded enterprise SSO gateway. Its summary claims two medium and four low findings, but the detailed sections list two medium and three low, one of them a hypothesis, and judge the codebase well hardened overall. The author says coverage is limited to strings of 200 or more characters and that the findings are static and untested.

To repeat it you need your own installed copy of the binary, Ghidra 11.4, OpenJDK 21 and Python; Appendix A gives the commands. The post releases no corpus or patched binaries and withholds offsets.

Sources:
- https://bem.ai/log/reverse-engineering-claude-cli-kimi-k3-ghidra

## Questions about Claude Code CLI v2.1.214 (macOS arm64)

### What is the Claude Code CLI v2.1.214 (macOS arm64) project?

Antonio Bustamante had Kimi K3 reverse engineer Claude Code v2.1.214 for macOS, extract its embedded JavaScript bundle and write up telemetry, feature flags and security findings. It is listed under Apps for macOS arm64.

### Which AI model was used on Claude Code CLI v2.1.214 (macOS arm64)?

The entry names Kimi K3. The tools named alongside are Ghidra, Python and otool.

### Did the AI reverse engineering of Claude Code CLI v2.1.214 (macOS arm64) work?

Its author reports that it works.

## Sources

- [Write-up](https://bem.ai/log/reverse-engineering-claude-cli-kimi-k3-ghidra)

Figures are reported by the author and not measured by this site, except the commit history. Entry drafted with AI from the linked sources and checked against them.

Cite as: Antonio Bustamante (2026). Had Kimi K3 take apart the Claude Code CLI binary with Ghidra and report what it ships. Reversed with AI. https://reversedwithai.com/p/kimi-k3-claude-code-cli-audit
