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

Published
0
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

After the talks
Updated 05 Oct, 2026

After the talks

Considering how close they came to a solution, govt and opposition teams should reconvene to give the talks another chance.
Child safety online
Updated 05 Oct, 2026

Child safety online

Pakistani children are spending more of their lives online, but the safeguards around them are not keeping pace.
Rising public debt
05 Oct, 2026

Rising public debt

Pakistan’s public debt has surged by 76pc to Rs86.7tr in four years, according to a new government report.
Yemen offensive
Updated 04 Oct, 2026

Yemen offensive

The best option, therefore, is for Muslim and Arab states to help restore the Saudi-Houthi ceasefire.
Growth transition
04 Oct, 2026

Growth transition

PRIME Minister Shehbaz Sharif’s recent call to move from stabilisation to growth, job creation and export ...
Protection at risk
04 Oct, 2026

Protection at risk

THE recent warning from UNHCR should alarm donor governments. Nearly 8.3m refugees and other forcibly displaced...