<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Ai on MacWorks</title><link>https://macworks.dev/tags/ai/</link><description>Recent content in Ai on MacWorks</description><generator>Hugo</generator><language>en</language><atom:link href="https://macworks.dev/tags/ai/index.xml" rel="self" type="application/rss+xml"/><item><title>Simon Willison</title><link>https://macworks.dev/docs/today/simonwillison-2026-04-14/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://macworks.dev/docs/today/simonwillison-2026-04-14/</guid><description>&lt;h1 id="simon-willison--2026-04-14"&gt;Simon Willison — 2026-04-14&lt;a class="anchor" href="#simon-willison--2026-04-14"&gt;#&lt;/a&gt;&lt;/h1&gt;
&lt;h2 id="highlight"&gt;Highlight&lt;a class="anchor" href="#highlight"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Simon highlights a fascinating paradigm shift in AI security: treating vulnerability discovery as an economic &amp;ldquo;proof of work&amp;rdquo; equation where spending more tokens yields better hardening. This creates a compelling new argument for the enduring value of open-source libraries in the age of vibe-coding, as the massive cost of AI security reviews can be shared across all of a project&amp;rsquo;s users.&lt;/p&gt;
&lt;h2 id="posts"&gt;Posts&lt;a class="anchor" href="#posts"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;[datasette PR #2689: Replace token-based CSRF with Sec-Fetch-Site header protection]&lt;/strong&gt; · &lt;a href="https://simonwillison.net/2026/Apr/14/replace-token-based-csrf/#atom-everything"&gt;Source&lt;/a&gt;
Simon has replaced Datasette&amp;rsquo;s cumbersome token-based CSRF protection with a new middleware relying on the &lt;code&gt;Sec-Fetch-Site&lt;/code&gt; header, inspired by Filippo Valsorda&amp;rsquo;s research and recent changes in Go 1.25. This modern approach eliminates the need to scatter hidden CSRF token inputs throughout templates or selectively disable protection for external APIs. Interestingly, while Claude Code handled the bulk of the commits under Simon&amp;rsquo;s guidance with cross-review by GPT-5.4, Simon chose to hand-write the PR description himself as an exercise in conciseness and keeping himself honest.&lt;/p&gt;</description></item><item><title/><link>https://macworks.dev/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://macworks.dev/</guid><description>&lt;style&gt;
.book-btn + .book-btn { margin-left: 0.5rem; }
.book-card .markdown-inner p:first-of-type {
 min-height: 4.5em;
 line-height: 1.5;
}
&lt;/style&gt;
&lt;div class="book-hero"&gt;
&lt;h1 id="daily-digest"&gt;Daily Digest&lt;/h1&gt;
&lt;p&gt;AI-curated news and insights, organized so you never miss what matters&lt;/p&gt;
&lt;a class="book-btn"href="https://macworks.dev/docs/today/"&gt;Today's Digest&lt;/a&gt;
&lt;/div&gt;
&lt;div class="book-columns"id="book-columns-1"&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;h2 id="what-is-this"&gt;What Is This&lt;a class="anchor" href="#what-is-this"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;A daily briefing that pulls from dozens of sources — tech blogs, social media, news outlets, and video channels — then distills them into concise, readable summaries you can scan in minutes.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;h2 id="how-it-works"&gt;How It Works&lt;a class="anchor" href="#how-it-works"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Content is collected and summarized on a rolling basis: &lt;strong&gt;today&lt;/strong&gt; for the freshest takes, &lt;strong&gt;this week&lt;/strong&gt; for catch-up, and &lt;strong&gt;monthly/archive&lt;/strong&gt; views for deeper review.&lt;/p&gt;</description></item></channel></rss>