{
  "api_version": "1.0.0",
  "slug": "kimi-k3-claude-code-cli-audit",
  "url": "https://reversedwithai.com/p/kimi-k3-claude-code-cli-audit",
  "markdown_url": "https://reversedwithai.com/p/kimi-k3-claude-code-cli-audit.md",
  "json_url": "https://reversedwithai.com/p/kimi-k3-claude-code-cli-audit.json",
  "title": "Had Kimi K3 take apart the Claude Code CLI binary with Ghidra and report what it ships",
  "tagline": "An LLM pipeline unpacks a shipped CLI and audits its code.",
  "summary": "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.",
  "target": {
    "name": "Claude Code CLI v2.1.214 (macOS arm64)",
    "type": "app",
    "type_label": "Apps"
  },
  "platform": "macOS arm64",
  "models": [
    "Kimi K3"
  ],
  "tools": [
    "Ghidra",
    "Python",
    "otool"
  ],
  "outcome": "works",
  "outcome_label": "Works",
  "human_effort": null,
  "time_spent": null,
  "cost": null,
  "license": null,
  "checks": {
    "source_available": null,
    "repro_steps": null,
    "real_hardware": null,
    "independently_verified": null
  },
  "author": {
    "name": "Antonio Bustamante",
    "url": null
  },
  "sources": {
    "repository": null,
    "writeup": "https://bem.ai/log/reverse-engineering-claude-cli-kimi-k3-ghidra",
    "discussions": [],
    "all": [
      "https://bem.ai/log/reverse-engineering-claude-cli-kimi-k3-ghidra"
    ]
  },
  "image": {
    "url": "https://covers.reversedwithai.com/kimi-k3-claude-code-cli-audit.webp",
    "credit": "Image: bem.ai"
  },
  "commit_history": null,
  "added_at": "2026-10-15T04:03:43.376414+00:00",
  "updated_at": "2026-10-15T04:03:43.376414+00:00",
  "sources_reviewed_at": "2026-10-15T04:03:43.376414+00:00",
  "reviewed_by": "editor",
  "human_notes": null,
  "reproduce": null,
  "body_md": "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.\n\nIt 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.\n\nThe 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.\n\nTo 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.\n\nSources:\n- https://bem.ai/log/reverse-engineering-claude-cli-kimi-k3-ghidra",
  "ai_use_excerpts": null
}
