Deep Dive
The Leak
Anthropic, known for its closed-source stance, accidentally leaked Claude's entire source code online. This happened due to a source map file mistakenly included in an npm package. The leak spread rapidly, with over 500,000 lines of TypeScript code exposed.
Legal and Community Reaction
Anthropic's legal team issued DMCA takedowns, but it was too late. The code was mirrored and cloned widely. Fireship, among others, legally cloned the code, while the open-source community created Claw Code, converting the TypeScript to Python.
Discoveries in the Code
The leaked code revealed several unreleased features, including 'undercover mode' and a 'frustration detector'. It also exposed Anthropic's anti-distillation techniques meant to mislead competitors. The code's complexity was a surprise, with numerous hard-coded instructions.
Potential Impact on Anthropic
The leak is a significant setback for Anthropic, especially with its IPO plans. The exposed code, including feature names and roadmaps, poses competitive risks. The incident underscores the fragility of software security.
Future Speculations
The leak hinted at new features like 'Buddy', a customizable digital pet, and other mysterious elements like 'Chyus'. While some might be jokes, others could be genuine upcoming releases. The situation remains a cautionary tale for tech companies.