{"id":575066,"date":"2026-04-01T11:48:15","date_gmt":"2026-04-01T11:48:15","guid":{"rendered":"https:\/\/www.newsbeep.com\/ca\/575066\/"},"modified":"2026-04-01T11:48:15","modified_gmt":"2026-04-01T11:48:15","slug":"source-code-for-anthropics-claude-code-leaks-at-the-exact-wrong-time","status":"publish","type":"post","link":"https:\/\/www.newsbeep.com\/ca\/575066\/","title":{"rendered":"Source Code for Anthropic&#8217;s Claude Code Leaks at the Exact Wrong Time"},"content":{"rendered":"<p>Anthropic just cannot keep a lid on its business. After details of a <a href=\"https:\/\/gizmodo.com\/leaked-anthropic-model-presents-unprecedented-cybersecurity-risks-much-to-pentagons-pleasure-2000739088\" rel=\"nofollow noopener\" target=\"_blank\">yet-to-be-announced model were revealed<\/a> due to the company leaving unpublished drafts of documents and blog posts in a publicly visible data cache, Anthropic has been hit with yet another lapse in protocol by inadvertently publishing internal source code for its AI coding assistant, Claude Code. The leak provides an unprecedented look into Anthropic\u2019s closed-source model just as the company is preparing for initial public offering.<\/p>\n<p>The code was <a href=\"https:\/\/x.com\/Fried_rice\/status\/2038894956459290963\" rel=\"nofollow\">discovered by Chaofan Shou<\/a>, a self-identified intern at Solayer Lab who posts on X @Fried_rice. Per Shou, the source code was discovered a <a href=\"https:\/\/community.silabs.com\/s\/article\/understanding-the-size-tool-and-map-file\" rel=\"nofollow noopener\" target=\"_blank\">.map file<\/a>\u2014a plaintext file generated when compiling software that details the memory map of the project\u2014found in an npm registry, which is a database for a package manager for JavaScript. The file, meant for internal debugging, is essentially a decoder. It takes what should be obfuscated and recompiles it for the developers. But Anthropic published it, exposing at least a partial, unobfuscated TypeScript source code of Claude Code version 2.1.88. The file contained about 512,000 lines of code related to Anthropic\u2019s coding agent.<\/p>\n<p>In a less technical manner: Anthropic accidentally gave away some of its blueprints that were never supposed to see the light of day, and programmers have been parsing through it all day. They\u2019ve claimed to have found everything from \u201c<a href=\"https:\/\/x.com\/wesbos\/status\/2038958747200962952\" rel=\"nofollow\">spinner verbs<\/a>\u201d or phrases that Claude serves up while working through a task, to details like how <a href=\"https:\/\/x.com\/wesbos\/status\/2038961138130432382\" rel=\"nofollow\">swearing at Claude<\/a> affects how it receives a prompt. One person even claimed to have <a href=\"https:\/\/x.com\/fadedentry\/status\/2038944044944949680\" rel=\"nofollow\">found a hidden \u201cTamagotchi\u201d style virtual pet<\/a> that Anthropic may have been working on. (A note on that: It was reportedly set to launch on April 1, so maybe chalk that one up to an April Fool\u2019s style bit.)<\/p>\n<p>The file also reveals a lot of information on how Claude operates, including its engine for API calls, how it counts tokens used to process prompts, and other technical aspects. What the code does not seem to contain is any details about Anthropic\u2019s underlying model, but everything that is in the file has been <a href=\"https:\/\/github.com\/instructkr\/claw-code\" rel=\"nofollow noopener\" target=\"_blank\">uploaded to a GitHub repository<\/a> for users to interact with and fork.<\/p>\n<p>Anthropic declined to comment on the discoveries made by users, but did confirm the authenticity of the leaked source code to Gizmodo. In a statement, a spokesperson said, \u201cEarlier today, a Claude Code release included some internal source code. No sensitive customer data or credentials were involved or exposed. This was a release packaging issue caused by human error, not a security breach. We\u2019re rolling out measures to prevent this from happening again.\u201d<\/p>\n<p>Human error was probably part of it, but it\u2019s worth noting that the humans working on Claude Code have also been relying on the coding agent quite a bit. Back in December, Anthropic\u2019s head of Claude Code, Boris Cherny, <a href=\"https:\/\/x.com\/bcherny\/status\/2004897269674639461\" rel=\"nofollow\">posted<\/a> that \u201cIn the last thirty days, 100% of my contributions to Claude Code were written by Claude Code.\u201d Reliance on the coding assistant has seemingly been on the rise <a href=\"https:\/\/www.axios.com\/2026\/01\/13\/anthropic-claude-code-cowork-vibe-coding\" rel=\"nofollow noopener\" target=\"_blank\">across the company<\/a>, so it\u2019s possible this situation was an incident of vibe coding too close to the sun.<\/p>\n<p>While this isn\u2019t exactly Anthropic giving away the ingredients to its secret sauce, it is a look at how its kitchen operates. And the timing couldn\u2019t really come at a worse time. Not only is Anthropic in the midst of what appears like a ramp-up to <a href=\"https:\/\/www.theinformation.com\/articles\/anthropic-discusses-going-public-soon-fourth-quarter\" rel=\"nofollow noopener\" target=\"_blank\">going public<\/a> later this year, but its competitors are starting to turn their attention to trying to cut into the company\u2019s hold on coding and enterprise services. OpenAI has reportedly made a concerted effort to <a href=\"https:\/\/www.wsj.com\/tech\/ai\/openai-chatgpt-side-projects-16b3a825\" rel=\"nofollow noopener\" target=\"_blank\">pivot to enterprise<\/a> and recently <a href=\"https:\/\/x.com\/thsottiaux\/status\/2037346989244096581?s=46\" rel=\"nofollow\">offered unlimited access<\/a> to its Claude Code competitor, Codex. There is never a good time to have your source code leak, but this does seem like a particularly bad time for it.<\/p>\n","protected":false},"excerpt":{"rendered":"Anthropic just cannot keep a lid on its business. After details of a yet-to-be-announced model were revealed due&hellip;\n","protected":false},"author":2,"featured_media":435874,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20],"tags":[62,49680,19089,1930,276,277,49,48,5272,51089,61],"class_list":["post-575066","post","type-post","status-publish","format-standard","has-post-thumbnail","category-artificial-intelligence","tag-ai","tag-ai-model","tag-ai-models","tag-anthropic","tag-artificial-intelligence","tag-artificialintelligence","tag-ca","tag-canada","tag-claude","tag-claude-code","tag-technology"],"_links":{"self":[{"href":"https:\/\/www.newsbeep.com\/ca\/wp-json\/wp\/v2\/posts\/575066","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.newsbeep.com\/ca\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.newsbeep.com\/ca\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/ca\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/ca\/wp-json\/wp\/v2\/comments?post=575066"}],"version-history":[{"count":0,"href":"https:\/\/www.newsbeep.com\/ca\/wp-json\/wp\/v2\/posts\/575066\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/ca\/wp-json\/wp\/v2\/media\/435874"}],"wp:attachment":[{"href":"https:\/\/www.newsbeep.com\/ca\/wp-json\/wp\/v2\/media?parent=575066"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.newsbeep.com\/ca\/wp-json\/wp\/v2\/categories?post=575066"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.newsbeep.com\/ca\/wp-json\/wp\/v2\/tags?post=575066"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}