# Kimi Computer Use Reverse Engineering Lab [![CI](https://github.com/hqhq1025/kimi-computer-use-lab/actions/workflows/ci.yml/badge.svg)](https://github.com/hqhq1025/kimi-computer-use-lab/actions/workflows/ci.yml) [![License: MIT](https://img.shields.io/badge/license-MIT-green.svg)](LICENSE) Experiment-backed study of the official Kimi Computer Use 0.5.4 runtime. The repository maps its packaging, MCP surface, native modules, XPC trust boundary, Accessibility behavior, background input, and correctness limits. It also includes sanitized results from controlled experiments against a synthetic application. This is an independent research project. It is not an official Moonshot AI or Kimi project, API, SDK, or compatibility contract. Main report: - [Kimi Computer Use 0.5.4 reverse-engineering report](reports/kimi-cu-reverse-engineering-2026-08-10.md) ## Key Findings - KimiCU is a separate proprietary Swift implementation, not a wrapper around an installed OpenAI Computer Use runtime. - Its observed MCP surface exposes ten Computer Use tools over newline JSON-RPC. - The privileged XPC service validates peer code identity against its own designated requirement. - A stale element index produced a wrong-target action while returning success in the synthetic fixture. - An out-of-process WebView click reached the page but produced an untrusted DOM event in the tested build. - Numeric `set_value` behavior was unstable for the synthetic native slider. ## Offline Verification Clone the repository and validate the public fixtures: ```sh git clone https://github.com/hqhq1025/kimi-computer-use-lab.git cd kimi-computer-use-lab npm test ``` ## Optional Live Reproduction Live probes require an official KimiCU installation that you are authorized to inspect. Set `KIMI_CU_BIN` if it is not installed at the default application path. The behavior probes additionally require the synthetic application from `hqhq1025/codex-computer-use-lab`: ```sh export KIMI_CU_BIN="/Applications/KimiCU.app/Contents/MacOS/kimi-cu" export CUA_LAB_DIR="/path/to/codex-computer-use-lab/test-app" npm run verify:live ``` Generated output is written under `artifacts/` and is never committed. Dynamic actions target only `com.openai.codex.cualab`; the scripts refuse to run the behavior matrix without an explicit `CUA_LAB_DIR`. ## Public Evidence - `fixtures/mcp-tools-schema.json` contains the observed ten-tool schema. - `fixtures/protocol-summary.json` records the MCP identity and tool names. - `fixtures/lab-summary.json` contains sanitized synthetic-app outcomes. - `fixtures/edge-cases.json` records slider and scroll parameter results. - `fixtures/static-summary.json` records bounded binary identity and module findings without redistributing the binary or bulk reverse-engineering data. See [SECURITY.md](SECURITY.md) for the publication boundary.