Top AI Repos — open-source AI, indexed and scored
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Mirrored snapshot of Claude Code's source (exposed 2026-03-31) preserved for educational purposes, defensive security research, and software supply-chain analysis.
| Date | Stars |
|---|---|
| 2026-08-04 | 285 |
| 2026-08-13 | 286 |
| 2026-08-18 | 286 |
| 2026-08-21 | 286 |
| 2026-08-23 | 285 |
| 2026-08-28 | 284 |
| 2026-08-29 | 284 |
| 2026-08-31 | 284 |
| 2026-09-06 | 284 |
| 2026-09-07 | 283 |
| 2026-09-21 | 284 |
| 2026-09-22 | 284 |
| 2026-09-24 | 284 |
| 2026-09-25 | 284 |
| 2026-09-27 | 285 |
| 2026-10-01 | 285 |
| 2026-10-08 | 285 |
| 2026-10-10 | 284 |
| 2026-10-11 | 283 |
| 2026-10-15 | 283 |
| 2026-10-29 | 285 |
| 2026-11-04 | 285 |
Today
— stars today
This week
+2 stars this week
This month
— stars this month
Momentum
0.0
growth rate 0.71%/day
# Claude Code Source Snapshot (For Security Research) This repository mirrors a publicly exposed snapshot of Claude Code’s source that became accessible on **March 31, 2026**, due to a source map exposure in the npm package. It is preserved strictly for: * **Educational purposes** * **Defensive security research** * **Software supply-chain analysis** > [!CAUTION] > This repository does not claim ownership of the original code and is not an official Anthropic repository. --- ## Research Background This repository is maintained by a university student researching: * Software supply-chain leaks and build artifact exposure * Secure software engineering practices * Architecture of agent-based developer tools * Defensive analysis of real-world CLI systems The archive supports: * Academic study * Hands-on security research * Architectural review * Discussion of packaging and release-process failures --- ## How the Source Became Public On March 31, 2026, **Chaofan Shou (@Fried_rice)** reported that Claude Code source files were accessible through a `.map` file included in the npm distribution. > “Claude code source code has been leaked via a map file in their npm registry!” > — **@Fried_rice**, March 31, 2026 The source map pointed to unobfuscated TypeScript source files hosted in Anthropic’s R2 storage bucket, making the entire `src/` directory publicly downloadable. --- ## What This Repository Contains Claude Code is Anthropic’s command-line interface for interacting with Claude to perform software engineering tasks such as: * Editing files * Running shell commands * Searching codebases * Managing workflows * Coordinating multiple agents ### Snapshot details: * **Public exposure date:** 2026-03-31 * **Language:** TypeScript * **Runtime:** Bun * **Terminal UI:** React + Ink * **Size:** ~1,900 files, 512,000+ lines of code --- ## Directory Structure Overview ```text src/ ├── main.tsx # CLI entrypoint and orchestration ├── commands.ts # Slash command registry ├── tools.ts # Tool registry ├── Tool.ts # Tool type definitions ├── QueryEngine.ts # Core LLM query engine ├── context.ts # Context collection logic ├── cost-tracker.ts # Token cost tracking │ ├── commands/ # Slash command implementations (~50) ├── tools/ # Tool implementations (~40) ├── components/ # Ink UI components (~140) ├── hooks/ # React hooks ├── services/ # External service integrations ├── screens/ # Full-screen UIs (Doctor, REPL, Resume) ├── types/ # Type definitions ├── utils/ # Utilities │ ├── bridge/ # IDE and remote control bridge ├── coordinator/ # Multi-agent coordination ├── plugins/ # Plugin system ├── skills/ # Skill workflows ├── keybindings/ # Keybinding configs ├── vim/ # Vim mode ├── voice/ # Voice input support ├── remote/ # Remote sessions ├── server/ # Server mode ├── memdir/ # Persistent memory ├── tasks/ # Task management ├── state/ # State management ├── migrations/ # Config migrations ├── schemas/ # Zod schemas ├── entrypoints/ # Initialization logic ├── ink/ # Ink renderer wrapper ├── buddy/ # Companion sprite ├── native-ts/ # Native TS utilities ├── outputStyles/ # Output styling ├── query/ # Query pipeline └── upstreamproxy/ # Proxy configuration ``` ## Architecture Overview ### 1. Tool System (`src/tools/`) Each tool Claude Code can use is implemented as a self-contained module. Every tool defines its input schema, permission requirements, and execution logic. | Tool | Purpose | | :
Excerpt of 8,389 characters
Read on GitHubWould you bet a product on this? Bounded 0–100 and slow moving.
matched fp:794c8195ffaf9cb5, llm:Repository description: "Mirrored snapshot of Claude Code's source (exposed 2026-03-31) preserved for educational purposes, defensive security research, and software supply-chain analysis." No topics provided.
matched fp:794c8195ffaf9cb5, llm:Repository description: "Mirrored snapshot of Claude Code's source (exposed 2026-03-31) preserved for educational purposes, defensive security research, and software supply-chain analysis." No topics provided.
matched fp:794c8195ffaf9cb5, llm:Repository description: "Mirrored snapshot of Claude Code's source (exposed 2026-03-31) preserved for educational purposes, defensive security research, and software supply-chain analysis." No topics provided.