Transcript 0:00 What's up everyone? Welcome to Next in Dev, a weekly overview of all the news I could find in the modern web dev industry. 0:07 This week, Anthropic accidentally published the entire source code for Claude Code, Railway's brand new CDN leaked authenticated user sessions, Google wants you to dump your AI chatbot for Gemini, and Cloudflare announced a WordPress successor that half the internet thought was an April Fools' joke. 0:25 Let's dive in. The biggest story this week is an embarrassing one. Anthropic accidentally leaked Claude Code's source code through an NPM packaging error. 0:34 A recent release contained a source map file pointing to a zip archive on Anthropic's own cloud storage. There were nearly 2,000 TypeScript files and over 500,000 lines of code. 0:44 A security researcher flagged it on X, and within hours, the code base was mirrored across GitHub with 84,000 stars before Anthropic could start issuing takedowns. What's actually in the code is fascinating. 0:56 There's a three-layer memory architecture where the agent treats its own memory as hints rather than facts, and verifies everything against the actual code base. 1:05 There's also an unreleased autonomous mode that lets Claude Code work in the background while you're away, and there's further evidence of an upcoming model codenamed Capybara. 1:14 This comes days after Fortune reported that Anthropic had already left 3,000 internal files publicly accessible. 1:21 Two leaks in one week from the company whose entire brand is built on being more careful than everyone else isn't great. 1:27 The features are impressive engineering, but this is a $19 billion ARR company, and it just gave every competitor a free look into how the sausage is made. 1:37 Source map leaks are an easy mistake, but Anthropic chose to position itself as the safe one, and they need to earn it operationally, not just philosophically. 1:45 Speaking of things leaking, Railway launched CDN support on March 27th. Three days later, a configuration update accidentally enabled caching on domains that had CDN turned off. 1:56 For about an hour, Railway cached and served HTTP GET responses, including authenticated ones, across affected domains. 2:04 Railway's incident report says roughly.05% of domains were affected, but users on the support forums reported being logged in as other users entirely. 2:13 One user had evidence of customer data being exposed and hadn't received any notification almost 48 hours later. Railway acknowledged they didn't even have CDN logs initially. 2:23 If you're running anything with authenticated users on Railway, audit your cache headers today. Google had a busy week. 2:30 They launched a switching tool for Gemini that lets you import memories and full chat history from other AI chatbots. This is similar to Anthropic's switching tool that released around the Pentagon kerfuffle. 2:40 The memory import works through a copy/paste workflow where Gemini gives you a prompt, you paste it into your current app, it generates a summary, and you paste that back into Gemini. 2:50 For chat history, you can upload a zip file. Google is betting that once you're inside the Gemini ecosystem with Gmail, Photos, and Search all connected, you won't want to leave. I get the thinking, but I don't agree. 3:02 Separately, Google released Gemma 4. The 31B dense model ranks number three among all open models on Arena AI, outcompeting models 20 times its size. What's most interesting is the license. 3:14 Gemma 4 is Apache 2.0, a real open source license, not the restrictive terms they used for previous Gemma releases. Google is directly responding to community criticism with this move. 3:24 They've claimed previous models have been open, but the licenses they've provided have always been more restrictive than that. 3:30 Cloudflare announced MDash, an open source TypeScript CMS they're calling the spiritual successor to WordPress. 3:37 It runs serverless on workers, uses Astro as its front end framework, and has a fundamentally different plugin security model. Each plugin runs in its own isolated sandbox and declares exactly what permissions it needs. 3:49 No file system access, no database access unless explicitly granted. This seeks to address the fact that 96% of WordPress security issues come from plugins, but the early criticism is fair. 4:00 Search Engine Journal pointed out that there's no visual site builder, setup requires a CLI, and the announcement is entirely developer-focused. 4:08 At version 0.1, this is a developer preview, not a WordPress replacement, but the plugin security model is actually innovative, and if Cloudflare builds out the user experience, this could become significant. 4:20 Also, launching on April 1st was a choice. A lot of people dismissed it as an April Fools' joke. 4:26 On the topic of CMSs, Payload released version 381 with an LLM evaluation suite for testing whether AI coding tools generate correct Payload code. 4:34 This is Payload building automated benchmarks to make sure that when you ask Claude Code or Cursor to scaffold a collection, the output follows Payload conventions. 4:43 Much of this release is focused on stability and adjusting dependencies. Claude Code pushed seven releases since I last covered it, 2.1.84 through 2.1.90. 4:53 Highlights include a PowerShell tool for Windows, transcript search, and major performance fixes. Auto mode now actually respects explicit user boundaries like don't push or wait before doing something. 5:03 Previously, it could override those instructions, which is a pretty big trust issue for an autonomous coding tool. And yes, 2.1.88 was the version that leaked the source code. It's been pulled down. 5:15 Now for a few rapid fire things. 5:17 Figma launched Make Kits and Make Attachments, which are kits that let design system teams package their NPM components with guidelines that teach Figma Make how to use them, and attachments let you bring real data sets, screenshots, and brand docs into prompts so prototypes use actual content instead of placeholders. 5:36 AI image tools also expanded to FigJam, Slides, and Buzz. 5:40 Astro 6.1 added global sharp image encoding defaults, advanced configuration for non-English typography, and internationalization fallback routes for integrations. 5:49 Tan Stack Router replaced its reactive core with a signal graph built on Alien Signals. Client-side navigation dropped about 35% in React. No API changes required. It's the same hooks, just with fewer re-renders. 6:02 What did I miss? Let me know by leaving a comment wherever you're watching or listening, or by joining my Discord server and subscribing to the Next in Dev newsletter at nlvcodes.com. Thanks for watching or listening. 6:14 See you in the next one. 6:15 [outro music]