Claude’s code: Anthropic leaks source code for AI software engineering tool

A picture


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,A post on X sharing a link to the leaked code had more than 29m views early on Wednesday, and a rewritten version of the source code quickly became GitHub’s fastest-ever downloaded repository,Anthropic issued copyright takedown requests to try to contain the code’s spread,Within the code, users spotted blueprints for a Tamagotchi-esque coding assistant and an always-on AI agent, per the Verge.

“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.”The exposed code was related to the tool’s internal architecture but did 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.Claude Code has emerged as a key product for Anthropic, as the company’s paid subscriber base continues to grow.TechCrunch reported last week that paid subscriptions have more than doubled this year, per an Anthropic spokesperson.Anthropic’s Claude chatbot also received a popularity boost amid the CEO Dario Amodei’s tussle with the Pentagon; Claude climbed to the top spot of Apple’s chart of top free apps in the US just more than a month ago.Amodei had refused to back down on red lines around the use of his company’s technology for mass surveillance and fully autonomous weapons.

This is the second time that Anthropic has had a data leak in recent weeks.Fortune previously reported on a separate breach and noted that the company was storing thousands of internal files on publicly accessible systems.That included a draft of a blog post that referred to an upcoming model known as “Mythos” and “Capybara”.Some experts worry the leaks suggest internal security vulnerabilities within Anthropic.That could be particularly troubling for a company focused on AI safety.

The leaks could also help competitors, like OpenAI and Google, better understand how Claude Code’s AI system works.The Wall Street Journal reported that the most recent leak included commercially sensitive information, such as tools and instructions for getting its AI models to work as coding agents.The latest breach comes weeks after the US government designated Anthropic as a supply chain risk; Anthropic is fighting those allegations in court.Last week, a US district judge granted a temporary injunction to block the designation.
A picture

Ways to use mint sauce without having to roast a lamb

My wife adores roast lamb with mint sauce. However, after an online purchasing blunder, my larder now contains six jars. How can I make use of them apart from serving roast lamb every Sunday from now until the crack of doom?John, by emailAs is so often the case, it all starts with a shift in mindset. “When you see a jar of sauce, there’s a real tendency to think, ‘I must use this as a sauce,’” says Kate Young, author of Dinner at Mine? Start treating that surplus mint sauce as an ingredient instead, however, and your life will be a whole lot easier. “If John is planning on using chopped fresh mint with, say, meat, cheese or veg, then consider how you might use mint sauce in its place,” Young adds

A picture

Sami Tamimi’s recipes for slow-cooked lamb with spicy pickled lemon and jewelled Easter rice

Whenever I’m asked about my favourite dish to serve to friends and family, in most cases I’d say slow-cooked lamb at the centre of the table. After a long, slow cook, the meat becomes tender and rich, and the spices melt into every bite. Served with flatbreads, tahini, fresh herbs and sharp pickles, it invites everyone to build their own perfect mouthful. Across the Middle East and Mediterranean, lamb symbolises generosity and celebration, especially at Easter, when roasting it remains an adored tradition.The lamb is marinated with garlic, olive oil and aromatic spices the night before, to give the flavours time to deepen, then, after luxuriating in the oven, it emerges golden, fragrant and meltingly tender

A picture

I can’t believe it’s got butter: this double-dairy ice-cream has gone viral – but how does it taste?

What’s yellow, a new superfood (according to the internet) and essential for hot cross bun consumption? Butter. The once-vilified member of the food pyramid is now the snack of choice for many and liberally slathered on to everything. Not even the humble soft serve has been able to escape its greasy grasp.The butter-dipped soft serve, popularised on Instagram, is characteristic of food made for social media: the questionable flavour pairing enhances its desirability. Soft serves with pale yellow shells are already being sold by Cherry’s Goods and Air Lab in Sydney and Timboon Fine Ice Cream in regional Victoria

A picture

Rukmini Iyer’s quick and easy recipe for artichoke, olive and feta pithivier | Quick and easy

Pithiviers look absolutely beautiful at the table. For the classic shape, you can buy circular all-butter puff pastry (Picard does an excellent one, with two sheets in one packet) or cut regular puff pastry into circles. That said, it’s just as delicious and there’s more bang for your buck with a big rectangle. Either way, it’s filled with moreish artichokes, olives and feta, with fresh lemon and parsley to lift the flavours. It’s 100% the type of meat-free main that everyone else wants to try, too

A picture

Carrot crumble and sprouting broccoli with almond butter: Chantelle Nicholson’s vegetable recipes for Easter

The intense sweetness that comes from roasting carrots should not be underestimated. And, when that’s topped with a savoury, nutty crumble, it’s a great combination. Add the wonderfully seasonal purple sprouting broccoli on the side, and it’s a luscious Easter celebration. A few low-waste tips, too: always use the parsley stalks, and try pickling the shallots in leftover gherkin brine. Trust me! And it wouldn’t be a spring recipe without our beloved wild garlic, so make the most of that while it’s about

A picture

How we can improve food security in Britain | Letters

Although I agree with George Monbiot’s analysis of the serious risks that we face from a breakdown in the UK food supply chain, there are two important points we need to recognise (We’re letting big corporations gamble with our lives. Act now, or the food could run out, 25 March). First, we must seek to increase food production on UK farms because this has been falling for several decades.Food self-sufficiency in the UK fell from 78% in 1984 to 62% in 2024. The decline is largely due to the loss of farmland to non-farming use: buildings, roads and railways, conservation and wildlife schemes, solar farms and recreation