Wink Pings

Claude Code Source Code Leaked: Python Port Out Within 24 Hours, Rust Port Underway

On March 31, 2026, the Claude Code source code was accidentally leaked. The community spread download links within 8 hours (20 million views), and the core architecture was ported to Python within 12 hours. By the end of the day, a Rust port was also initiated.

On March 31, 2026, a minor stir occurred in the AI community: the Claude Code source code was accidentally leaked.

Detailed timeline:

- 00:21 UTC: Source code leaked

- 08:23 UTC: @Fried_rice posted download links on X, garnering 20 million views

- 19:00 UTC: @realsigridjin used OpenAI's Codex to port the core architecture to Python. Repository: https://github.com/instructkr/claw-code

- Within the same day: @bellman_ych began working on a Rust port

From leak to multi-language versions appearing, it took less than 24 hours.

Somewhat ironically, this "leak" essentially happened because someone was using Claude Code to develop their own tool and accidentally exposed the Agent's harness code—the AI itself became the catalyst for the source code leak.

**About the Project**

instructkr (Sigrid Jin), woken up by notifications at 4 AM, spent a few hours using oh-my-codex (OmX), a Codex-based workflow tool, to write a Python version from scratch. Two interesting modes used were: `$team` for parallel code review and `$ralph` for continuous execution loops and architectural-level validation.

The repository hit 50K stars within 2 hours of going live—the fastest in GitHub history.

The Python version is the main branch, with the Rust port progressing in the dev/rust branch. The repository also retains a screenshot of a WSJ report mentioning that Sigrid Jin was one of the earliest heavy users of Claude Code, having used 25 billion tokens last year.

The original repository is no longer tracking the leaked raw snapshot and has shifted focus to the Python porting work.

---

Some have already started joking in the comments: "At this rate, I should wake up tomorrow to a COBOL version."

Indeed, when it comes to this kind of excitement, programmers never shy away from a spectacle.

![Star History Chart](https://camo.githubusercontent.com/379d34e0bd730e034108cacbbe0812b65da71f71581f697db7c8698b2dd7c19a/68747470733a2f2f6170692e737461722d686973746f72792e636f6d2f7376673f7265706f733d696e7374727563746b722f636c61772d636f646526747970653d44617465)

![Claw](https://github.com/instructkr/claw-code/raw/main/assets/clawd-hero.jpeg)

![WSJ Feature](https://github.com/instructkr/claw-code/raw/main/assets/wsj-feature.png)

发布时间: 2026-04-01 12:31