The Leak
Claude Code's entire source code — 512,000 lines — was recently leaked. I spent days reading through every file and documented my findings in an open-source project called Claw Decode.
Here are the 10 biggest discoveries.
1. There's a Hidden Virtual Pet
Claude Code has a complete Tamagotchi-like companion system. 18 species including ducks, capybaras, ghosts, and axolotls. Rarity tiers from Common to Legendary. They wear hats. They comment on your code in a speech bubble.
2. It "Dreams" While You Sleep
When idle, Claude Code spawns a background agent that reviews your past sessions and consolidates memories. Four phases:
- Orient — Survey recent sessions
- Gather — Extract key information
- Consolidate — Merge into long-term memory
- Prune — Remove outdated info, keep under 25KB
3. Massive Telemetry Collection
This one is concerning:
- 640+ telemetry event types
- 3 parallel reporting channels
- Phones home every 5 seconds
- 40+ device fingerprint dimensions
- Permanent unique device identifier with no opt-out
Your device ID, email, OS version, CPU architecture, physical RAM, shell type, installed runtimes — all continuously reported.
4. Anthropic Employees Undercover
Evidence of Anthropic staff using Claude Code in open-source projects without disclosure.
5. The Complete System Prompt
Extracted and annotated — every instruction, every constraint, every hidden behavior. If you use Claude Code daily, you should read this.
More Findings
The full analysis covers 10 major discoveries plus architecture deep dives, design patterns worth stealing, and the complete annotated system prompt.
Website: clawdecode.net
GitHub: github.com/fattail4477/claw-decode
If you found this useful, star the repo and share it. People should know what their tools are doing.
Top comments (0)