Anthropic releases part of AI tool source code in ‘error’

Published April 1, 2026
Anthropic logo is seen in this illustration taken on May 20, 2024. — Reuters/File Photo
Anthropic logo is seen in this illustration taken on May 20, 2024. — Reuters/File Photo

Anthropic accidentally released part of the internal source code for its AI-powered coding assistant Claude Code due to “human error”, the company said on Tuesday.

An internal-use file mistakenly included in a software update pointed to an archive containing nearly 2,000 files and 500,000 lines of code, which were quickly copied to developer platform GitHub.

“Earlier today, a Claude Code release included some internal source code. No sensitive customer data or credentials were involved or exposed,” an Anthropic spokesperson said.

“This was a release packaging issue caused by human error, not a security breach.”

A post on X sharing a link to the leaked code had more than 29 million views early on Wednesday.

The exposed code related to the tool’s internal architecture but does not contain confidential data from Claude, the underlying AI model by Anthropic.

Claude Code’s source code was partially known, as the tool had been reverse-engineered by independent developers. An earlier version of the assistant had its source code exposed in February 2025.

Opinion

Editorial

External woes
Updated 21 May, 2026

External woes

Relying indefinitely on remittances to offset structural economic weaknesses is not sustainable.
Political activity
21 May, 2026

Political activity

THE opposition is astir. There is talk of widespread protests this Friday over a list of dissatisfactions with the...
Seizing hope
21 May, 2026

Seizing hope

ISRAEL’S tyranny knows no bounds. After intercepting the Global Sumud Flotilla that set sail last week, disturbing...
Hormuz gamble
20 May, 2026

Hormuz gamble

The Strait of Hormuz has become the real centre of the confrontation.
The unkindest cut
20 May, 2026

The unkindest cut

SUICIDE, a complex symptom of deep despair triggered by mental health problems, is hardly a moral issue. Punitive...
Ad hoc culture
20 May, 2026

Ad hoc culture

THE Supreme Court’s ruling against prolonged ad hoc and acting appointments is an indictment of a deeply ...