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

Published
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

Iran’s resilience
Updated 05 Jul, 2026

Iran’s resilience

THE funeral ceremonies for Iran’s assassinated supreme leader Ayatollah Ali Khamenei and his family members, which...
The annual test
05 Jul, 2026

The annual test

PAKISTAN enters another monsoon season with little room for complacency. Last year’s rains claimed more than 1,000...
Dangerous syringes
05 Jul, 2026

Dangerous syringes

INNOCENCE stands overwhelmed by another health emergency. The HIV crisis, beyond surging statistics — over 350,000...
Agri-tax failure
Updated 04 Jul, 2026

Agri-tax failure

THE first year of Pakistan’s unified agriculture income tax regime has produced an outcome that should surprise no...
Deadly roads
04 Jul, 2026

Deadly roads

THE horrific bus crash at the Balochistan-KP border on Friday should prompt greater scrutiny of road safety ...
Terrorism numbers
04 Jul, 2026

Terrorism numbers

AS Pakistan continues to grapple with the menace of militancy, the number of terrorist attacks present a mixed...