惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园 - 三生石上(FineUI控件)
Y
Y Combinator Blog
aimingoo的专栏
aimingoo的专栏
B
Blog
小众软件
小众软件
D
DataBreaches.Net
T
The Blog of Author Tim Ferriss
L
LangChain Blog
WordPress大学
WordPress大学
罗磊的独立博客
GbyAI
GbyAI
S
SegmentFault 最新的问题
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
T
Tailwind CSS Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
月光博客
月光博客
IT之家
IT之家
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
雷峰网
雷峰网
美团技术团队
F
Fortinet All Blogs
Hugging Face - Blog
Hugging Face - Blog
The GitHub Blog
The GitHub Blog

Science – Silicon Republic

IBM unveils tech capable of producing chips smaller than one nanometre Good vibrations, dancing bridges and a sustainable IoT Dublin's TensorX to partner with Solstice on sovereign European AI How are mini biosensors and antibodies changing modern healthcare? Irish projects among recipients of European Research Council Grant UCD PhD student explores link tying maths and spatial skills in children If AI robots can be tricked into ‘going rogue’, what are the implications? Students behind assistive tech start-up win NovaUCD contest Tencent tests new AI agent Xiaowei on WeChat 3,900 Waymo robotaxis recalled after new software issue Ireland quadruples solar energy capacity in three-year period New Irish bill to supervise EU AI Act gets greenlit Ireland’s NIBRT, Canada’s CASTL strengthen partnership for biomanufacturing talent Maynooth expert leading group on future of computational chemistry For conservation experts, is AI a powerful tool or dangerous shortcut? Irish Manufacturing Research announces ESA Phi-Lab Open Call for 2026 Horizon Quantum to build second quantum computer in Dublin RCSI scientists develop 'first of its kind' artificial heart valve Irish Government invests €460m in new 'Rinn' research centres The CEO innovating in Ireland’s ‘controlled and cautious’ medical cannabis space Anthropic rolls out ‘Mythos-like’ AI model Claude Fable 5 Maynooth’s new pathway fellow on quantum research and its applications Huawei makes UCD pit stop to showcase latest in renewables tech EU AI Act – the high-risk classification guidelines explained Will AI ‘digital twins’ transforming heart care work for women? Research Ireland’s Barometer project set to impact engagement Dublin's Pilot Photonics bags €1m from ESA to upgrade satellite tech Past the ‘wow phase’ of robotics, delivery and safety are paramount AI changing jobs faster than companies can keep up with, finds report Kerry’s RDI Hub opens AI collaboration with Luxembourg
Anthropic accidentally leaks Claude Code source in npm slip
2026-04-01 · via Science – Silicon Republic

Anthropic confirmed yesterday that ‘human error’ led to the leak of much of the source code of its star product Claude Code.

Anthropic has accidentally leaked the source code of its Claude Code agent after a misconfigured software package exposed it to the public. It follows a separate incident last week where Fortune said the company had accidentally leaked thousands of files.

The leak was spotted on Tuesday by security researcher Chaofan Shou, according to The Register, who found that the official npm package for Claude Code had shipped with a map file referencing an unobfuscated TypeScript source. Chaofan Shou proceeded to announce his find on X, sparking a flurry of activity.

That file pointed to a zip archive stored on Anthropic’s Cloudflare R2 storage bucket, which anyone could download and decompress. The archive reportedly contained some 1,900 TypeScript files totalling more than 512,000 lines of code, including full libraries of slash commands and built-in tools.

Within hours, a copy of the code was uploaded to GitHub, where it was ‘forked’ more than 41,500 times, according to The Register, effectively ensuring that the exposure could not easily be undone.

“Earlier today, a Claude Code release included some internal source code,” an Anthropic spokesperson told SiliconRepublic.com. “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’re rolling out measures to prevent this from happening again.”

The incident comes just days after Fortune reported that Anthropic had accidentally made thousands of files publicly available, including a draft blogpost describing an upcoming model known internally as both “Mythos” and “Capybara” – one that the document said presents cybersecurity risks.

The Register cited software engineer Gabriel Anhaia, who published a detailed analysis of the exposed code, saying the incident should serve as a cautionary tale for development teams everywhere.

“Apparently, a source map file was included in the npm package. Source maps are meant for debugging – they map minified/bundled code back to the original source,” Anhaia wrote in his analysis of the Claude Code leak. “Including one in a production npm publish effectively ships your entire codebase in readable form.

“This is a reminder for every engineering team: check your build pipeline. Make sure .map files are excluded from your publish configuration. A single misconfigured .npmignore or files field in package.json can expose everything,”

As experts and commentators pored through the now available source code, there seemed to be consensus that they were impressed with what they saw.

“Notice no one said the code is slop,” said prominent US tech blogger Robert Scoble in a social media post. “In every painful moment there are always gifts. The gift is that we all know now that Anthropic’s code is pretty damn good.”

However it also clear that the leak is a gift to its powerful competitors who are vying to compete with one of Anthropic’s most successful products, and have been given an inside view of what’s behind it.

Don’t miss out on the knowledge you need to succeed. Sign up for the Daily Brief, Silicon Republic’s digest of need-to-know sci-tech news.