Notes / Workers
Claude Code Leaked. The Model Didn’t.
Claude Code’s application source leaked; Claude’s trained model did not. The distinction explains what a harness contributes, why general intelligence still needs company onboarding, and how scoped identity, tools, approvals, monitoring, and ownership make a Worker safer by design for a defined job.
By Rich Hill III. Published Jul 27, 2026. 12 min read.
The Claude Code leak resurfaced online this weekend. The source-code exposure itself happened on March 31, 2026.
It was interesting. It was not the moment Claude became reproducible.
Anthropic accidentally shipped internal Claude Code application source in a public package source map. That exposed valuable implementation detail: how the coding agent organizes context, calls tools, checks permissions, tracks work, and presents results.
It did not expose Claude’s model weights, training data, training recipe, or the compute used to produce the model. In practical terms, the leak showed more of the arms and operating loop around the intelligence. It did not hand the world the intelligence itself.
The distinction matters for any business evaluating AI Workers. A model supplies general capability. A harness gives that capability tools, context, memory, and a way to act. A Worker adds a defined responsibility, company lessons, scoped authority, enforced boundaries, measurement, and accountable ownership.
Security is not a personality trait of the brain. It is a property of the Worker you build around it.
What actually leaked from Claude Code?
On March 31, Anthropic published Claude Code version 2.1.88 to npm with an approximately 60 MB source map. A source map helps debugging tools connect compressed production code back to more readable source. In this case, it exposed much of the proprietary application source that Anthropic normally distributes as an obfuscated executable.
Key takeaways
- The March 31 leak exposed Claude Code application source and harness implementation, not Claude’s trained model.
- Calling Claude Code “just a harness” identifies the leaked layer but understates how much the harness contributes to useful action.
- Claude is already broadly trained; it is simply new to a company’s procedures, systems, standards, and exceptions.
- A scoped Worker is safer by design for a defined workflow when identity, access, containment, approvals, monitoring, and ownership are technically enforced.
- Security is not a property of the brain alone. It is built into the Worker around it.
Frequently asked questions

Was Claude itself leaked?
No public evidence indicates that Claude’s model weights, training corpus, complete training recipe, or training infrastructure leaked. The incident exposed internal Claude Code application source through a published source map.
Is Claude Code just a wrapper around the model?
It is better described as an agentic harness. It gathers context, gives the model tools, executes allowed actions, manages permissions and progress, and returns results. That layer is important, but it is not the trained model.
Does an AI agent still need training after the model is trained?
It needs company onboarding rather than frontier-model training. Procedures, examples, vocabulary, current sources, corrections, evaluations, and review teach the system how a specific organization expects the job to be done.
Are Workers safer than Claude Code?
A narrowly scoped Worker is safer by design for its defined responsibility when it uses a dedicated identity, least privilege, containment, approvals, monitoring, and an accountable owner. That does not mean every Worker configuration is safer than every hardened Claude Code deployment.
Are prompts and approval pop-ups enough to make an AI Worker safe?
No. They improve behavior and add review, but they do not replace hard boundaries. Sensitive systems should be technically unreachable unless the mission requires them, and consequential actions should be narrowly scoped, logged, reversible where possible, and revocable.
Explore Workers