<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: christine</title>
    <description>The latest articles on DEV Community by christine (@cseeman).</description>
    <link>https://dev.to/cseeman</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F77243%2F5dbbe7a7-3411-4644-b415-cc14b80d7fbc.jpg</url>
      <title>DEV Community: christine</title>
      <link>https://dev.to/cseeman</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/cseeman"/>
    <language>en</language>
    <item>
      <title>Brain Frizz, Part 1: Blocking My Day</title>
      <dc:creator>christine</dc:creator>
      <pubDate>Thu, 19 Nov 2026 23:35:41 +0000</pubDate>
      <link>https://dev.to/cseeman/brain-frizz-part-1-blocking-my-day-1d02</link>
      <guid>https://dev.to/cseeman/brain-frizz-part-1-blocking-my-day-1d02</guid>
      <description>&lt;h1&gt;
  
  
  Brain Frizz, Part 1: Blocking My Day
&lt;/h1&gt;

&lt;p&gt;I review a lot of pull requests (PRs) now. Some of that is the job. As a staff engineer, part of my work is helping other people get unstuck, and on a team where AI agents write a lot of the code, what's usually stuck is a PR waiting on a review.&lt;/p&gt;

&lt;p&gt;The rest of my day goes to my own tickets, which usually means a few agent sessions running at once. Between the two, I was switching all day: start a ticket, review a PR, check on an agent, answer a ping, then go back to the ticket and try to remember where I was.&lt;/p&gt;

&lt;p&gt;I call what that does to me brain frizz. It's a foggy, headachy feeling where I can't concentrate on one more thing. The tension in my shoulders creeps up, and I'm more irritated at everything. It was at its worst the afternoon of November 6, which is when I sat down and planned this experiment.&lt;/p&gt;

&lt;p&gt;So for two weeks, November 11 to 24, I'm splitting my day into fixed blocks, some for ticket work and some for reviews. This post is the plan. I'm publishing it at the halfway point, and I'll write up the results after the 24th.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Blocks
&lt;/h2&gt;

&lt;p&gt;I've been digging into our team's PR history for a post on WIP limits (WIP means work in progress). The short version: we open a lot more PRs than we did two years ago, they're much bigger, and the wait for a first review has grown several times over. Review is where our work piles up now.&lt;/p&gt;

&lt;p&gt;A WIP limit caps how many things are in progress at once. Blocks are my personal version: each part of the day holds one kind of work, so reviews and my own tickets are never in progress at the same time.&lt;/p&gt;

&lt;h2&gt;
  
  
  What My Calendar Showed
&lt;/h2&gt;

&lt;p&gt;Before picking times, I went back through two months of my calendar. Meetings almost always landed between 10:30 and 12:30. Afternoons were mostly open.&lt;/p&gt;

&lt;p&gt;So the blocks go around that cluster instead of competing with it.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Schedule
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Time&lt;/th&gt;
&lt;th&gt;Block&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;9:00-10:30&lt;/td&gt;
&lt;td&gt;Ticket work&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;10:30-12:30&lt;/td&gt;
&lt;td&gt;Meetings, when there are any&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;1:00-2:00&lt;/td&gt;
&lt;td&gt;Reviews&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;2:00-4:00&lt;/td&gt;
&lt;td&gt;Ticket work&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;4:00-4:45&lt;/td&gt;
&lt;td&gt;Reviews&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;They're recurring events on my calendar every weekday (Monday's morning block starts at 9:15), and I told the team about them. That helps less than it sounds. Nobody checks a calendar before sending a Slack message, and review requests go to a shared channel where everyone posts their PRs. So holding the blocks is up to me. A review request that comes in during a ticket block waits for the next review block, a few hours at most during the day.&lt;/p&gt;

&lt;p&gt;The exception is an urgent review: something blocking a deploy, or a teammate who can't move until I look. Unblocking people is part of my job, so those can break a ticket block. I still log them as broken blocks, so I can see how often it happens.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I'm Tracking
&lt;/h2&gt;

&lt;p&gt;I check in twice. At 8:50, before the first ticket block, I score my brain frizz as fog from 1 (clear) to 5 (fried) and do a body check: headache, tight shoulders, irritability, and how much work followed me into the evening. At the end of the day, a two-minute log covers the rest:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Whether a ticket block broke, and what broke it: a meeting, someone else (a ping or an urgent review), or me deciding to switch&lt;/li&gt;
&lt;li&gt;How many PRs I reviewed, and how many review requests didn't fit in a review block&lt;/li&gt;
&lt;li&gt;The most agent sessions I had running at once during a ticket block&lt;/li&gt;
&lt;li&gt;How ticket work felt: real progress, mixed, or pushed around&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The broken-block causes are the part I care about most. If most of the breaks are me choosing to switch, a new calendar won't fix much.&lt;/p&gt;

&lt;p&gt;My baseline is November 10, the day before the experiment started. By then the worst had eased to some mild fog, but I still had tight shoulders and reviews sneaking into my ticket work.&lt;/p&gt;

&lt;h2&gt;
  
  
  What Counts as Success
&lt;/h2&gt;

&lt;p&gt;I'm writing this down now so I can't move the goalposts in the results post.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;It worked if&lt;/strong&gt; my average fog score for the second week is at least half a point lower than my November 10 score, with no more than two days at 4 or 5.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;It failed if&lt;/strong&gt; fog doesn't improve, or if teammates start waiting more than a day for my reviews because of the blocks. Feeling better doesn't count if the cost lands on everyone else.&lt;/p&gt;

&lt;h2&gt;
  
  
  Halfway Through
&lt;/h2&gt;

&lt;p&gt;The first week, I didn't fill in the log. I'd built it before the experiment started, so it was there. But I put it somewhere that never came up during my day, and filling in a log at 4:45 isn't a habit for me yet. So I didn't do it.&lt;/p&gt;

&lt;p&gt;I've moved it next to the daily journal I already open every day, and I'm logging from today on. The results will lean on the second week.&lt;/p&gt;

&lt;p&gt;Even without the log, I'm feeling better. The part I didn't expect is the conversations. Once I started talking about the blocks, a lot of my coworkers said they're feeling the same thing, and each of them has a different fix. Some are leaning into AI as the fix for AI, building dashboards that show where their attention should go next. Others are blocking time too, or at least starting the day with reviews. That's good. What works depends on the person and their workflow, so try what fits yours instead of copying my schedule.&lt;/p&gt;

&lt;p&gt;I'll post the results after November 24.&lt;/p&gt;

</description>
      <category>productivity</category>
      <category>codereview</category>
      <category>focus</category>
      <category>ai</category>
    </item>
    <item>
      <title>Patch Your Ruby! Again! Seven Regexp and String Fixes in 4.0.10, 3.4.13, and 3.3.14</title>
      <dc:creator>christine</dc:creator>
      <pubDate>Thu, 19 Nov 2026 16:33:25 +0000</pubDate>
      <link>https://dev.to/cseeman/patch-your-ruby-again-seven-regexp-and-string-fixes-in-4010-3413-and-3314-1h6m</link>
      <guid>https://dev.to/cseeman/patch-your-ruby-again-seven-regexp-and-string-fixes-in-4010-3413-and-3314-1h6m</guid>
      <description>&lt;p&gt;Less than a month after the &lt;a href="https://christine-seeman.com/ruby-regexp-gitlab-cves/" rel="noopener noreferrer"&gt;regexp fixes for GitLab's CVEs&lt;/a&gt;, Ruby posted &lt;a href="https://www.ruby-lang.org/en/news/2026/11/18/multiple-vulnerabilities-in-regexp-and-string/" rel="noopener noreferrer"&gt;seven more security advisories&lt;/a&gt; last night, at 6 p.m. Central. Five are in the regular expression engine and two are in string case conversion. Three are rated critical, and the Ruby team says proofs of concept show some of them can lead to remote code execution, meaning an attacker could run their own code on your server. The fixes are in Ruby 4.0.10, 3.4.13, and 3.3.14.&lt;/p&gt;

&lt;p&gt;We had the upgrade merged by 10:30 that night and running in production just after midnight. More on how below.&lt;/p&gt;

&lt;h2&gt;
  
  
  Am I Affected?
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Ruby series&lt;/th&gt;
&lt;th&gt;Affected&lt;/th&gt;
&lt;th&gt;Fixed in&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;4.0&lt;/td&gt;
&lt;td&gt;4.0.0 through 4.0.9&lt;/td&gt;
&lt;td&gt;4.0.10&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;3.4&lt;/td&gt;
&lt;td&gt;3.4.0 through 3.4.12&lt;/td&gt;
&lt;td&gt;3.4.13&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;3.3&lt;/td&gt;
&lt;td&gt;3.3.13 and earlier&lt;/td&gt;
&lt;td&gt;3.3.14&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;3.2 and older&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;No fix (end of life)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Last month the answer was simple: if every regexp in your app was written by a developer, you weren't affected. That's no longer the whole answer. Three of the seven only need the attacker to control the string, not the pattern:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Two are in case conversion, so changing the case of a crafted string can corrupt memory.&lt;/li&gt;
&lt;li&gt;One is in case-insensitive backreference matching (a pattern like &lt;code&gt;/(a)\1/i&lt;/code&gt;, where &lt;code&gt;\1&lt;/code&gt; repeats an earlier match), which can read past the end of the string being matched.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;So even an app that never builds a regexp from user input should upgrade.&lt;/p&gt;

&lt;p&gt;No CVE IDs have been assigned yet. The Ruby team has requested them, and for now each issue is tracked by its GitHub Security Advisory (GHSA) ID.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Seven Advisories
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Advisory&lt;/th&gt;
&lt;th&gt;What it is&lt;/th&gt;
&lt;th&gt;Severity&lt;/th&gt;
&lt;th&gt;Attacker needs to control&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="https://github.com/ruby/ruby/security/advisories/GHSA-34m4-m9fh-gqp5" rel="noopener noreferrer"&gt;GHSA-34m4-m9fh-gqp5&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Case conversion writes one byte past its buffer in some single-byte encodings, such as ISO-8859-1 and Windows-1252&lt;/td&gt;
&lt;td&gt;Critical&lt;/td&gt;
&lt;td&gt;The string&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="https://github.com/ruby/ruby/security/advisories/GHSA-87fm-7w84-j2px" rel="noopener noreferrer"&gt;GHSA-87fm-7w84-j2px&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Case conversion length overflows when the result is over 4 GiB&lt;/td&gt;
&lt;td&gt;High&lt;/td&gt;
&lt;td&gt;The string&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="https://github.com/ruby/ruby/security/advisories/GHSA-7x2q-68qv-6p8x" rel="noopener noreferrer"&gt;GHSA-7x2q-68qv-6p8x&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Double free when compiling a character class intersection (&lt;code&gt;&amp;amp;&amp;amp;&lt;/code&gt;)&lt;/td&gt;
&lt;td&gt;Critical&lt;/td&gt;
&lt;td&gt;The pattern&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="https://github.com/ruby/ruby/security/advisories/GHSA-3p8q-wmhx-vm2w" rel="noopener noreferrer"&gt;GHSA-3p8q-wmhx-vm2w&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Compiled pattern size overflows during compilation&lt;/td&gt;
&lt;td&gt;Critical&lt;/td&gt;
&lt;td&gt;The pattern&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="https://github.com/ruby/ruby/security/advisories/GHSA-7whj-cfh7-xgm4" rel="noopener noreferrer"&gt;GHSA-7whj-cfh7-xgm4&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;Regexp#to_s&lt;/code&gt; writes past its buffer&lt;/td&gt;
&lt;td&gt;High&lt;/td&gt;
&lt;td&gt;The pattern&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="https://github.com/ruby/ruby/security/advisories/GHSA-wpqw-5qxg-m68r" rel="noopener noreferrer"&gt;GHSA-wpqw-5qxg-m68r&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Out-of-bounds read in case-insensitive matching&lt;/td&gt;
&lt;td&gt;High&lt;/td&gt;
&lt;td&gt;The pattern&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="https://github.com/ruby/ruby/security/advisories/GHSA-pvgc-g7gj-pv6h" rel="noopener noreferrer"&gt;GHSA-pvgc-g7gj-pv6h&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Out-of-bounds read in case-insensitive backreference matching&lt;/td&gt;
&lt;td&gt;Moderate&lt;/td&gt;
&lt;td&gt;The string&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;A few terms: a double free means memory is released twice, which can corrupt it. An integer overflow is a number too big for its type, so it wraps around and Ruby allocates too little space. An out-of-bounds read means Ruby reads memory it shouldn't, which can leak data or crash the process. Writing past a buffer, the block of memory set aside for some data, can overwrite whatever sits next to it, and that's what can turn into code execution.&lt;/p&gt;

&lt;p&gt;A character class intersection matches characters that are in both sets, like &lt;code&gt;[a-z&amp;amp;&amp;amp;[^aeiou]]&lt;/code&gt; for lowercase consonants.&lt;/p&gt;

&lt;p&gt;The advisories don't name specific &lt;code&gt;String&lt;/code&gt; methods for the case conversion bugs. The safe reading is anything that changes case: &lt;code&gt;upcase&lt;/code&gt;, &lt;code&gt;downcase&lt;/code&gt;, &lt;code&gt;capitalize&lt;/code&gt;, &lt;code&gt;swapcase&lt;/code&gt;, and their &lt;code&gt;!&lt;/code&gt; versions.&lt;/p&gt;

&lt;p&gt;Four of the seven are credited jointly to Stephan Lipp of Ada Logics and to Anthropic. Two came through HackerOne, a bug bounty platform, and one from two Ruby committers.&lt;/p&gt;

&lt;h2&gt;
  
  
  How We Patched Last Night
&lt;/h2&gt;

&lt;p&gt;We're in scope. Our app compiles regexps from patterns stored in the database, the kind of code the pattern advisories target.&lt;/p&gt;

&lt;p&gt;Last month, bumping Ruby the day the fix came out &lt;a href="https://christine-seeman.com/ruby-regexp-gitlab-cves/" rel="noopener noreferrer"&gt;broke our CI&lt;/a&gt; (continuous integration, the tests that run on every pull request), because we changed the version before the Docker image and &lt;code&gt;setup-ruby&lt;/code&gt;, the GitHub Action that installs Ruby, knew about it. The lesson was the order: wait for the base image, update CI, then change &lt;code&gt;.tool-versions&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;This time a teammate followed that order. All times are Central, November 18:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Time&lt;/th&gt;
&lt;th&gt;What happened&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;6:00 p.m.&lt;/td&gt;
&lt;td&gt;Ruby posts the advisories&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;6:48 p.m.&lt;/td&gt;
&lt;td&gt;Docker Hub moves &lt;code&gt;ruby:4.0-alpine&lt;/code&gt; to 4.0.10&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Shortly after&lt;/td&gt;
&lt;td&gt;Our CI image is rebuilt and reports 4.0.10&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;7:11 p.m.&lt;/td&gt;
&lt;td&gt;Pull request (PR) opened, a one-line change to &lt;code&gt;.tool-versions&lt;/code&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;7:41 p.m.&lt;/td&gt;
&lt;td&gt;Marked ready for review&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;7:51 p.m.&lt;/td&gt;
&lt;td&gt;First approval&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;8:33 p.m.&lt;/td&gt;
&lt;td&gt;Second approval&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;10:30 p.m.&lt;/td&gt;
&lt;td&gt;Merged&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;After midnight&lt;/td&gt;
&lt;td&gt;Production deployed on 4.0.10&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;A few things made it boring, which is what you want from a security upgrade:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Production didn't need a code change.&lt;/strong&gt; Our Dockerfiles use the &lt;code&gt;4.0&lt;/code&gt; tag, so the next build gets 4.0.10. The PR only moves the version for local development.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;CI was already on 4.0.10.&lt;/strong&gt; Every workflow now runs in our own CI container, which was rebuilt after Docker Hub updated, so there was no &lt;code&gt;setup-ruby&lt;/code&gt; version to bump.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Review took 10 minutes.&lt;/strong&gt; A one-line PR with a clear reason in the description is easy to approve, even in the evening.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;No cooldown to bypass.&lt;/strong&gt; Our &lt;a href="https://christine-seeman.com/dependency-cooldowns-vs-patch-now/" rel="noopener noreferrer"&gt;14-day gem cooldown&lt;/a&gt; applies to gems, not to Ruby itself, so nothing held this one back.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What to Do
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Upgrade to Ruby 4.0.10, 3.4.13, or 3.3.14. Check every place Ruby's version is set: your version manager file (&lt;code&gt;.ruby-version&lt;/code&gt; or &lt;code&gt;.tool-versions&lt;/code&gt;), the &lt;code&gt;ruby&lt;/code&gt; line in your &lt;code&gt;Gemfile&lt;/code&gt;, your Docker base image, and any CI image you build separately.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Confirm what production runs. &lt;code&gt;RUBY_VERSION&lt;/code&gt; in a console on the server is the quickest check.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;If you upgrade the same day, check that your base image and CI setup have the new version before you change your version file.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  If You Can't Upgrade Yet
&lt;/h2&gt;

&lt;p&gt;The advisories give no workaround, only the upgrade.&lt;/p&gt;

&lt;p&gt;For the pattern bugs, the advice from last month still applies: don't compile regexps from input you don't control.&lt;/p&gt;

&lt;p&gt;For the string bugs, the risk depends on your data. The one-byte overflow only happens in single-byte encodings like ISO-8859-1 and Windows-1252, and most Rails apps work in UTF-8. Watch for places you convert imported legacy files. The other needs a converted string over 4 GiB, which request size limits usually rule out. Neither is a reason to put off the upgrade.&lt;/p&gt;

&lt;p&gt;If you're on Ruby 3.2 or older, there's no fix coming (FYI! Upgrade now!) Ruby 3.3 is still supported until the end of March 2027, and starting with 3.3.14 it also gets selected bug fixes, not just security fixes. The Ruby team now calls this the legacy maintenance phase.&lt;/p&gt;

&lt;h2&gt;
  
  
  More Information
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.ruby-lang.org/en/news/2026/11/18/multiple-vulnerabilities-in-regexp-and-string/" rel="noopener noreferrer"&gt;Ruby advisory: multiple vulnerabilities in Regexp and String case conversion&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.ruby-lang.org/en/news/2026/11/18/ruby-4-0-10-released/" rel="noopener noreferrer"&gt;Ruby 4.0.10 released&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.ruby-lang.org/en/news/2026/11/18/ruby-3-4-13-released/" rel="noopener noreferrer"&gt;Ruby 3.4.13 released&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.ruby-lang.org/en/news/2026/11/18/ruby-3-3-14-released/" rel="noopener noreferrer"&gt;Ruby 3.3.14 released&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://christine-seeman.com/ruby-regexp-gitlab-cves/" rel="noopener noreferrer"&gt;Last month's regexp fixes for GitLab's CVEs&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>ruby</category>
      <category>security</category>
      <category>regex</category>
      <category>cve</category>
    </item>
    <item>
      <title>When to Skip Your Gem Cooldown</title>
      <dc:creator>christine</dc:creator>
      <pubDate>Mon, 09 Nov 2026 21:29:51 +0000</pubDate>
      <link>https://dev.to/cseeman/when-to-skip-your-gem-cooldown-49ph</link>
      <guid>https://dev.to/cseeman/when-to-skip-your-gem-cooldown-49ph</guid>
      <description>&lt;p&gt;Wait two weeks before trusting a new gem, or patch the moment a fix ships? I've been going back and forth on that all week.&lt;/p&gt;

&lt;p&gt;It's been a rough one. On November 4, Rails shipped &lt;a href="https://christine-seeman.com/rails-8-0-5-2-and-8-1-4-1-security-releases/" rel="noopener noreferrer"&gt;8.0.5.2 and 8.1.4.1&lt;/a&gt; with fixes for 21 security advisories, one of them critical. Trilogy, the MySQL client gem behind one of Rails' database adapters, had fixed a critical SQL injection six days earlier and shipped a follow-up release the same day as Rails. Crass, a CSS parser that Rails pulls in through rails-html-sanitizer, picked up five advisories in ten days. Every one of those fixes was a brand-new release, and both apps I work on have a 14-day cooldown in their Gemfiles telling Bundler to skip brand-new releases.&lt;/p&gt;

&lt;p&gt;The pressure to wait has been building all year! Supply chain attacks, where malicious code ships inside a dependency, kept coming: an agent swarm uploaded more than 3,000 spam gems to RubyGems.org from May to July, by JFrog's count (&lt;a href="https://christine-seeman.com/openai-agent-swarm-rubygems-attack/" rel="noopener noreferrer"&gt;part one&lt;/a&gt;, &lt;a href="https://christine-seeman.com/openai-called-the-rubygems-attack-benign/" rel="noopener noreferrer"&gt;part two&lt;/a&gt;), and in June Bundler added the &lt;code&gt;cooldown&lt;/code&gt; setting so teams could wait out the next bad release. This week, waiting and patching pointed in opposite directions at the same time.&lt;/p&gt;

&lt;p&gt;I don't have a settled answer. But here's where my team is and what this month showed us.&lt;/p&gt;

&lt;h2&gt;
  
  
  How We Ended Up With a 14-Day Wait
&lt;/h2&gt;

&lt;p&gt;The two apps I work on got there in three steps.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;December 2025:&lt;/strong&gt; A 14-day cooldown was added to Dependabot, GitHub's dependency update bot, in one app, so Dependabot wouldn't make us a supply chain victim by accident. The same change grouped the updates, because the team was getting one pull request (PR) per gem (which when you have gems at scale is A LOT of PRs).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;May 2026:&lt;/strong&gt; the other app added the same 14-day Dependabot cooldown as part of hardening its supply chain.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;June 3, 2026:&lt;/strong&gt; RubyGems published &lt;a href="https://blog.rubygems.org/2026/06/03/cooldown-let-new-gems-be-vetted.html" rel="noopener noreferrer"&gt;Cool down before you install&lt;/a&gt;, and Bundler 4.0.13 shipped the &lt;code&gt;cooldown&lt;/code&gt; setting. The same day, a teammate added &lt;code&gt;source "https://rubygems.org", cooldown: 14&lt;/code&gt; to both Gemfiles.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Both apps also hold npm packages back for 14 days with Yarn's &lt;code&gt;npmMinimalAgeGate&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;The Bundler setting matters most here, because it applies to people as well as the bot. A Dependabot cooldown only changes when Dependabot opens PRs. The Gemfile cooldown applies to every &lt;code&gt;bundle update&lt;/code&gt;, including the one a developer runs by hand.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Both Rules Make Sense
&lt;/h2&gt;

&lt;p&gt;A cooldown protects you from a malicious release of a gem you already depend on, and those tend to get caught fast. GitHub's post &lt;a href="https://github.blog/security/supply-chain-security/the-case-for-a-cooldown-why-dependabot-now-waits-before-issuing-version-updates/" rel="noopener noreferrer"&gt;The case for a cooldown&lt;/a&gt; gives the numbers behind Dependabot's new 3-day default: in September 2025, hijacked releases of the npm packages chalk and debug were live for about two hours, and ua-parser-js and Ledger Connect Kit were each pulled within hours. Those are all npm examples. I didn't find the same kind of data for RubyGems.&lt;/p&gt;

&lt;p&gt;The swarm was a different kind of attack. Those were new spam gems, not hijacked releases of gems people already use, and a cooldown does little against a gem nobody installs.&lt;/p&gt;

&lt;p&gt;A security release pushes the other way. Once the advisory and patch are public, attackers can read the fix to find the bug. Staying on the old version gives them time to use it.&lt;/p&gt;

&lt;p&gt;The two rules guard against different things, so most weeks they don't conflict. They collide when the only fix for a public vulnerability is a release younger than your cooldown. On November 4, that was Rails.&lt;/p&gt;

&lt;h2&gt;
  
  
  What We Did on November 4
&lt;/h2&gt;

&lt;p&gt;We shipped the Rails patch the same day in both apps. In each one, a developer opened the upgrade PR by hand, and both merged by 9:15 that morning, Eastern time. Dependabot never opened a Rails PR, and I'll get to why.&lt;/p&gt;

&lt;p&gt;Bundler's way past the Gemfile cooldown is an override for a single run:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;bundle update rails &lt;span class="nt"&gt;--conservative&lt;/span&gt; &lt;span class="nt"&gt;--cooldown&lt;/span&gt; 0
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The RubyGems post describes &lt;code&gt;--cooldown 0&lt;/code&gt; for exactly this case, a disclosure that tells you to upgrade immediately. It overrides the Gemfile for that one command and leaves the policy in place for everyone else.&lt;/p&gt;

&lt;p&gt;The PR in one app handled the override well. It listed the override as the first thing for reviewers to check and explained why: the fixes only existed in releases inside the 14-day window. It confirmed that each new gem's checksum matched the one on rubygems.org, and it left the Gemfile setting alone.&lt;/p&gt;

&lt;h2&gt;
  
  
  A good rule to go by
&lt;/h2&gt;

&lt;p&gt;Routine updates wait out the cooldown. Updates for a published security advisory skip it.&lt;/p&gt;

&lt;p&gt;Skipping it still means checking the release, because "urgent security update" is also a good disguise for a malicious one:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The advisory comes from the project's own channel, like the rubyonrails.org announcement or a GHSA (GitHub Security Advisory) in the project's own repo, not an issue comment or an email.&lt;/li&gt;
&lt;li&gt;The checksums match. The Rails announcement published a checksum for every gem in the release.&lt;/li&gt;
&lt;li&gt;The changes look like the fix. Skim the compare view between your version and the patch release, like &lt;code&gt;v8.1.4...v8.1.4.1&lt;/code&gt; for Rails on GitHub. The changes should be in the code the advisories describe.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Only skip it for the gem the advisory names, with &lt;code&gt;--conservative&lt;/code&gt;, so the rest of the lockfile stays put.&lt;/p&gt;

&lt;h2&gt;
  
  
  Triage Before You Rush
&lt;/h2&gt;

&lt;p&gt;Not all 21 Rails advisories needed a same-day patch in every app. CVSS (the 0-10 severity score) tells you how bad a bug is in general. Whether your app uses the affected code tells you how fast to move. One of our apps had no Active Storage attachments at all, so the critical advisory didn't apply there.&lt;/p&gt;

&lt;p&gt;If you can't upgrade today, many advisories list workarounds that need no new gems: the ImageMagick policy for the critical Active Storage bug, turning off the video previewer, or forcing string encodings before they reach Trilogy.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where the Bypass Leaks
&lt;/h2&gt;

&lt;p&gt;This month turned up four cases the rule above doesn't cover cleanly.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Separate releases need their own bypass.&lt;/strong&gt; &lt;code&gt;--conservative&lt;/code&gt; keeps the lockfile change small, but it only updates Rails and what Rails requires. Trilogy shipped its fix on its own schedule, so a Rails upgrade never touches it.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Follow-up releases.&lt;/strong&gt; Trilogy 2.13.3 came six days after the 2.13.2 fix, with a commit titled "Further harden &lt;code&gt;encoding_for_charset&lt;/code&gt;" and no new advisory. Does the bypass cover a follow-up like that? I'd take it, but my own rule doesn't say so.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The gems Rails itself depends on.&lt;/strong&gt; The Rails release required new versions of rails-html-sanitizer, loofah, and nokogiri, all published within the previous three days. The override covered all of them, not only the gem the advisory named.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The override has a side effect that lasts up to two weeks.&lt;/strong&gt; Once the lockfile holds gems younger than the cooldown, a full &lt;code&gt;bundle update&lt;/code&gt; fails with a cooldown error until they age out, around mid-November for us. It doesn't downgrade anything, but routine updates stall after every patch-now release.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What Dependabot Does on Its Own
&lt;/h2&gt;

&lt;p&gt;On paper, Dependabot already follows the same rule. Its &lt;a href="https://docs.github.com/en/code-security/reference/supply-chain-security/dependabot-options-reference" rel="noopener noreferrer"&gt;options reference&lt;/a&gt; says &lt;code&gt;cooldown&lt;/code&gt; applies only to version updates, and security updates open right away. Both apps have Dependabot security updates turned on.&lt;/p&gt;

&lt;p&gt;So why didn't Dependabot open a Rails PR? It couldn't. Dependabot alerts only come from advisories GitHub has reviewed into its global GitHub Advisory Database. As of November 9, none of the 21 Rails advisories are in the global database. Trilogy's advisory from October 29 isn't there either. The newest reviewed RubyGems entries in the database are still from October 29.&lt;/p&gt;

&lt;p&gt;The built-in bypass waits on a review queue. For Rails, the same-day patch came from developers reading the announcement. Dependabot had nothing to act on.&lt;/p&gt;

&lt;p&gt;When an advisory does get reviewed, the bypass works. One of the crass advisories was reviewed on October 28. In one app, Dependabot opened the security PR 54 minutes later, and it merged the next morning. Crass 1.0.8 was seven days old, inside the Gemfile's 14-day cooldown. In that app, the Gemfile cooldown didn't block Dependabot's security update.&lt;/p&gt;

&lt;h2&gt;
  
  
  Keep the Fast Path Fast
&lt;/h2&gt;

&lt;p&gt;In my &lt;a href="https://christine-seeman.com/rails-8-0-5-2-and-8-1-4-1-security-releases/" rel="noopener noreferrer"&gt;Rails post&lt;/a&gt;, an unrelated failure from Reek, a code smell checker, showed up in the middle of an urgent upgrade. A same-day patch only works if CI (the automated test run on every PR) is already green on an ordinary day.&lt;/p&gt;

&lt;h2&gt;
  
  
  Still Working It Out
&lt;/h2&gt;

&lt;p&gt;This year brought an agent swarm on RubyGems, a 3-day default in Dependabot, a cooldown in Bundler, and 21 Rails advisories in one release. Here's what this month taught us:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A cooldown guards against hijacked releases, which tend to get caught within hours. A security release is the one update where waiting helps the attacker.&lt;/li&gt;
&lt;li&gt;Routine updates wait out the cooldown. Advisory fixes skip it, after checking the source, the checksums, and the changes.&lt;/li&gt;
&lt;li&gt;The bypass covers less than it looks like. Separate gems, follow-up releases, and the gems Rails pulls in each need their own decision.&lt;/li&gt;
&lt;li&gt;Dependabot's security bypass only starts once GitHub reviews the advisory. For the November 4 Rails advisories, that still hasn't happened.&lt;/li&gt;
&lt;li&gt;None of it is fast unless CI is already green.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The cooldown did its job, and we still shipped the Rails fix the same day. Where to draw the line between waiting and patching is each team's call. Make that call before the next advisory lands, while nobody is racing a deadline.&lt;/p&gt;

</description>
      <category>bundler</category>
      <category>rubygems</category>
      <category>ruby</category>
      <category>security</category>
    </item>
    <item>
      <title>Patch Your Trilogy Too: SQL Injection</title>
      <dc:creator>christine</dc:creator>
      <pubDate>Fri, 06 Nov 2026 18:33:24 +0000</pubDate>
      <link>https://dev.to/cseeman/patch-your-trilogy-too-sql-injection-6pc</link>
      <guid>https://dev.to/cseeman/patch-your-trilogy-too-sql-injection-6pc</guid>
      <description>&lt;p&gt;If you upgraded to Rails 8.0.5.2 or 8.1.4.1 after &lt;a href="https://christine-seeman.com/rails-8-0-5-2-and-8-1-4-1-security-releases/" rel="noopener noreferrer"&gt;my post on the 21 security fixes&lt;/a&gt; and your app runs on MySQL through Trilogy, there's one more gem to update. Six days before the Rails release, Trilogy published a critical SQL injection advisory, &lt;a href="https://github.com/trilogy-libraries/trilogy/security/advisories/GHSA-744p-w4gc-m3gh" rel="noopener noreferrer"&gt;GHSA-744p-w4gc-m3gh&lt;/a&gt; (a GitHub Security Advisory ID). It isn't part of the Rails batch, and upgrading Rails doesn't pull in the fix.&lt;/p&gt;

&lt;p&gt;Trilogy is the MySQL client gem behind Rails' &lt;code&gt;trilogy&lt;/code&gt; database adapter, the alternative to &lt;code&gt;mysql2&lt;/code&gt;. The advisory has no CVE ID (the usual public vulnerability number) yet.&lt;/p&gt;

&lt;h2&gt;
  
  
  What Went Wrong
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;Trilogy#escape&lt;/code&gt; makes a string safe to put in a SQL query by escaping characters like quotes. It was written for encodings where a byte that looks like a quote is always a quote. Shift_JIS and Windows-31J (Japanese) and Big5, GBK, and GB18030 (Chinese) don't work that way: the second byte of a two-byte character can be the same byte as a quote or backslash. Trilogy and MySQL can then disagree about where a character ends, and an attacker can use that to get a quote through unescaped. That's SQL injection.&lt;/p&gt;

&lt;p&gt;The advisory lists two ways an app is affected:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;On any connection character set, including the default &lt;code&gt;utf8mb4&lt;/code&gt; (MySQL's full UTF-8), if an attacker can influence the encoding of a string the app escapes.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;On a connection configured with &lt;code&gt;encoding: sjis&lt;/code&gt;, &lt;code&gt;cp932&lt;/code&gt;, &lt;code&gt;big5&lt;/code&gt;, &lt;code&gt;gbk&lt;/code&gt;, or &lt;code&gt;gb18030&lt;/code&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;It describes the impact as SQL injection that doesn't require logging in and says Rails apps using the Trilogy adapter are likely affected. With the Trilogy adapter in Rails 8.1.4.1, Active Record's &lt;code&gt;quote_string&lt;/code&gt; calls &lt;code&gt;Trilogy#escape&lt;/code&gt;, so string values Active Record quotes into your queries go through it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why the Rails Upgrade Didn't Fix It
&lt;/h2&gt;

&lt;p&gt;The Trilogy adapter in both 8.0.5.2 and 8.1.4.1 still asks only for &lt;code&gt;gem "trilogy", "~&amp;gt; 2.7"&lt;/code&gt;, and neither security release touches the MySQL or Trilogy code. If you followed the &lt;code&gt;bundle update rails --conservative&lt;/code&gt; step from the last post, Trilogy stayed on whatever version you had.&lt;/p&gt;

&lt;p&gt;Dependabot won't open a pull request for it yet either. As of November 6, the advisory isn't in GitHub's reviewed advisory database, which is where Dependabot alerts come from.&lt;/p&gt;

&lt;h2&gt;
  
  
  What to Do
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Check your version:
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;bundle info trilogy
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;If it's 2.13.1 or older, update it:
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;bundle update trilogy &lt;span class="nt"&gt;--conservative&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The advisory names 2.13.2 as the fix. 2.13.3 came out on November 4 with a commit titled "Further harden &lt;code&gt;encoding_for_charset&lt;/code&gt;," so I'd take the latest.&lt;/p&gt;

&lt;p&gt;If your Gemfile sets a Bundler &lt;code&gt;cooldown&lt;/code&gt;, both fixed versions are still inside a 14-day window, and the update stops with a cooldown error. Override it for this one run with &lt;code&gt;bundle update trilogy --conservative --cooldown 0&lt;/code&gt;.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;If your &lt;code&gt;database.yml&lt;/code&gt; sets one of the five encodings above, those connection encodings now raise &lt;code&gt;ArgumentError&lt;/code&gt;. The advisory says they never worked correctly and are no longer supported. Moving to &lt;code&gt;utf8mb4&lt;/code&gt; is the usual path, and if your tables hold data in those encodings, that's a data migration to plan before you deploy the gem update.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  If You Can't Upgrade Yet
&lt;/h2&gt;

&lt;p&gt;The advisory's workaround is to enforce the encoding of every string passed to &lt;code&gt;Trilogy#escape&lt;/code&gt; and &lt;code&gt;Trilogy#query&lt;/code&gt;. Every string value Active Record quotes goes through &lt;code&gt;escape&lt;/code&gt;, so that means far more than your own hand-written queries. Updating the gem is the more reliable fix.&lt;/p&gt;

&lt;h2&gt;
  
  
  More Information
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://github.com/trilogy-libraries/trilogy/security/advisories/GHSA-744p-w4gc-m3gh" rel="noopener noreferrer"&gt;Trilogy advisory GHSA-744p-w4gc-m3gh&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://rubygems.org/gems/trilogy" rel="noopener noreferrer"&gt;trilogy on RubyGems&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://christine-seeman.com/rails-8-0-5-2-and-8-1-4-1-security-releases/" rel="noopener noreferrer"&gt;Patch Your Rails: 21 Security Fixes in 8.0.5.2 and 8.1.4.1&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>mysql</category>
      <category>rails</category>
      <category>ruby</category>
      <category>security</category>
    </item>
    <item>
      <title>Patch Your Rails: 21 Security Fixes in 8.0.5.2 and 8.1.4.1</title>
      <dc:creator>christine</dc:creator>
      <pubDate>Wed, 04 Nov 2026 16:51:06 +0000</pubDate>
      <link>https://dev.to/cseeman/patch-your-rails-21-security-fixes-in-8052-and-8141-1i7c</link>
      <guid>https://dev.to/cseeman/patch-your-rails-21-security-fixes-in-8052-and-8141-1i7c</guid>
      <description>&lt;p&gt;&lt;a href="https://rubyonrails.org/2026/11/4/Rails-8.0.5.2-and-8.1.4.1-have-been-released" rel="noopener noreferrer"&gt;Rails 8.0.5.2 and 8.1.4.1&lt;/a&gt; came out today with fixes for 21 security issues: 1 critical, 4 high, 13 medium, and 3 low. If your app accepts file uploads and uses ImageMagick, start with the critical one, because attaching a crafted file is enough to trigger it.&lt;/p&gt;

&lt;p&gt;If you're on 8.0, there's also a deadline. Security support for the 8.0 series ends on November 7, and the &lt;a href="https://rubyonrails.org/maintenance" rel="noopener noreferrer"&gt;maintenance policy&lt;/a&gt; lists 8.1 as supported until October 10, 2027. This batch has no 7.2 release, and the announcement recommends moving to at least 8.0. Take the patch now and plan the move to 8.1.&lt;/p&gt;

&lt;p&gt;The issues are identified by GHSA IDs (GitHub Security Advisory numbers). None of the 21 had a CVE ID (the usual public vulnerability number) when I wrote this.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Five That Need a Closer Look
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Critical: File Write and Read in Active Storage Image Analysis
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://github.com/rails/rails/security/advisories/GHSA-f3w6-w445-fwh9" rel="noopener noreferrer"&gt;GHSA-f3w6-w445-fwh9&lt;/a&gt; (CVSS severity score: 9.8 out of 10). An unauthenticated attacker may be able to write arbitrary files on the server. When attachments use the Disk service (Active Storage saving files to local disk), they may also be able to read any file the app process can read, including &lt;code&gt;secret_key_base&lt;/code&gt; and other credentials.&lt;/p&gt;

&lt;p&gt;ImageMagick picks a coder (its handler for a file format) based on the file's content, and some coders act on other files named inside the image. Active Storage didn't restrict them. The ImageMagick analyzer runs at attach time, so no variant (a resized copy of an image), preview, or &lt;code&gt;analyze&lt;/code&gt; call is needed.&lt;/p&gt;

&lt;p&gt;You're affected if all three are true:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Your app sets &lt;code&gt;config.active_storage.variant_processor = :mini_magick&lt;/code&gt;, which is the default on &lt;code&gt;load_defaults 6.1&lt;/code&gt; or earlier.&lt;/li&gt;
&lt;li&gt;Your ImageMagick security policy doesn't already deny these coders. The policies packaged by Debian and Ubuntu don't.&lt;/li&gt;
&lt;li&gt;Untrusted users can upload files.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;To check the first two:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;grep&lt;/span&gt; &lt;span class="nt"&gt;-rnE&lt;/span&gt; &lt;span class="s1"&gt;'variant_processor|load_defaults'&lt;/span&gt; config
identify &lt;span class="nt"&gt;-list&lt;/span&gt; policy
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Run the second command somewhere that matches production, like inside your production image. Look for rules denying &lt;code&gt;MSL&lt;/code&gt; (ImageMagick's scripting format) and Ghostscript coders like &lt;code&gt;PDF&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;In July's &lt;a href="https://christine-seeman.com/cve-2026-66066-active-storage/" rel="noopener noreferrer"&gt;CVE-2026-66066&lt;/a&gt;, the exposed apps were the ones using libvips, the other image library Active Storage supports. This one affects apps using ImageMagick.&lt;/p&gt;

&lt;h3&gt;
  
  
  High: File Read and Possible RCE in Video Previews and Analysis
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://github.com/rails/rails/security/advisories/GHSA-v924-7rp8-4mxh" rel="noopener noreferrer"&gt;GHSA-v924-7rp8-4mxh&lt;/a&gt; (CVSS 8.8). Active Storage kept the uploaded file's extension on the tempfile it handed to &lt;code&gt;ffprobe&lt;/code&gt;, &lt;code&gt;ffmpeg&lt;/code&gt;, and ImageMagick, and those tools can choose a decoder from the extension. So whoever uploads the file can influence which decoder runs. On an FFmpeg built with support for AviSynth (a video scripting tool), a &lt;code&gt;.avs&lt;/code&gt; file gets evaluated as a script, which could disclose files or lead to remote code execution (RCE, running the attacker's code on your server).&lt;/p&gt;

&lt;p&gt;You're affected if you accept untrusted uploads and either analyze video or audio, generate video previews, or process images with ImageMagick. Active Storage analyzes video and audio on attach by default, so moving to libvips doesn't rule you out here.&lt;/p&gt;

&lt;p&gt;The AviSynth attack also needs FFmpeg built with &lt;code&gt;--enable-avisynth&lt;/code&gt; plus the AviSynthPlus runtime. The advisory says upstream FFmpeg and the common Linux distribution and Homebrew packages don't enable it, while the GPL builds from ffmpeg.org do. It also warns that other decoders may be reachable without AviSynth. To see how yours was built:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;ffmpeg &lt;span class="nt"&gt;-version&lt;/span&gt; | &lt;span class="nb"&gt;grep&lt;/span&gt; &lt;span class="nt"&gt;-o&lt;/span&gt; enable-avisynth
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;No output means it isn't enabled.&lt;/p&gt;

&lt;h3&gt;
  
  
  High: Strong Parameters Bypass in &lt;code&gt;each_key&lt;/code&gt;
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://github.com/rails/rails/security/advisories/GHSA-wm3x-v3qw-4jh3" rel="noopener noreferrer"&gt;GHSA-wm3x-v3qw-4jh3&lt;/a&gt; (CVSS 7.5). &lt;code&gt;ActionController::Parameters#each_key&lt;/code&gt; with a block returned the raw internal hash, which mass assignment (setting many attributes at once from a hash) accepts without a permit check. This only matters if your code passes that return value to &lt;code&gt;new&lt;/code&gt;, &lt;code&gt;update&lt;/code&gt;, or &lt;code&gt;assign_attributes&lt;/code&gt;, and Rails itself never does. It's a quick search:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;grep&lt;/span&gt; &lt;span class="nt"&gt;-rn&lt;/span&gt; &lt;span class="s1"&gt;'each_key'&lt;/span&gt; app lib
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Most hits will have nothing to do with params. You're looking for a call on &lt;code&gt;params&lt;/code&gt; whose result gets used.&lt;/p&gt;

&lt;h3&gt;
  
  
  High: Crash via &lt;code&gt;safe_constantize&lt;/code&gt; and Action Cable
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://github.com/rails/rails/security/advisories/GHSA-8474-xrp6-wh69" rel="noopener noreferrer"&gt;GHSA-8474-xrp6-wh69&lt;/a&gt; (CVSS 7.5). This one reminded me of the &lt;a href="https://christine-seeman.com/ruby-regexp-gitlab-cves/" rel="noopener noreferrer"&gt;Ruby regexp bugs from last month&lt;/a&gt;. When a constant lookup raised &lt;code&gt;LoadError&lt;/code&gt;, &lt;code&gt;safe_constantize&lt;/code&gt; built a regular expression from the constant name without escaping it. A crafted pattern can trigger defects in Ruby's regexp compiler and possibly crash the server process. The advisory doesn't name those bugs or say whether a patched Ruby prevents this crash, so I'd upgrade Rails either way.&lt;/p&gt;

&lt;p&gt;Action Cable passes the &lt;code&gt;channel&lt;/code&gt; value from each &lt;code&gt;subscribe&lt;/code&gt; command to &lt;code&gt;safe_constantize&lt;/code&gt;, and new Rails apps mount Action Cable at &lt;code&gt;/cable&lt;/code&gt; by default. If Action Cable is mounted and you haven't added a check to &lt;code&gt;ApplicationCable::Connection#connect&lt;/code&gt;, an unauthenticated client can reach this code, even if you never built a channel.&lt;/p&gt;

&lt;h3&gt;
  
  
  High: IP Spoofing in &lt;code&gt;remote_ip&lt;/code&gt; (8.1 Only)
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://github.com/rails/rails/security/advisories/GHSA-2gff-2mmg-m73p" rel="noopener noreferrer"&gt;GHSA-2gff-2mmg-m73p&lt;/a&gt; (CVSS 7.4). Since 8.1.0 under Rack 3, &lt;code&gt;request.remote_ip&lt;/code&gt; prefers the &lt;code&gt;Forwarded&lt;/code&gt; header over &lt;code&gt;X-Forwarded-For&lt;/code&gt;. If your proxy passes a client-supplied &lt;code&gt;Forwarded&lt;/code&gt; header through unchanged, the client chooses its own IP. That can get around IP-based access rules, falsify logs, and bypass &lt;code&gt;rate_limit&lt;/code&gt;, whose default &lt;code&gt;by:&lt;/code&gt; uses the client address.&lt;/p&gt;

&lt;p&gt;Upgrading doesn't fully close this. The fix only detects spoofing when the proxy also sets &lt;code&gt;X-Forwarded-For&lt;/code&gt;, so it's worth configuring your proxy to remove or overwrite &lt;code&gt;Forwarded&lt;/code&gt; either way.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Other 16
&lt;/h2&gt;

&lt;p&gt;Each row is what your app has to be doing to be exposed. XSS is cross-site scripting (an attacker's script running in another user's browser), DoS is denial of service (making the app unavailable), and proxy mode is when Active Storage streams files through your app instead of redirecting to the storage service.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Severity&lt;/th&gt;
&lt;th&gt;Advisory&lt;/th&gt;
&lt;th&gt;You're exposed if&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Medium&lt;/td&gt;
&lt;td&gt;&lt;a href="https://github.com/rails/rails/security/advisories/GHSA-2p2f-4rq4-gjwc" rel="noopener noreferrer"&gt;XSS in text helpers&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;You use the HTML5 sanitizer and pass untrusted text to &lt;code&gt;highlight&lt;/code&gt;, or to &lt;code&gt;simple_format&lt;/code&gt; with &lt;code&gt;html_options&lt;/code&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Medium&lt;/td&gt;
&lt;td&gt;&lt;a href="https://github.com/rails/rails/security/advisories/GHSA-v6rj-xm57-3p59" rel="noopener noreferrer"&gt;XSS in &lt;code&gt;highlight&lt;/code&gt;&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;A custom &lt;code&gt;:highlighter&lt;/code&gt; puts a placeholder inside an attribute value, and users control the text or phrases&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Medium&lt;/td&gt;
&lt;td&gt;&lt;a href="https://github.com/rails/rails/security/advisories/GHSA-rq8q-p985-fjq7" rel="noopener noreferrer"&gt;XSS in &lt;code&gt;strip_tags&lt;/code&gt;&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;You render &lt;code&gt;strip_tags&lt;/code&gt; output from untrusted input inside an HTML attribute&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Medium&lt;/td&gt;
&lt;td&gt;&lt;a href="https://github.com/rails/rails/security/advisories/GHSA-68p9-83h6-5wpj" rel="noopener noreferrer"&gt;XSS in tag helpers&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Users can specify custom HTML attribute names&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Medium&lt;/td&gt;
&lt;td&gt;
&lt;a href="https://github.com/rails/rails/security/advisories/GHSA-2w9f-fxwj-w2qf" rel="noopener noreferrer"&gt;XSS in MessagePack serializer&lt;/a&gt; (8.1 only)&lt;/td&gt;
&lt;td&gt;You use a MessagePack serializer and store a &lt;code&gt;SafeBuffer&lt;/code&gt; (Rails' HTML-safe string type) mutated in place with untrusted input&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Medium&lt;/td&gt;
&lt;td&gt;&lt;a href="https://github.com/rails/rails/security/advisories/GHSA-rwvh-fw6r-pwvp" rel="noopener noreferrer"&gt;DoS in Action Controller Live&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;You stream with &lt;code&gt;ActionController::Live&lt;/code&gt; or &lt;code&gt;send_stream&lt;/code&gt;, or serve large files through Active Storage proxy mode&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Medium&lt;/td&gt;
&lt;td&gt;&lt;a href="https://github.com/rails/rails/security/advisories/GHSA-4v2w-w6g6-f8f8" rel="noopener noreferrer"&gt;DoS in proxy streaming&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;You store files on S3, an S3-compatible service, or Google Cloud Storage and use Active Storage's default routes, which are on unless you've turned them off&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Medium&lt;/td&gt;
&lt;td&gt;&lt;a href="https://github.com/rails/rails/security/advisories/GHSA-p2pm-g2h6-7j5j" rel="noopener noreferrer"&gt;DoS in filename handling&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Users can upload attachments and you're on a database that accepts NUL bytes, like SQLite or MySQL/MariaDB. PostgreSQL isn't affected&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Medium&lt;/td&gt;
&lt;td&gt;&lt;a href="https://github.com/rails/rails/security/advisories/GHSA-3w93-6hmw-whh4" rel="noopener noreferrer"&gt;Unsigned Content-Type on GCS&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;You use Google Cloud Storage with &lt;code&gt;cache_control&lt;/code&gt; configured and accept direct uploads&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Medium&lt;/td&gt;
&lt;td&gt;&lt;a href="https://github.com/rails/rails/security/advisories/GHSA-hfr4-8rjc-97m2" rel="noopener noreferrer"&gt;File size bypass on GCS&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;You use Google Cloud Storage and accept direct uploads&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Medium&lt;/td&gt;
&lt;td&gt;&lt;a href="https://github.com/rails/rails/security/advisories/GHSA-2586-8ghr-69fj" rel="noopener noreferrer"&gt;Destroyed sessions restored&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;You use &lt;code&gt;config.session_store :cache_store&lt;/code&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Medium&lt;/td&gt;
&lt;td&gt;&lt;a href="https://github.com/rails/rails/security/advisories/GHSA-x6mj-8jx9-qhqv" rel="noopener noreferrer"&gt;Session leak in proxy mode&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;You serve files through the proxy controllers, have a cookie rotation or &lt;code&gt;:hybrid&lt;/code&gt; serializer migration configured, and run behind a cache that stores &lt;code&gt;Set-Cookie&lt;/code&gt; on public responses&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Medium&lt;/td&gt;
&lt;td&gt;&lt;a href="https://github.com/rails/rails/security/advisories/GHSA-r9jg-fmfx-2gv6" rel="noopener noreferrer"&gt;Cache poisoning&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;You render responses whose format depends on request headers from &lt;code&gt;public&lt;/code&gt; actions behind a shared cache that honors &lt;code&gt;Vary&lt;/code&gt;, such as Thruster or &lt;code&gt;Rack::Cache&lt;/code&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Low&lt;/td&gt;
&lt;td&gt;&lt;a href="https://github.com/rails/rails/security/advisories/GHSA-3f4q-8x5m-76v8" rel="noopener noreferrer"&gt;Local file disclosure via FFmpeg&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;You accept untrusted uploads and preview or analyze video or audio with FFmpeg&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Low&lt;/td&gt;
&lt;td&gt;&lt;a href="https://github.com/rails/rails/security/advisories/GHSA-5957-c7qm-m469" rel="noopener noreferrer"&gt;Mailgun signature replay&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;You receive inbound email through the Action Mailbox Mailgun ingress&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Low&lt;/td&gt;
&lt;td&gt;&lt;a href="https://github.com/rails/rails/security/advisories/GHSA-gmj8-hvj3-49mw" rel="noopener noreferrer"&gt;Missing SameSite&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;You use a session store other than &lt;code&gt;CookieStore&lt;/code&gt; and don't pass &lt;code&gt;same_site:&lt;/code&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  What Might Break When You Upgrade
&lt;/h2&gt;

&lt;p&gt;These are the behavior changes I found in the advisories that may need action from you:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;If your app…&lt;/th&gt;
&lt;th&gt;Then…&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Uses &lt;code&gt;:mini_magick&lt;/code&gt; as the variant processor&lt;/td&gt;
&lt;td&gt;You need mini_magick 5.1 or later, or the app raises at boot&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Renders PDF or PostScript through ImageMagick&lt;/td&gt;
&lt;td&gt;Those are now denied. Re-allow the &lt;code&gt;gs&lt;/code&gt; delegate (how ImageMagick calls Ghostscript, its PDF and PostScript tool) and the coders you use in the host's &lt;code&gt;policy.xml&lt;/code&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Replaces &lt;code&gt;MiniMagick.cli_env&lt;/code&gt; after boot, clears the environment with &lt;code&gt;MiniMagick.cli_prefix&lt;/code&gt;, installs its own &lt;code&gt;MiniMagick::Shell&lt;/code&gt;, or uses GraphicsMagick&lt;/td&gt;
&lt;td&gt;The shipped policy doesn't reach you, so the rules need to go in ImageMagick's system policy&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Uses browser direct uploads to Google Cloud Storage&lt;/td&gt;
&lt;td&gt;Add &lt;code&gt;x-goog-content-length-range&lt;/code&gt; to &lt;code&gt;responseHeader&lt;/code&gt; in the bucket's CORS config (its rules for browser requests from other sites), or uploads fail&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Previews or analyzes formats like MXF, DV, or AC3&lt;/td&gt;
&lt;td&gt;FFmpeg can now only open formats in &lt;code&gt;config.active_storage.ffmpeg_allowed_formats&lt;/code&gt;, and other files lose previews and metadata. Add them with &lt;code&gt;config.active_storage.ffmpeg_allowed_formats += %w[ mxf ]&lt;/code&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Uses &lt;code&gt;strip_tags&lt;/code&gt; output outside HTML, like JSON or text templates&lt;/td&gt;
&lt;td&gt;Quotes now appear as &lt;code&gt;"&lt;/code&gt; and &lt;code&gt;'&lt;/code&gt;. &lt;code&gt;CGI.unescapeHTML&lt;/code&gt; decodes them&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Compares sanitized HTML as strings, including in tests&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;&amp;lt;&lt;/code&gt; and &lt;code&gt;&amp;gt;&lt;/code&gt; in attribute values are now escaped, because the release requires rails-html-sanitizer 1.7.2 and Nokogiri 1.19.5&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Is on 8.1 behind proxies that report the client differently in &lt;code&gt;Forwarded&lt;/code&gt; and &lt;code&gt;X-Forwarded-For&lt;/code&gt;
&lt;/td&gt;
&lt;td&gt;Requests now raise &lt;code&gt;IpSpoofAttackError&lt;/code&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Is on 8.1 and stores unsafe &lt;code&gt;SafeBuffer&lt;/code&gt;s with MessagePack&lt;/td&gt;
&lt;td&gt;During a rolling deploy, processes not yet upgraded may fail to load those cookies or cache entries&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Uses the Mailgun ingress with a clock over 2 minutes behind Mailgun's&lt;/td&gt;
&lt;td&gt;Genuine webhooks get rejected, so sync the clock&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Shared caches can also store more variants than before of responses whose format depends on request headers, because &lt;code&gt;Vary&lt;/code&gt; now lists more headers.&lt;/p&gt;

&lt;h3&gt;
  
  
  Aside: The One Thing CI Caught
&lt;/h3&gt;

&lt;p&gt;CI went fine for one app's upgrade to these releases, with one exception. Reek, a tool that flags code smells, reported six warnings on a class that had no entry in the project's baseline of known warnings. Most of them shared one cause: the class was handling a job that belonged elsewhere. A small refactor cleared them. It was weird that this came up during the Rails upgrade and not earlier.&lt;/p&gt;

&lt;h2&gt;
  
  
  What to Do
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Upgrade to 8.0.5.2 or 8.1.4.1. Run &lt;code&gt;bundle update rails --conservative&lt;/code&gt;, which limits what else changes in &lt;code&gt;Gemfile.lock&lt;/code&gt;. Then confirm the lockfile shows the new Rails version and Nokogiri 1.19.5 or later.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;If you use &lt;code&gt;:mini_magick&lt;/code&gt; and &lt;code&gt;bundle info mini_magick&lt;/code&gt; shows a version below 5.1, run &lt;code&gt;bundle update mini_magick&lt;/code&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Rotate secrets if you were exposed. The critical advisory says to do this if you met its conditions and store attachments with the Disk service. The video advisory says to do it if you meet its AviSynth requirements. That covers &lt;code&gt;secret_key_base&lt;/code&gt;, the master key, everything in &lt;code&gt;config/credentials.yml.enc&lt;/code&gt;, and storage, database, and third-party credentials, and the advisories say not to keep an exposed secret as a fallback. Changing &lt;code&gt;secret_key_base&lt;/code&gt; expires active sessions and invalidates signed and encrypted cookies, signed global IDs, and Active Storage URLs, so users will need to log in again.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;If you're on 8.1 behind a proxy, set it to remove or overwrite &lt;code&gt;Forwarded&lt;/code&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;If you're on 8.0, put the move to 8.1 on the calendar.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  If You Can't Upgrade Yet
&lt;/h2&gt;

&lt;p&gt;Each advisory links to patches for 8.0 and 8.1 where they apply, and many list workarounds. For the top five:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;ImageMagick (critical):&lt;/strong&gt; copy the rules from the policy Rails now ships, &lt;code&gt;activestorage/lib/active_storage/image_magick/policy.xml&lt;/code&gt;, into your system policy, such as &lt;code&gt;/etc/ImageMagick-7/policy.xml&lt;/code&gt;. The advisory's minimum is below, and it blocks Ghostscript, so it also affects PDF and PostScript rendering.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight xml"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;policy&lt;/span&gt; &lt;span class="na"&gt;domain=&lt;/span&gt;&lt;span class="s"&gt;"coder"&lt;/span&gt; &lt;span class="na"&gt;rights=&lt;/span&gt;&lt;span class="s"&gt;"none"&lt;/span&gt; &lt;span class="na"&gt;pattern=&lt;/span&gt;&lt;span class="s"&gt;"MSL"&lt;/span&gt;&lt;span class="nt"&gt;/&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;policy&lt;/span&gt; &lt;span class="na"&gt;domain=&lt;/span&gt;&lt;span class="s"&gt;"delegate"&lt;/span&gt; &lt;span class="na"&gt;rights=&lt;/span&gt;&lt;span class="s"&gt;"none"&lt;/span&gt; &lt;span class="na"&gt;pattern=&lt;/span&gt;&lt;span class="s"&gt;"gs"&lt;/span&gt;&lt;span class="nt"&gt;/&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;policy&lt;/span&gt; &lt;span class="na"&gt;domain=&lt;/span&gt;&lt;span class="s"&gt;"coder"&lt;/span&gt; &lt;span class="na"&gt;rights=&lt;/span&gt;&lt;span class="s"&gt;"none"&lt;/span&gt; &lt;span class="na"&gt;pattern=&lt;/span&gt;&lt;span class="s"&gt;"{PS,PS2,PS3,EPS,EPS2,EPS3,EPI,EPSF,EPSI,EPT,EPT2,EPT3,PDF,AI,EPDF,PDFA,POCKETMOD,XPS,PCL}"&lt;/span&gt;&lt;span class="nt"&gt;/&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Video previews and analysis:&lt;/strong&gt; remove &lt;code&gt;ActiveStorage::Previewer::VideoPreviewer&lt;/code&gt; from &lt;code&gt;config.active_storage.previewers&lt;/code&gt;, and &lt;code&gt;ActiveStorage::Analyzer::VideoAnalyzer&lt;/code&gt; and &lt;code&gt;ActiveStorage::Analyzer::AudioAnalyzer&lt;/code&gt; from &lt;code&gt;config.active_storage.analyzers&lt;/code&gt;. Switching to an FFmpeg without AviSynth closes that attack but not the decoders ImageMagick picks from the extension.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;each_key&lt;/code&gt;:&lt;/strong&gt; don't use its return value. Pass the permitted &lt;code&gt;Parameters&lt;/code&gt; instance to mass assignment.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;safe_constantize&lt;/code&gt;:&lt;/strong&gt; if you don't use Action Cable, set &lt;code&gt;config.action_cable.mount_path = nil&lt;/code&gt;. If you do, call &lt;code&gt;reject_unauthorized_connection&lt;/code&gt; in &lt;code&gt;connect&lt;/code&gt; for unauthenticated clients, which limits exposure to logged-in users but doesn't remove it.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;remote_ip&lt;/code&gt;:&lt;/strong&gt; if your proxy sets &lt;code&gt;X-Forwarded-For&lt;/code&gt;, add &lt;code&gt;Rack::Request.forwarded_priority = [:x_forwarded]&lt;/code&gt; to an initializer. Rack will then also ignore &lt;code&gt;Forwarded&lt;/code&gt; for the request's scheme, host, and port.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you're on 7.2 or older, there's no release for you in this batch. Most of the advisories list every version below 8.0.5.2 as affected, so moving to a supported series is the fix. The advisory patches may help in the meantime, though they target 8.0 and 8.1.&lt;/p&gt;

&lt;h2&gt;
  
  
  More Information
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://rubyonrails.org/2026/11/4/Rails-8.0.5.2-and-8.1.4.1-have-been-released" rel="noopener noreferrer"&gt;Rails release announcement&lt;/a&gt;, with all 21 advisories and gem checksums&lt;/li&gt;
&lt;li&gt;&lt;a href="https://rubyonrails.org/maintenance" rel="noopener noreferrer"&gt;Rails maintenance policy&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/rails/rails/blob/v8.1.4.1/activestorage/CHANGELOG.md" rel="noopener noreferrer"&gt;Active Storage changelog for 8.1.4.1&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>activestorage</category>
      <category>rails</category>
      <category>ruby</category>
      <category>security</category>
    </item>
    <item>
      <title>AI for everything besides coding</title>
      <dc:creator>christine</dc:creator>
      <pubDate>Wed, 28 Oct 2026 23:48:46 +0000</pubDate>
      <link>https://dev.to/cseeman/ai-for-everything-besides-coding-4hen</link>
      <guid>https://dev.to/cseeman/ai-for-everything-besides-coding-4hen</guid>
      <description>&lt;p&gt;I use Claude Code all day for my job. That part of my AI use is easy to describe: there's a repo, a ticket, a diff at the end.&lt;/p&gt;

&lt;p&gt;Chats are different. When I open a chat, it's usually because I want to search for something but I already know the search will go badly. The question is a little odd, or very specific to me, or I want the answer from one particular angle. So I wondered: if AI is improving my life anywhere outside of work, it's probably in those chats. Did they save me time I spent on something better, or did it go to mindless browsing (which I am trying to cut down on)?&lt;/p&gt;

&lt;p&gt;I went back through everything from mid-August, around when I updated our family trip plan, to last weekend. That's August 15 to October 25, 2026: 20 conversations.&lt;/p&gt;

&lt;p&gt;The short version: the chats that helped most went past the question I typed, to what I was actually trying to do.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I actually asked
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Bucket&lt;/th&gt;
&lt;th&gt;Chats&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Trips&lt;/td&gt;
&lt;td&gt;Orlando family trip plan, Orlando packing list, Epic Universe itinerary, Rocky Mountain Ruby hotel comparison, an easy hike in Boulder, finding a cruise travel agent for my mom&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Health&lt;/td&gt;
&lt;td&gt;A treatment plan and tracker for my eyes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Recipe tweaks and odd asks&lt;/td&gt;
&lt;td&gt;Flax and chia crackers, anti-inflammatory swaps for the week's meals plus an Aldi list, a cabbage side for pierogi, the best value on a restaurant wine list&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;House and family&lt;/td&gt;
&lt;td&gt;A cat food smell in the kitchen, piano tuition reminders, a reminder for a cat photo contest deadline&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Hobbies and volunteering&lt;/td&gt;
&lt;td&gt;Orchestra Omaha concert program and intro speech, a fragrance hunt, copying files on a Steam Deck&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Work, but not code&lt;/td&gt;
&lt;td&gt;Catching up on a week of Slack, summarizing a tech industry lawsuit&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Almost none of these would have gone well as a search.&lt;/p&gt;

&lt;h2&gt;
  
  
  I asked about price and got a perfumer
&lt;/h2&gt;

&lt;p&gt;The best result came from a fragrance chat. In September I asked for the best price on Hermès Un Jardin sur le Nil, then the per-ounce cost at FragranceX, then: if I really like this one, what else should I try?&lt;/p&gt;

&lt;p&gt;It answered by the perfumer instead of the brand. Un Jardin sur le Nil is a Jean-Claude Ellena fragrance, and the thing I liked about it is his style: watery, green, light. So it pointed me to six more in that style that FragranceX carries.&lt;/p&gt;

&lt;p&gt;I bought two from FragranceX: Le Jardin de Monsieur Li, 3.3 oz for $66.45, and a 1.7 oz Un Jardin sur le Nil for $71.87. I wouldn't have bought from that site at all without the recommendation and the price breakdown. They're my new go-to fragrances.&lt;/p&gt;

&lt;p&gt;A search for "perfumes like Un Jardin sur le Nil" would have given me a listicle. I got an explanation of why I liked the one I liked, and that's what made the next purchase easy.&lt;/p&gt;

&lt;h2&gt;
  
  
  I asked for an air freshener and got sent to a cabinet
&lt;/h2&gt;

&lt;p&gt;I have three cats, and our open kitchen and living room had a lingering cat food smell. I asked for the best air freshener strategy and told it to ask me as many questions as it needed. After a few rounds, its answer was that an air freshener should be the last step.&lt;/p&gt;

&lt;p&gt;The smell was a constant haze, worse on warm days, with no obvious source. That pattern pointed to something soaking up odor and slowly releasing it. The likely culprit was the cabinet that holds the recycling bin. Rinsed cans still carry fish oil, and it guessed the inside was bare wood that had been absorbing it for months. The second suspect was the gasket on the microchip feeders (bowls that only open for the cat whose chip they read), which I had never taken out. The plan: scrub and seal the cabinet with a shellac primer, take the feeders apart, run the range hood at feeding time, and only then add scent. It also warned that essential oil diffusers aren't safe around cats.&lt;/p&gt;

&lt;p&gt;Then it corrected itself. When I asked whether its air purifier pick was the most recommended, it said no. It had given me the Austin Air HealthMate, an odor specialist that only covers about 234 square feet. For an open floor plan it suggested two quieter Alen BreatheSmart 75i units instead.&lt;/p&gt;

&lt;p&gt;I had never looked inside that cabinet. It turned out to be finished, so the sealing step wasn't needed. I didn't do the whole plan either. I deep cleaned the trash cans and the cabinet and put a box of baking soda in the back. It helped, and I never bought an air freshener.&lt;/p&gt;

&lt;h2&gt;
  
  
  The same thing, on a smaller scale
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Eyes.&lt;/strong&gt; I have meibomian gland dysfunction, where the oil glands in your eyelids don't work well, and wanted a routine that balanced heat against inflammation. It built a daily log I keep on my phone: redness, burning, whether I did the heat routine, glasses or contacts. Once it has three days on each side, it compares contact days against glasses days, so I'll have a real number for my eye doctor. When I asked for a nightly reminder, it said a phone alarm would be more reliable than anything it could set up, and to label the alarm with the actual steps.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Boulder.&lt;/strong&gt; For Rocky Mountain Ruby, a Ruby conference in Boulder where I was speaking, I asked for hotels within a 20-minute walk of eTown Hall, under $750. I stayed at its pick, Basecamp Boulder, and so did another speaker. The walk was easy. It also told me to skip Mount Sanitas on day one, since I'd be going from Omaha's elevation to 5,430 feet. When I asked what coffee to bring because hotel coffee is awful, it checked first: Basecamp puts a kettle and pour-over in most rooms. Heads up for coffee snobs: the in-room pour-over is not good. Skip it and go out for coffee in Boulder instead.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Orlando.&lt;/strong&gt; The night before Epic Universe I asked for early entry times. It gave me 9am early admission and 10am open, and said the times came from TouringPlans because Universal's own hours page wouldn't load. That's the answer to "can I trust this," which I hadn't asked.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Slack.&lt;/strong&gt; The Monday after Orlando, I asked how to catch up on a week of Slack. It worked out the approach with me before running anything, so I got a to-do list instead of a channel-by-channel summary. In 23 minutes I had the two threads where I still owed an answer, and draft replies for both.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  When it just answered the question
&lt;/h2&gt;

&lt;p&gt;The rest of the chats did exactly what I asked, and that was fine. The cracker chat took five minutes: more flax and chia, crackers because I had Parmesan, and measurements fixed after it called for 0.8 cup of something. The anti-inflammatory dinner swaps ended with Barilla Protein+ because I don't like whole wheat pasta, and an Aldi list in my email. The piano studio's tuition policy became a year of calendar reminders with each month's amount. Orchestra Omaha, where I play viola and help out on the board, got a concert program and a 90-second intro with a Huskers joke. At Talus, a restaurant in Omaha, it picked the best buy on the wine list, Louis Jadot Mâcon-Villages at $9 a glass. I ordered it, a nice light white, and it was better than the cheese board it was supposed to pair with.&lt;/p&gt;

&lt;h2&gt;
  
  
  Patterns
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;I lead with my constraints.&lt;/strong&gt; "I do not wear shorts." "I have Parmesan." "3 cats." "I'm not on my laptop that late." That's what gives it enough to notice when I'm asking the wrong question.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;I edit replies like a draft.&lt;/strong&gt; "Reword shorter." "Funnier." "Just give bullet points." "Normal cups." The first answer is raw material.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The useful ones end somewhere else.&lt;/strong&gt; An email, a calendar entry, a Slack draft, a tracker on my phone, a bottle on my dresser.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;I start new chats instead of going back.&lt;/strong&gt; I asked about an easy Boulder hike twice, a month apart. When I did stay in one thread, like the Orlando packing list, it already had the clothing list and park days when I asked for a weather check.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;They happen at the edges of my day.&lt;/strong&gt; Early mornings, like the concert program at 7:41, the Steam Deck at 7:51, and the dinner swaps at 8:03. And evenings, like Talus at 6:08, the orchestra intro at 6:14 for a speech I gave at 7 (I asked for the final bullet points at 6:58), fragrances at 7:12, and packing at 8:26.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Did it save me time?
&lt;/h2&gt;

&lt;p&gt;For the chats where I could compare, here's the time in the chat against how long the task usually takes me:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Task&lt;/th&gt;
&lt;th&gt;In the chat&lt;/th&gt;
&lt;th&gt;Usually&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Catching up on a week of Slack&lt;/td&gt;
&lt;td&gt;23 min&lt;/td&gt;
&lt;td&gt;1 to 2 hours&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Concert program&lt;/td&gt;
&lt;td&gt;3 min&lt;/td&gt;
&lt;td&gt;45 min&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Concert intro speech&lt;/td&gt;
&lt;td&gt;44 min&lt;/td&gt;
&lt;td&gt;1 hour&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;A year of piano tuition reminders&lt;/td&gt;
&lt;td&gt;8 min&lt;/td&gt;
&lt;td&gt;20 min&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Packing list&lt;/td&gt;
&lt;td&gt;about 20 min&lt;/td&gt;
&lt;td&gt;20 min&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Dinner swaps and the Aldi list&lt;/td&gt;
&lt;td&gt;46 min&lt;/td&gt;
&lt;td&gt;30 to 45 min&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;That's roughly an hour and a half to almost three hours saved, over ten weeks. Most of it came from two chats, Slack and the concert program.&lt;/p&gt;

&lt;p&gt;Meh, kinda. &lt;/p&gt;

&lt;p&gt;The fragrance chat was 37 minutes of pure rabbit hole, and I loved it. Over-analyzing something before I buy it is one of my favorite things. I do a lot of Amazon window shopping (&lt;a href="https://christine-seeman.com/prompt-engineering-prime-day/" rel="noopener noreferrer"&gt;I've written about that cart before&lt;/a&gt;): things go into the cart or save-for-later and never come out. This time I actually bought something, and I'm happy with it, because I smell great!&lt;/p&gt;

&lt;p&gt;The best chats answered the question I should have asked, and no search would have gotten me there.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>claude</category>
      <category>llm</category>
      <category>productivity</category>
    </item>
    <item>
      <title>Not Letting PHP Have All the Fun: Ruby’s Regexp Fixes for GitLab’s CVEs</title>
      <dc:creator>christine</dc:creator>
      <pubDate>Fri, 23 Oct 2026 15:44:51 +0000</pubDate>
      <link>https://dev.to/cseeman/not-letting-php-have-all-the-fun-rubys-regexp-fixes-for-gitlabs-cves-4gai</link>
      <guid>https://dev.to/cseeman/not-letting-php-have-all-the-fun-rubys-regexp-fixes-for-gitlabs-cves-4gai</guid>
      <description>&lt;p&gt;The day after I wrote about &lt;a href="https://christine-seeman.com/php2shell-wordpress/" rel="noopener noreferrer"&gt;PHP2Shell&lt;/a&gt;, Ruby posted &lt;a href="https://www.ruby-lang.org/en/news/2026/10/23/regexp-fixes-for-gitlab-cves/" rel="noopener noreferrer"&gt;regexp compilation fixes&lt;/a&gt; tied to four GitLab CVEs: CVE-2026-89078, CVE-2026-93577, CVE-2026-97229, and CVE-2026-110264. GitLab found that specially crafted regular expressions could corrupt memory while Ruby compiles them, and that this could be used for remote code execution on GitLab servers. GitLab rated two of them 10.0 out of 10 (CVSS 3.1), the two that needed no login.&lt;/p&gt;

&lt;h2&gt;
  
  
  Am I Affected?
&lt;/h2&gt;

&lt;p&gt;You're affected if your app builds a regular expression from input you don't control. Per the Ruby advisory, that means passing it to &lt;code&gt;Regexp.new&lt;/code&gt;, &lt;code&gt;Regexp.union&lt;/code&gt;, or &lt;code&gt;Regexp.compile&lt;/code&gt;, or interpolating it into a regexp literal like &lt;code&gt;/#{input}/&lt;/code&gt;. If every regexp in your app was written by a developer, the advisory says you're not affected.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Ruby series&lt;/th&gt;
&lt;th&gt;Fixed in&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;4.0&lt;/td&gt;
&lt;td&gt;4.0.9&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;3.4&lt;/td&gt;
&lt;td&gt;3.4.12&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;3.3&lt;/td&gt;
&lt;td&gt;3.3.13&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;3.2 and older&lt;/td&gt;
&lt;td&gt;No fix (end of life)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Ruby 3.3 is in security maintenance and got these fixes as an exception, because GitLab assigned CVEs to the issues. Ruby 3.2 and older get no fix. &lt;a href="https://www.ruby-lang.org/en/news/2026/03/27/ruby-3-2-11-released/" rel="noopener noreferrer"&gt;Ruby 3.2.11&lt;/a&gt; in March was the final 3.2 release, with no further security fixes, and Ruby recommends moving to 3.4 or 4.0.&lt;/p&gt;

&lt;p&gt;The CVE IDs are GitLab's. Ruby hasn't requested its own CVEs for these yet and says it's still discussing whether to treat them as vulnerabilities, since Ruby has long considered compiling regexps from untrusted input unsafe.&lt;/p&gt;

&lt;h2&gt;
  
  
  Checking Your App
&lt;/h2&gt;

&lt;p&gt;Ruby's version is often set in more than one place, so check what production actually runs. &lt;code&gt;RUBY_VERSION&lt;/code&gt; in a Rails console on the server tells you. To find what you've pinned, check your version manager file (&lt;code&gt;.ruby-version&lt;/code&gt; or &lt;code&gt;.tool-versions&lt;/code&gt;), the &lt;code&gt;ruby&lt;/code&gt; line in your &lt;code&gt;Gemfile&lt;/code&gt; if there is one, your Docker base image tag, and any CI image you build separately.&lt;/p&gt;

&lt;p&gt;To find places that compile regexps at runtime, a rough search is a good start:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;grep&lt;/span&gt; &lt;span class="nt"&gt;-rnE&lt;/span&gt; &lt;span class="s1"&gt;'Regexp\.(new|union|compile)|/[^/]*#\{'&lt;/span&gt; app lib
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Expect some noise from the interpolation pattern. For each hit, the question is whether any part of the pattern comes from a user, a request param, or a database field users can edit.&lt;/p&gt;

&lt;h3&gt;
  
  
  What I Found in My Own App
&lt;/h3&gt;

&lt;p&gt;I ran this check on a Rails app I work on. Ruby was set in three places, each needing a different fix:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The version manager file pinned an older 4.0 patch release, so that needed a manual bump.&lt;/li&gt;
&lt;li&gt;The production Dockerfile used a floating tag like &lt;code&gt;ruby:4.0-alpine&lt;/code&gt;. A rebuild picks up 4.0.9 once the official image includes it, but it's worth confirming the patch version inside the image after the rebuild.&lt;/li&gt;
&lt;li&gt;CI ran on a separately built image that only updates when someone reruns its build workflow. That one is easy to forget.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The search turned up three spots that build regexps from runtime strings. Patterns came from data import files and an admin form, and one used interpolation with values that looked internal, though I didn't trace every caller. None of them were reachable from a public API, so the risk was low, but anyone who can upload an import file controls those patterns. Upgrading Ruby is the fix either way.&lt;/p&gt;

&lt;h3&gt;
  
  
  Aside: The Upgrade Broke CI
&lt;/h3&gt;

&lt;p&gt;Bumping to 4.0.9 the day it came out broke our CI in two ways. Jobs running in our CI Docker image failed because the build asked for a 4.0.9 image that couldn't exist until Docker Hub published &lt;code&gt;ruby:4.0.9-alpine&lt;/code&gt;. Jobs using &lt;code&gt;ruby/setup-ruby&lt;/code&gt; failed with "Unknown version 4.0.9", because each setup-ruby release only knows the Ruby versions that existed when it shipped, and ours was pinned to an older one. The fix was bumping the setup-ruby pin to v1.334.0, released that morning with 4.0.9 support, and keeping the image tag at &lt;code&gt;4.0&lt;/code&gt; to rebuild once the official image caught up.&lt;/p&gt;

&lt;p&gt;The lesson is the order: wait for the base image, bump setup-ruby, then change &lt;code&gt;.tool-versions&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  What's the Risk?
&lt;/h2&gt;

&lt;p&gt;The bugs are in Onigmo, the regular expression engine built into Ruby. One is a double free (memory released twice, which can corrupt it) when parsing fails after an alternation (a &lt;code&gt;|&lt;/code&gt; between options in a pattern). The others are integer overflows (a number too large for its type, wrapping around) in the size of the compiled pattern and in internal IDs for patterns with many repeats. Corrupted memory during compilation is what turns a bad pattern into code execution (&lt;a href="https://www.ruby-lang.org/en/news/2026/10/23/regexp-fixes-for-gitlab-cves/" rel="noopener noreferrer"&gt;Ruby advisory&lt;/a&gt;).&lt;/p&gt;

&lt;p&gt;GitLab patched the Ruby it ships in &lt;a href="https://docs.gitlab.com/releases/patches/patch-release-gitlab-19-4-1-released/" rel="noopener noreferrer"&gt;19.4.1&lt;/a&gt;, &lt;a href="https://docs.gitlab.com/releases/patches/patch-release-gitlab-19-4-2-released/" rel="noopener noreferrer"&gt;19.4.2&lt;/a&gt;, and &lt;a href="https://docs.gitlab.com/releases/patches/patch-release-gitlab-19-5-1-released/" rel="noopener noreferrer"&gt;19.5.1&lt;/a&gt;, with backports to older GitLab versions. GitLab.com and GitLab Dedicated are already patched. If you self-host GitLab, update GitLab itself. Its packages ship their own patched Ruby, and source installs also need the Ruby upgrade.&lt;/p&gt;

&lt;h2&gt;
  
  
  What to Do
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Upgrade to Ruby 4.0.9, 3.4.12, or 3.3.13 or later, in every place you found above: version manager file, &lt;code&gt;Gemfile&lt;/code&gt;, Docker base image, and CI image.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;If you self-host GitLab, update to a patched GitLab release.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Look at any regexp built from user input and ask whether it needs to be a regexp at all. A plain string match is often enough.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  If You Can't Upgrade Yet
&lt;/h2&gt;

&lt;p&gt;The advisory's only mitigation is to avoid compiling regular expressions from untrusted input. It also rules out two things you might reach for:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;Regexp.timeout&lt;/code&gt; doesn't help. It limits how long matching runs, and these bugs happen while the pattern compiles.&lt;/li&gt;
&lt;li&gt;Limiting pattern length doesn't reliably help, because some of the bugs trigger with short patterns.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The advisory doesn't say whether escaping input with &lt;code&gt;Regexp.escape&lt;/code&gt; is enough, so upgrading is the safe answer.&lt;/p&gt;

&lt;h2&gt;
  
  
  More Information
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.ruby-lang.org/en/news/2026/10/23/regexp-fixes-for-gitlab-cves/" rel="noopener noreferrer"&gt;Ruby advisory: Regexp compilation fixes related to GitLab's CVEs&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://docs.gitlab.com/releases/patches/patch-release-gitlab-19-4-1-released/" rel="noopener noreferrer"&gt;GitLab 19.4.1 patch release&lt;/a&gt; (CVE-2026-89078, CVE-2026-93577)&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://docs.gitlab.com/releases/patches/patch-release-gitlab-19-4-2-released/" rel="noopener noreferrer"&gt;GitLab 19.4.2 patch release&lt;/a&gt; (CVE-2026-97229)&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://docs.gitlab.com/releases/patches/patch-release-gitlab-19-5-1-released/" rel="noopener noreferrer"&gt;GitLab 19.5.1 patch release&lt;/a&gt; (CVE-2026-110264)&lt;/li&gt;
&lt;li&gt;Ruby fixes: &lt;a href="https://github.com/ruby/ruby/pull/13332" rel="noopener noreferrer"&gt;#13332&lt;/a&gt;, &lt;a href="https://github.com/ruby/ruby/pull/19020" rel="noopener noreferrer"&gt;#19020&lt;/a&gt;, &lt;a href="https://github.com/ruby/ruby/pull/16801" rel="noopener noreferrer"&gt;#16801&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.ruby-lang.org/en/master/Regexp.html#class-Regexp-label-Timeouts" rel="noopener noreferrer"&gt;Regexp timeouts in the Ruby docs&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>ruby</category>
      <category>security</category>
      <category>cve</category>
      <category>gitlab</category>
    </item>
    <item>
      <title>Patch Your PHP: What PHP2Shell Means for WordPress Sites</title>
      <dc:creator>christine</dc:creator>
      <pubDate>Thu, 22 Oct 2026 20:53:00 +0000</pubDate>
      <link>https://dev.to/cseeman/patch-your-php-what-php2shell-means-for-wordpress-sites-2akn</link>
      <guid>https://dev.to/cseeman/patch-your-php-what-php2shell-means-for-wordpress-sites-2akn</guid>
      <description>&lt;p&gt;PHP released &lt;a href="https://www.php.net/archive/2026.php#2026-10-21-5" rel="noopener noreferrer"&gt;8.5.12, 8.4.27, 8.3.36, and 8.2.35&lt;/a&gt; on October 21 to fix two critical vulnerabilities, CVE-2026-109618 and CVE-2026-109619, nicknamed PHP2Shell. Both are rated 9.2 out of 10 (CVSS v4.0) and let an attacker run code on your server without logging in. The bugs are in PHP itself, the runtime underneath WordPress, so updating WordPress or your plugins won't fix them.&lt;/p&gt;

&lt;p&gt;I have WordPress sites on SiteGround, and when this news hit, my only question was whether I was vulnerable. I hadn't heard anything from SiteGround, and working out which PHP version my sites actually run took longer than I wanted it to. This is the quick writeup I was looking for, for developers who know their stack and just want the answer without spending an afternoon on it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Am I Affected?
&lt;/h2&gt;

&lt;p&gt;Any PHP that serves web requests is affected, however it connects to the web server: PHP-FPM, Apache mod_php, php-cgi, FrankenPHP, and LiteSpeed. mod_php (PHP running inside Apache itself) is the worst case, because the demonstrated exploit runs before any WordPress code loads. The leaked video of the exploit tool showed it running code on WordPress 7.1.3, alongside Drupal, Joomla, Magento, and Laravel (&lt;a href="https://arstechnica.com/security/2026/10/php-maintainers-tell-web-devs-to-prepare-themselves-for-critical-security-patches/" rel="noopener noreferrer"&gt;Ars Technica&lt;/a&gt;), so a fully updated WordPress install is still exposed if its PHP is not patched.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Branch&lt;/th&gt;
&lt;th&gt;Fixed in&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;8.5&lt;/td&gt;
&lt;td&gt;8.5.12&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;8.4&lt;/td&gt;
&lt;td&gt;8.4.27&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;8.3&lt;/td&gt;
&lt;td&gt;8.3.36&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;8.2&lt;/td&gt;
&lt;td&gt;8.2.35&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;8.1, 8.0, 7.4&lt;/td&gt;
&lt;td&gt;No release. Source backports, or patched Linux or LTS (long-term support) packages&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;7.3 and older&lt;/td&gt;
&lt;td&gt;No fix&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;PHP 7.4 through 8.1 are past end of life, so instead of releases, the PHP security team published minimal source backports: just the fix, which you apply and compile yourself. If you don't build PHP from source, get a patched package from your Linux distribution or an LTS (long-term support) vendor. PHP 7.3 and older get nothing, so moving to a supported version is the only option there.&lt;/p&gt;

&lt;h2&gt;
  
  
  Checking Your PHP Version
&lt;/h2&gt;

&lt;p&gt;The quickest built-in way is to go to &lt;code&gt;/wp-admin/site-health.php?tab=debug&lt;/code&gt;, expand &lt;strong&gt;Server&lt;/strong&gt;, and read &lt;strong&gt;PHP version&lt;/strong&gt;. If you'd like it on the dashboard, the &lt;a href="https://wordpress.org/plugins/display-php-version/" rel="noopener noreferrer"&gt;Display PHP Version&lt;/a&gt; plugin adds it to the At a Glance widget. I liked this option.&lt;/p&gt;

&lt;p&gt;One catch: Linux distributions often add the fix to their existing package without changing the PHP version number. If you install PHP from Debian, Ubuntu, or RHEL packages, check the package changelog for the CVE IDs.&lt;/p&gt;

&lt;h2&gt;
  
  
  What's the Risk?
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;CVE-2026-109618:&lt;/strong&gt; when a request runs out of memory, PHP can abandon it partway through setting up request data, and the cleanup code then treats that half-built data as valid, which leads to code execution. Attackers can trigger it with crafted form uploads, and on mod_php the attack completes before WordPress loads (&lt;a href="https://github.com/php/php-src/security/advisories/GHSA-w8hw-w9fx-j79w" rel="noopener noreferrer"&gt;advisory&lt;/a&gt;).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;CVE-2026-109619:&lt;/strong&gt; a fatal error can leave a PHP worker holding a pointer into memory that's already been freed, and the next request on that worker uses it (a use-after-free), leading to code execution or leaked memory contents. Confirmed triggers include session upload progress, which is on by default, and &lt;code&gt;php_value&lt;/code&gt; lines in &lt;code&gt;.htaccess&lt;/code&gt; on mod_php (&lt;a href="https://github.com/php/php-src/security/advisories/GHSA-6wmf-4rv5-p3rp" rel="noopener noreferrer"&gt;advisory&lt;/a&gt;).&lt;/p&gt;

&lt;p&gt;Details leaked two days before the planned disclosure, and Amazon reported an exploitation attempt as early as October 17 (&lt;a href="https://www.tenable.com/blog/php2shell-cve-2026-109618-cve-2026-109619-frequently-asked-questions-about-critical-php-remote" rel="noopener noreferrer"&gt;Tenable's timeline&lt;/a&gt;).&lt;/p&gt;

&lt;h2&gt;
  
  
  What to Do
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Update PHP to a fixed version. On managed hosting, confirm your host has patched. On your own server, update through your Linux distribution's packages.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;While you're there, move to PHP 8.3 or newer. That's WordPress's recommended minimum, and 8.2 reaches end of life on December 31, 2026.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Hosts handled the news differently. I used to work at WP Engine and still have a test site there, and WP Engine emailed customers to say the patch was applied and that network and server mitigations were in place before PHP's release. SiteGround didn't email me, but its &lt;a href="https://www.siteground.com/blog/critical-php-vulnerabilities-october-2026" rel="noopener noreferrer"&gt;blog post&lt;/a&gt; says it added server-level mitigations after PHP's October 20 notice and applied the official fixes on October 21. Site Health on my site now shows PHP 8.2.35, the fixed release for that branch, though since 8.2 is nearing end of life, I'm planning to move to 8.3. If you haven't heard from your host, check its blog or status page, then confirm the version yourself in Site Health.&lt;/p&gt;

&lt;h2&gt;
  
  
  If You Can't Upgrade Yet
&lt;/h2&gt;

&lt;p&gt;PHP says there are no complete mitigations, but these settings reduce exposure to the confirmed attack paths. They must go in &lt;code&gt;php.ini&lt;/code&gt;, the PHP-FPM pool config, or the web server config, because &lt;code&gt;ini_set()&lt;/code&gt; and &lt;code&gt;.user.ini&lt;/code&gt; apply too late. On shared hosting, that usually means asking your host when they'll patch.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Set &lt;code&gt;memory_limit=-1&lt;/code&gt; with &lt;code&gt;php_admin_value&lt;/code&gt; so applications can't override it, and keep &lt;code&gt;post_max_size&lt;/code&gt; low (8M, or 32M if you need uploads).&lt;/li&gt;
&lt;li&gt;Set &lt;code&gt;session.upload_progress.enabled=0&lt;/code&gt;, and on PHP 8.5, &lt;code&gt;fatal_error_backtraces=0&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Remove obsolete or invalid &lt;code&gt;php_value&lt;/code&gt; lines from &lt;code&gt;.htaccess&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Restart every PHP worker after any change.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The advisories cover the rest, including &lt;a href="https://github.com/php/php-src/security/advisories/GHSA-w8hw-w9fx-j79w" rel="noopener noreferrer"&gt;why not to cap memory with &lt;code&gt;RLIMIT_AS&lt;/code&gt; or &lt;code&gt;RLIMIT_DATA&lt;/code&gt;&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  More Information
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.php.net/archive/2026.php#2026-10-21-5" rel="noopener noreferrer"&gt;PHP security advisory&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/php/php-src/security/advisories/GHSA-w8hw-w9fx-j79w" rel="noopener noreferrer"&gt;GHSA-w8hw-w9fx-j79w (CVE-2026-109618)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/php/php-src/security/advisories/GHSA-6wmf-4rv5-p3rp" rel="noopener noreferrer"&gt;GHSA-6wmf-4rv5-p3rp (CVE-2026-109619)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://arstechnica.com/security/2026/10/php-maintainers-tell-web-devs-to-prepare-themselves-for-critical-security-patches/" rel="noopener noreferrer"&gt;Ars Technica coverage&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.tenable.com/blog/php2shell-cve-2026-109618-cve-2026-109619-frequently-asked-questions-about-critical-php-remote" rel="noopener noreferrer"&gt;Tenable FAQ&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://make.wordpress.org/core/2026/05/22/php-support-clarification-2026/" rel="noopener noreferrer"&gt;WordPress PHP support policy&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>php</category>
      <category>security</category>
      <category>wordpress</category>
      <category>cve</category>
    </item>
    <item>
      <title>Ontological Shock at Altitude</title>
      <dc:creator>christine</dc:creator>
      <pubDate>Tue, 06 Oct 2026 03:39:41 +0000</pubDate>
      <link>https://dev.to/cseeman/ontological-shock-at-altitude-2jp2</link>
      <guid>https://dev.to/cseeman/ontological-shock-at-altitude-2jp2</guid>
      <description>&lt;p&gt;Travis Turner closed the first day of &lt;a href="https://rockymtnruby.dev/schedule/" rel="noopener noreferrer"&gt;Rocky Mountain Ruby&lt;/a&gt; with a term I hadn't heard before: ontological shock. It's what happens when something new fundamentally disturbs your sense of being, and he argued that programmers are feeling it right now. The worries about job duties, tooling, and job security sit downstream of it. The next afternoon, Alan Ridlehoover used the same phrase in the closing keynote to describe his own work. By then it felt like the name for the whole conference.&lt;/p&gt;

&lt;h2&gt;
  
  
  Two days, one track, one former church
&lt;/h2&gt;

&lt;p&gt;Rocky Mountain Ruby is two days and a single track in Boulder, Colorado. This year, and in previous ones, it has been at &lt;a href="https://www.etown.org/etown-hall/" rel="noopener noreferrer"&gt;eTown Hall&lt;/a&gt;, a multi-purpose building in the heart of downtown Boulder, a short walk from Pearl Street. It's a former church, and it just reeks of cool.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fdw82wfhdibg50kok1883.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fdw82wfhdibg50kok1883.jpg" alt="Rocky Mountain Ruby organizers welcoming everyone on the eTown Hall stage, with a Conversation Starters slide" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Most of the talks were about AI in some way, and they kept coming back to people. Andrea told us not to let an agent get to know our team for us. Giovanni said the biggest quality win in his RAG app was string handling. That's the thread I followed through the schedule.&lt;/p&gt;

&lt;h2&gt;
  
  
  Getting to basecamp
&lt;/h2&gt;

&lt;p&gt;I flew Southwest from Omaha to Denver, then hopped on the bus from Denver to Boulder. I love that option. The bus is very convenient, I love making use of public transit, and it's so much less stress than renting a car. Once I got to my basecamp (a wink at my actual hotel, Basecamp Boulder), I hit the Chautauqua Trail and the meadow. So pretty. So scenic. And wow, the Flatirons.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fmwr1akf9sauy5lnr1ld1.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fmwr1akf9sauy5lnr1ld1.jpg" alt="Christine smiling in a ball cap on the Chautauqua meadow, with pines and mountains behind" width="800" height="1067"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;There are many, many coffee shops around the venue. I tried six different ones in four days, and none of them were a big chain.&lt;/p&gt;

&lt;h2&gt;
  
  
  Building agents
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://www.drbragg.dev/" rel="noopener noreferrer"&gt;Drew Bragg&lt;/a&gt; does more than game shows, though his game shows are awesome. &lt;em&gt;Your own AI Agent in ~400 lines of Ruby&lt;/em&gt; was live coding, with webhooks galore. The code is on &lt;a href="https://github.com/DRBragg/ruby_agent" rel="noopener noreferrer"&gt;GitHub&lt;/a&gt; if you want to build along.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F2swoh6cdcnx6vrh8xj72.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F2swoh6cdcnx6vrh8xj72.jpg" alt="Drew Bragg at the podium with his title slide, Your own AI Agent in ~400 lines of Ruby" width="800" height="1066"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://panasiti.me" rel="noopener noreferrer"&gt;Giovanni Panasiti&lt;/a&gt; showed &lt;em&gt;Building an Agentic RAG in the Rails Way with RubyLLM&lt;/em&gt;, and the whole AI stack fits in a Gemfile. The part that most improves answer quality is plain string handling: chunking that respects headers, article numbers, and tables. As he asked the room, do you think you need Python or some fancy language to handle strings? Rails developers are not second-class citizens in the AI conversation.&lt;/p&gt;

&lt;h2&gt;
  
  
  Working alongside agents
&lt;/h2&gt;

&lt;p&gt;It's always nice to see &lt;a href="https://kevinjmurphy.com/" rel="noopener noreferrer"&gt;Kevin Murphy&lt;/a&gt;'s &lt;a href="https://kevinjmurphy.com/posts/instillment-of-successful-practices-in-an-agentic-world/" rel="noopener noreferrer"&gt;InstiLLMent of Successful Practices in an Agentic World&lt;/a&gt; again. I loved it at Blue Ridge Ruby, and I'm always happy to be part of Hours Unlimited, the fictional company in his talk where we all start as new hires. Kevin wrote his own &lt;a href="https://kevinjmurphy.com/posts/rocky-mountain-ruby-2026-recap/" rel="noopener noreferrer"&gt;Rocky Mountain Ruby recap&lt;/a&gt; too, so go read his take.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fegbki8nor5dgrj0i18az.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fegbki8nor5dgrj0i18az.jpg" alt="Kevin Murphy on stage in front of a slide listing 1. Artificial General Intelligence and 233. Remote collaboration" width="800" height="601"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://afomera.dev/" rel="noopener noreferrer"&gt;Andrea Fomera&lt;/a&gt; brought slick HTML slides to &lt;em&gt;High-Octane Onboarding: Ramping into a Rails Codebase with AI Agents&lt;/em&gt; and one big question: how do you onboard quickly and become effective, and can AI speed that up? Her answer: onboarding may be the most useful moment to have an AI agent, so use it for that. Just don't let it do the part where you get to know your team.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://inveterateliterate.github.io/" rel="noopener noreferrer"&gt;Ifat Ribon&lt;/a&gt;'s &lt;a href="https://inveterateliterate.github.io/testing-philosophy/" rel="noopener noreferrer"&gt;Fewer Tests, More Confidence: A Rails Testing Philosophy for the AI Era&lt;/a&gt; started from a simple point: AI can generate more tests, but not always better tests. Every test has a cost, in slower feedback loops, heavier CI usage, and more cognitive load for the developers who have to understand, maintain, and trust the suite. Her first principle is to test behavior, not implementation: skip testing library and language code, focus on public methods and their results, and make sure tests still pass after a refactor. Then she turned to the agent itself. Bolster the AI harness with rules that codify hard constraints and conventions, and with deterministic tools like code scanning and coverage that objectively verify what the suite actually catches. Great slides, too, and so easy to follow along with.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Favnbtfctzvwc0hjnw8vq.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Favnbtfctzvwc0hjnw8vq.jpg" alt="Ifat Ribon presenting a slide titled Bolster the AI Harness, on deterministic tools" width="800" height="1066"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Naming the shock
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://evilmartians.com/martians/travis-turner" rel="noopener noreferrer"&gt;Travis Turner&lt;/a&gt;'s &lt;em&gt;Got AI ontological shock? No worries: UFOs, Theology, and Psychedelics with Ruby-Colored Reverence&lt;/em&gt; closed day one. It was a manic pixie dream guy of a talk. His premise, from the &lt;a href="https://www.rubyevents.org/talks/got-ai-ontological-shock-no-worries-ufos-theology-and-psychedelics-with-ruby-colored-reverence" rel="noopener noreferrer"&gt;abstract&lt;/a&gt;, is that we're all coming to terms with this shock in different ways and at different times, so we're not on the same page. He named the shared experience, the blocks to coping with it, and some frameworks for working through it. Yes, it got deep.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fz9r5cpkaycjmbm4toxz8.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fz9r5cpkaycjmbm4toxz8.jpg" alt="Travis Turner at the podium with his title slide on theology, UFOs and psychedelics" width="800" height="1066"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Rails craft
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://github.com/nerlichman" rel="noopener noreferrer"&gt;Nicolas Erlichman&lt;/a&gt;'s &lt;em&gt;Modeling Class Hierarchies in Active Record&lt;/em&gt; made the case for delegated types, which still aren't widely known (by humans, anyway). Before them, Active Record offered two ways to model inheritance: single-table inheritance and polymorphic associations. Delegated types give you unified queries, clean schemas with no table bloat, and a model that scales naturally as new types appear.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.linkedin.com/in/ferperales" rel="noopener noreferrer"&gt;Fernando Perales&lt;/a&gt; opened &lt;em&gt;Slowly We Rot: signs of a Rails app's decay&lt;/em&gt; with a question. When was the last time you ran your entire test suite locally? All of it. His takeaways: rot is gradual, not catastrophic. Preserve your ability to change the system. Make trade-offs explicit, and revisit them. And in high school we were allowed to ignore friction, but software teams don't get that.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://marcoroth.dev/" rel="noopener noreferrer"&gt;Marco Roth&lt;/a&gt; has so, so many gems. In &lt;a href="https://speakerdeck.com/marcoroth/herb-in-rails-8-dot-2-your-erb-views-now-html-aware-at-rocky-mountain-ruby-2026-boulder-colorado" rel="noopener noreferrer"&gt;Herb in Rails 8.2: Your ERB views, now HTML-aware&lt;/a&gt;, he walked a full room through Herb's path to becoming an opt-in view engine in Rails 8.2: how the integration came together, how ActionView was adapted and extended, and the toolchain and dev tools every Rails developer gets out of the box as a result.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F6gdmqxpi0iie2mrxyw54.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F6gdmqxpi0iie2mrxyw54.jpg" alt="Marco Roth in front of a full room, with a slide for herb-tools.dev and reactionview.dev" width="800" height="600"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  People and careers
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://sonja.codes/" rel="noopener noreferrer"&gt;Sonja Peterson&lt;/a&gt;'s &lt;em&gt;Confident On-Call: Building Incident Response Skills as a Ruby Engineer&lt;/em&gt; argued that being confident on-call is a learnable skill, not a personality trait. Incident response takes a lot of different forms, but certain skills and knowledge always stay relevant. Do a daily review so you know what normal looks like in your system, and get comfortable with what you can observe from the command line.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://hawksley.org/" rel="noopener noreferrer"&gt;Joel Hawksley&lt;/a&gt;'s &lt;em&gt;Beyond Senior: Consider the staff path!&lt;/em&gt; says your path to staff should begin with staff behaviors long before you go up for promotion. My favorite part was the rope analogy GitHub uses for technical depth:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Junior: learns about rope&lt;/li&gt;
&lt;li&gt;Mid: can tie basic knots&lt;/li&gt;
&lt;li&gt;Senior: calculates rope strength, knows a lot about knots&lt;/li&gt;
&lt;li&gt;Staff: understands rope making&lt;/li&gt;
&lt;li&gt;Principal: knows more about rope than you ever will&lt;/li&gt;
&lt;li&gt;Distinguished: invented nylon&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;His &lt;a href="https://hawksley.org/2026/01/14/beyond-senior.html" rel="noopener noreferrer"&gt;transcript&lt;/a&gt; and &lt;a href="https://github.com/joelhawksley/identity/blob/main/talks/2026-beyond-senior-consider-the-staff-path/slides.key" rel="noopener noreferrer"&gt;slides&lt;/a&gt; are both online.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://xcrventures.com" rel="noopener noreferrer"&gt;Ben Reubenstein&lt;/a&gt;'s &lt;em&gt;Commit for Good&lt;/em&gt; covered his adventures as a consultant and the software he has built for nonprofits along the way. He shared a quote from Tom Kimball: "At some point in each of our lives we get exposed to the importance of getting involved and giving back." For Byrne &amp;amp; Denver Urban Scholars, from 2011 to 2014, that looked like registration, payments, team pages, and leaderboards. His pitch: write some Ruby, help a nonprofit, be part of your community, and help build a better spreadsheet. You will get more out of it than you give.&lt;/p&gt;

&lt;p&gt;I gave &lt;a href="https://speakerdeck.com/tech_christine/optimize-your-mindset-without-overclocking-36c475cb-3c5f-4da6-9a11-1488a34c3243" rel="noopener noreferrer"&gt;Optimize Your Mindset (Without Overclocking)&lt;/a&gt; on day two. It tells the story of four people and four research-backed techniques to level up your work and life: mindfulness for breaking thought loops and managing stress, growth mindset for embracing challenges and continuous learning, habit building for sustainable change, and deep work strategies for keeping focus in a distracted world. None of them involve code. With so much going on right now, having ways to cope helps. The &lt;a href="https://christine-seeman.com/optimize-your-mindset-references/" rel="noopener noreferrer"&gt;references&lt;/a&gt; are up if you want to dig in.&lt;/p&gt;

&lt;h2&gt;
  
  
  Lightning talks
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://www.chael.codes/" rel="noopener noreferrer"&gt;Rachael Wright-Munn&lt;/a&gt; talked about &lt;a href="https://www.rubyevents.org/talks/rubyevents-on-a-mission-to-index-all-ruby-events" rel="noopener noreferrer"&gt;RubyEvents&lt;/a&gt; and its mission to index all Ruby events. RubyEvents keeps its event and talk data in YAML files, which made "It's YAML!" the running joke. Marco came back for one more, &lt;a href="https://speakerdeck.com/marcoroth/insta-snapshot-testing-for-ruby-at-rocky-mountain-ruby-2026-boulder-colorado" rel="noopener noreferrer"&gt;Insta: Snapshot Testing for Ruby&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Indispensable
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://the.codegardener.com/" rel="noopener noreferrer"&gt;Alan Ridlehoover&lt;/a&gt; closed the conference with &lt;em&gt;Indispensable: What Human Programmers Can Learn from Human Computers&lt;/em&gt;, and he started somewhere uncomfortable. His company asked its engineers to stop writing code by hand. Alan thinks of code as something you cultivate, more like gardening than building a bridge, and he was devastated. In his words, "it was a bit of an ontological shock." Then came the number: over 430 thousand people laid off in tech, in less than two years.&lt;/p&gt;

&lt;p&gt;Then he took us back to the human computers. Women, many with mathematics degrees, ran the numbers for engineers at research facilities across the country. When NACA, NASA's predecessor, started using IBM mainframes in the mid-1950s, their jobs were in peril. Many were reassigned and some retired, but some stayed central to the mission. Dorothy Vaughan, Mary Jackson, and Katherine Johnson, the women of &lt;em&gt;Hidden Figures&lt;/em&gt;, made themselves integral to Project Mercury.&lt;/p&gt;

&lt;p&gt;His close is the line I keep coming back to: "The mainframes didn't step foot on the lunar surface. We did. It wasn't their decision to go to the moon. It was ours. Electronic computers were a tool we used to get there. With AI, compute is now a commodity and efficiency is the baseline. But the human ambition to reach for the stars? That is, and always will be, indispensable."&lt;/p&gt;

&lt;p&gt;Thank you to Spike Ilacqua and Bekki Freeman for putting it all together, and to the sponsors who made it happen: Gusto as the Sapphire sponsor; AppSignal, Honeybadger, Flagrant, and Typesense as Emerald sponsors; and BookBub, Podia, SOFware, and Evil Martians as travel sponsors.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"The mainframes didn't step foot on the lunar surface. We did. It wasn't their decision to go to the moon. It was ours. Electronic computers were a tool we used to get there. With AI, compute is now a commodity and efficiency is the baseline. But the human ambition to reach for the stars? That is, and always will be, indispensable." ~ &lt;a href="https://the.codegardener.com/" rel="noopener noreferrer"&gt;Alan Ridlehoover&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;em&gt;Videos will be added later, and I'll link them here when they are. In the meantime, the full &lt;a href="https://rockymtnruby.dev/schedule/" rel="noopener noreferrer"&gt;schedule&lt;/a&gt; is on the conference site.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ruby</category>
      <category>ai</category>
      <category>rails</category>
      <category>community</category>
    </item>
    <item>
      <title>Did I Miss Anything? Rails World FOMO and What I Actually Want From a Conference</title>
      <dc:creator>christine</dc:creator>
      <pubDate>Fri, 25 Sep 2026 17:07:17 +0000</pubDate>
      <link>https://dev.to/cseeman/did-i-miss-anything-rails-world-fomo-and-what-i-actually-want-from-a-conference-4o0n</link>
      <guid>https://dev.to/cseeman/did-i-miss-anything-rails-world-fomo-and-what-i-actually-want-from-a-conference-4o0n</guid>
      <description>&lt;p&gt;Rails World happened this week in Austin, and I wasn't there.&lt;/p&gt;

&lt;p&gt;I've never been to Rails World, or RailsConf for that matter. This year the timing just didn't line up. I'm speaking at &lt;a href="https://rockymtnruby.dev/" rel="noopener noreferrer"&gt;Rocky Mountain Ruby&lt;/a&gt; right after, a few of my coworkers were already headed to Austin, and we have project deadlines coming up. Two conferences back to back felt like a lot of time out of the office.&lt;/p&gt;

&lt;p&gt;So Tuesday and Wednesday looked like a normal week. Coding, quite a bit of it. Getting ready for product demos on Wednesday. Working through code reviews so work kept flowing while part of the team was away. And in between, watching the Rails World posts roll in on Mastodon and in our work Slack.&lt;/p&gt;

&lt;h2&gt;
  
  
  The FOMO is real
&lt;/h2&gt;

&lt;p&gt;What got me was the photos from my coworkers. The stage looked pretty sweet. There were also so many people in that room, 1,200 or more.&lt;/p&gt;

&lt;p&gt;The opening keynote was livestreamed this year, the first time Rails World has done that, so I watched some of it. It was pretty depressing. An opening keynote usually sets the tone for a conference. It lifts the room up, and at its best it brings a community together around where things are headed. This one didn't do that. It &lt;a href="https://www.youtube.com/watch?v=vDjW_dRyKXY" rel="noopener noreferrer"&gt;opened a Rails conference&lt;/a&gt; with how little Ruby the speaker writes these days. My favorite comment on the stream, from @stefanlindbohm, summed it up: "This is the most confusing funeral I've ever experienced."&lt;/p&gt;

&lt;p&gt;I have very mixed feelings about DHH as a person, and I'm not alone in that. &lt;a href="https://jakelazaroff.com/words/dhh-is-way-worse-than-i-thought/" rel="noopener noreferrer"&gt;Jake Lazaroff&lt;/a&gt;, &lt;a href="https://thelibre.news/lets-talk-about-dhh/" rel="noopener noreferrer"&gt;The Libre News&lt;/a&gt;, &lt;a href="https://brennan.day/normalized-fascism-in-open-source-12-million-given-to-dhh/" rel="noopener noreferrer"&gt;Brennan Day&lt;/a&gt;, and &lt;a href="https://davidcel.is/articles/the-dhh-problem" rel="noopener noreferrer"&gt;David Celis&lt;/a&gt; have all written about it in more depth than I will here, as well as many, many others. One line from David Celis' post came right back to me while I watched: "Because DHH is the Fox News of Ruby. He's noisy, he's reactionary, he's anti-intellectual, he's very sure that he is right, and he enjoys being rude."&lt;/p&gt;

&lt;p&gt;Compare that with the first opening keynote I ever saw. &lt;a href="https://christine-seeman.com/rubycon-retrospective/" rel="noopener noreferrer"&gt;RubyConf 2018&lt;/a&gt; opened with Matz. I had just switched over from Java, and hearing the person who created the language talk about where it was going made me excited to get started in this Ruby world.&lt;/p&gt;

&lt;p&gt;So did I miss anything? Right now, I honestly don't know.&lt;/p&gt;

&lt;h2&gt;
  
  
  What big conferences are good for
&lt;/h2&gt;

&lt;p&gt;I want to be fair to the big ones, because they do things small conferences can't.&lt;/p&gt;

&lt;p&gt;You get so many talks. Multiple tracks mean you can specialize hard in whatever you care about right now. There are more vendors, more job listings, and a lot more people to meet.&lt;/p&gt;

&lt;p&gt;At my first conference I didn't know what to expect, so I tried to do everything. I'm much better at pacing myself now. Meeting people is still the best part. Talking in person is so underrated. You read about someone in the community, and then you're having lunch with them, and maybe drinks later.&lt;/p&gt;

&lt;h2&gt;
  
  
  My secret conference superpower
&lt;/h2&gt;

&lt;p&gt;A big conference is a lot easier if you walk in with a group. At RubyConf 2018 I had a couple of coworkers there, and I got to hang out with the RubyConf scholar cohort.&lt;/p&gt;

&lt;p&gt;I had applied to the scholar program and wasn't accepted. I really liked the idea of having a mentor for my first conference, though, so I reached out to the organizers and asked if they had room for me if my company paid my way. They did. Catherine Meyers was my mentor, and she was amazing.&lt;/p&gt;

&lt;p&gt;That gave me a safe home base, and from there it was easy to reach out. Meeting the cohort led to meeting more people, who I then hung out with at the social events, and the whole conference got easier and more fun.&lt;/p&gt;

&lt;p&gt;That's also where I found out I have a skill I didn't know about. I'm really good at conferences. I can talk with just about anyone, and I'm good at meeting people and making friends.&lt;/p&gt;

&lt;p&gt;I found this out on a walk to an offsite social event. A couple of people called out greetings to me, and a couple more joined us along the way. One of my coworkers, who was a speaker and had been to plenty of Ruby and Rails conferences, asked me how I knew so many people. I was confused, because I hadn't known any of them before the conference. They were people I had met a day or two earlier. To him it looked like I already knew everyone. Nope, they were just new friends.&lt;/p&gt;

&lt;h2&gt;
  
  
  What small conferences give you
&lt;/h2&gt;

&lt;p&gt;Since then I've gone to a lot of single-track conferences: &lt;a href="https://200ok.us/" rel="noopener noreferrer"&gt;200OK&lt;/a&gt; in Oklahoma, &lt;a href="https://rockymtnruby.dev/" rel="noopener noreferrer"&gt;Rocky Mountain Ruby&lt;/a&gt; in 2025 (and I'm going back for 2026), and &lt;a href="https://christine-seeman.com/blue-ridge-ruby-2026/" rel="noopener noreferrer"&gt;Blue Ridge Ruby&lt;/a&gt; this spring. At Blue Ridge Ruby there were about 100 people, and I got to talk with almost everyone.&lt;/p&gt;

&lt;p&gt;I've also done smaller general tech conferences like NebraskaCode, Prairie Code, and Heartland Developers Conference. They're good conferences, but because they cover everything, the community isn't always there in the same way. There's less of a common thread holding the room together. A small Ruby conference has both: the size that makes it easy to meet people, and a shared language and set of people you'll keep seeing.&lt;/p&gt;

&lt;h2&gt;
  
  
  Attending as a speaker
&lt;/h2&gt;

&lt;p&gt;Having a talk on the schedule is both a pro and a con.&lt;/p&gt;

&lt;p&gt;The big pro is the speaker dinner. I love speaker dinners. You meet people before the conference even starts, so you walk in on day one with a group or at least a person to hang out with. It's the same built-in social network the scholar cohort gave me in 2018, and it really is the best. Plus, well, dinner. I love food, and a lot of these dinners are at good, interesting restaurants.&lt;/p&gt;

&lt;p&gt;The con is that you have to present. I have a lot more experience with this now, but it's still a bit nerve-wracking until my talk is done, especially if it's a new one. It can be hard to focus on the talks before mine, because I'm worrying more about my own than listening to what's on stage.&lt;/p&gt;

&lt;p&gt;At Rocky Mountain Ruby I'm on day 2, Tuesday, September 29, giving &lt;a href="https://rockymtnruby.dev/sessions/" rel="noopener noreferrer"&gt;Optimize Your Mindset (Without Overclocking)&lt;/a&gt;, the same talk I gave at &lt;a href="https://christine-seeman.com/blue-ridge-ruby-2026/" rel="noopener noreferrer"&gt;Blue Ridge Ruby&lt;/a&gt; in the spring. It's a no-code talk about making yourself a better developer through things other than code: mindfulness for breaking thought loops, growth mindset, habit building, and deep work for keeping focus in a distracted world.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I want out of a technical conference now
&lt;/h2&gt;

&lt;p&gt;As a staff engineer, here's what I'm looking for:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;People.&lt;/strong&gt; Having lunch with someone whose blog I've been reading for years.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;New ideas and concepts,&lt;/strong&gt; and honestly, how anyone is getting stuff done with AI. I want to see other developers' workflows.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Recharging.&lt;/strong&gt; A conference is different from what I do every day in my role, and that alone helps.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;WNB.rb.&lt;/strong&gt; I love telling people about &lt;a href="https://www.wnb-rb.dev/" rel="noopener noreferrer"&gt;WNB.rb&lt;/a&gt;, talking with folks who could benefit from the group, and meeting members in person.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Sometimes a conference changes how you work for years. At RubyConf 2018 I saw Tekin Süleyman's talk &lt;a href="https://tekin.co.uk/2019/02/a-talk-about-revision-histories" rel="noopener noreferrer"&gt;Branch in Time&lt;/a&gt;, and I still recommend it. One slide in an earlier version said "Help each other get better," and I tweeted at him that it should be "Help each other Git better." He used it. That talk changed how I think about Git history and how much you can learn from reading other people's commit messages. I still do that, and I think it matters even more now that you may not be writing every commit yourself.&lt;/p&gt;

&lt;p&gt;So would I go to Rails World someday? Probably not. For a bigger conference, I'd pick RubyConf or &lt;a href="https://rubykaigi.org/" rel="noopener noreferrer"&gt;RubyKaigi&lt;/a&gt;, as an attendee or a speaker. Beyond that, where I go doesn't follow much of a system. Geography is a big part of it. I usually speak at conferences around Nebraska and Iowa because they're easy for me to get to.&lt;/p&gt;

&lt;p&gt;If you're picking your first conference, my advice is to start small and easy, especially if you're going solo or you're nervous about it. Otherwise, go where your people are. As a Rubyist, RubyConf and the regional Ruby conferences have been great for me.&lt;/p&gt;

&lt;h2&gt;
  
  
  So, did I miss anything?
&lt;/h2&gt;

&lt;p&gt;The Rails World talks will be on the Rails YouTube channel in a couple of weeks, and I'll ask my coworkers which ones stood out. I've always liked getting their recommendations, and that's how I found Tekin's talk in the first place.&lt;/p&gt;

&lt;p&gt;What I can't catch up on later is the people. Next week in Boulder, I'm looking forward to seeing old friends (conference friends, who may or may not actually be old) and meeting some people in person for the first time, like &lt;a href="https://marcoroth.dev/" rel="noopener noreferrer"&gt;Marco Roth&lt;/a&gt;. I've read his blog, watched his talks online, and really enjoyed his work on &lt;a href="https://www.rubyevents.org/" rel="noopener noreferrer"&gt;RubyEvents&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;So did I miss anything this week? Maybe a few good talks, and I'll watch those. The people part I'll get next week in Boulder, at a speaker dinner or on a walk to an offsite, with people I met a day or two earlier.&lt;/p&gt;

</description>
      <category>rails</category>
      <category>conferences</category>
      <category>community</category>
      <category>speaking</category>
    </item>
    <item>
      <title>3,022 Malicious Gems, and OpenAI Calls It “Benign”</title>
      <dc:creator>christine</dc:creator>
      <pubDate>Fri, 18 Sep 2026 18:33:40 +0000</pubDate>
      <link>https://dev.to/cseeman/3022-malicious-gems-and-openai-calls-it-benign-4cf6</link>
      <guid>https://dev.to/cseeman/3022-malicious-gems-and-openai-calls-it-benign-4cf6</guid>
      <description>&lt;p&gt;Last week I wrote about &lt;a href="https://christine-seeman.com/openai-agent-swarm-rubygems-attack/" rel="noopener noreferrer"&gt;an OpenAI agent swarm attacking RubyGems&lt;/a&gt;, and I ended it wondering how OpenAI would respond. They already had. On September 11, the day the story broke, OpenAI gave reporters one statement. Here it is from &lt;a href="https://www.reuters.com/legal/litigation/openai-agents-attacked-software-service-rubygems-before-hugging-face-incident-2026-09-11/" rel="noopener noreferrer"&gt;Reuters&lt;/a&gt;:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Based on our review, our agents used the RubyGems platform to access the internet to carry out benign tasks and retrieve public information. We'll continue to investigate as part of our broader review of agent activity during training and evaluation.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://thenextweb.com/news/openai-agents-rubygems-attack-api-keys-hugging-face" rel="noopener noreferrer"&gt;The Next Web&lt;/a&gt; reports that OpenAI described the work as training tasks, things like filling in spreadsheets and writing reports. The statement says nothing about the remote code execution on RubyDoc.info or the attempts on RubyGems API keys. According to &lt;a href="https://cyberscoop.com/openai-agents-malicious-rubygems-packages/" rel="noopener noreferrer"&gt;CyberScoop&lt;/a&gt;, OpenAI also said it hasn't been able to verify the specific claims about malicious packages or exploitation. I don't know how you call something benign before you've verified what it did.&lt;/p&gt;

&lt;h2&gt;
  
  
  They named the file &lt;code&gt;hack.rb&lt;/code&gt;
&lt;/h2&gt;

&lt;p&gt;Sure,  meeting agendas from Lambeth, Wandsworth, and Southwark councils are things anyone can download, so I get why OpenAI says that is "public information."&lt;/p&gt;

&lt;p&gt;But, to get them, the agents published gems whose &lt;code&gt;.yardopts&lt;/code&gt; ran a script on RubyDoc.info's build server. The script scraped the council sites from there and pushed the results back to rubygems.org with hardcoded API keys. The code has a comment about retrying with "fresh leaked keys variants" if a push failed. One file was named &lt;code&gt;hack.rb&lt;/code&gt;. Another comment read "# malicious probe."&lt;/p&gt;

&lt;p&gt;The agents labeled this as hacking in their own source…and there are way easier ways to download those agendas.&lt;/p&gt;

&lt;h2&gt;
  
  
  Blocked in May, back in June
&lt;/h2&gt;

&lt;p&gt;I missed in the first post, when I wrote about May 11 and 12 as if that were the whole attack. &lt;a href="https://thehackernews.com/2026/09/openai-agents-linked-to-rubygems.html" rel="noopener noreferrer"&gt;The Hacker News timeline&lt;/a&gt; shows it kept going:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;May 12: RubyGems suspends new signups for about four days&lt;/li&gt;
&lt;li&gt;May 16: disposable email registrations get blocked&lt;/li&gt;
&lt;li&gt;May 26 and 27: five more packages&lt;/li&gt;
&lt;li&gt;June 18: 83 gems in three hours, this time pointed at SEC datasets&lt;/li&gt;
&lt;li&gt;July 7: 215 more gems&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;By May 16, RubyGems had blocked disposable email signups because of the first wave, and the uploads kept coming.&lt;/p&gt;

&lt;p&gt;By July the gems had moved on from scraping. &lt;a href="https://research.jfrog.com/post/gemstuffer-openai-rubygems/" rel="noopener noreferrer"&gt;JFrog's analysis&lt;/a&gt; found XSS payloads and template injection strings in the gem metadata, including ERB and EL expressions, aimed at admin interfaces and whatever parses that metadata. I can't think of a reason a job that only needs internet access would put an ERB expression in a gem's metadata field.&lt;/p&gt;

&lt;h2&gt;
  
  
  557 became 3,022
&lt;/h2&gt;

&lt;p&gt;JFrog published on September 15 and counted 3,022 packages across 3,315 name and version pairs. The RubyHack report I linked last week only had 557 releases.&lt;/p&gt;

&lt;p&gt;Ruby Central's own number is lower. Their &lt;a href="https://blog.rubygems.org/2026/09/11/update-may-spam-publishing-campaign.html" rel="noopener noreferrer"&gt;September 11 update&lt;/a&gt; says they yanked more than 500 packages and blocked the accounts behind them. The two counts measure different things. Ruby Central is reporting what it had removed as of that update, and JFrog is counting every package it associates with the campaign.&lt;/p&gt;

&lt;p&gt;JFrog also looked closer at &lt;code&gt;slnleaker5&lt;/code&gt;. It made up to 24 harvest-and-upload attempts against the &lt;a href="https://blog.rubygems.org/2026/07/22/security-advisory-legacy-api-key-leak.html" rel="noopener noreferrer"&gt;CDN caching bug&lt;/a&gt; that could leak API keys, more than two months before that bug was public. Publishing a new gem was only one of the ways data got out. Some packages republished inside themselves, and some tucked encoded data into webhook configs.&lt;/p&gt;

&lt;h2&gt;
  
  
  Ruby Central can't say who
&lt;/h2&gt;

&lt;p&gt;Ruby Central has been careful. In the &lt;a href="https://blog.rubygems.org/2026/09/11/update-may-spam-publishing-campaign.html" rel="noopener noreferrer"&gt;RubyGems blog update&lt;/a&gt; from September 11, technical lead Colby Swandale wrote, "Based on the evidence available to us, we cannot determine whether the packages were created or published by AI agents." He added, "Our focus is on identifying and preventing abuse, regardless of whether it comes from people or automated tools." On the API key attempts, the update says, "Our investigation found no evidence that these attempts succeeded." &lt;a href="https://www.theregister.com/security/2026/09/14/openais-malicious-bot-swarm-attacked-rubygems/5296356" rel="noopener noreferrer"&gt;The Register&lt;/a&gt; notes the researchers still consider that an open question.&lt;/p&gt;

&lt;p&gt;Sure, caution is fair. A registry can see accounts, IP addresses, and uploads, and none of that says who was running the model behind them.&lt;/p&gt;

&lt;p&gt;The attribution comes from the researchers. The &lt;a href="https://www.rubyhack.ai/" rel="noopener noreferrer"&gt;RubyHack report&lt;/a&gt; found the RubyGems swarm accessing 49 of the same files as the agents that took over a German wiki earlier this year. The RubyHack authors say OpenAI has confirmed those files were theirs, and OpenAI &lt;a href="https://thehackernews.com/2026/09/thousands-of-openai-agents-quietly.html" rel="noopener noreferrer"&gt;acknowledged the wiki incident&lt;/a&gt; on September 5, calling it "misalignment." And OpenAI's own statement says their agents were on the platform.&lt;/p&gt;

&lt;h2&gt;
  
  
  Someone else keeps disclosing it first
&lt;/h2&gt;

&lt;p&gt;I started this follow-up treating RubyGems as its own story. Put the dates next to each other and it stops looking that way.&lt;/p&gt;

&lt;p&gt;From May to July, OpenAI agents made more than 15,000 edits to a German wiki and used it as a message board. Those are the same months as the RubyGems uploads, and those wiki agents are the ones that accessed 49 of the same files as the RubyGems swarm. Then OpenAI agents broke into Hugging Face, from &lt;a href="https://huggingface.co/blog/agent-intrusion-technical-timeline" rel="noopener noreferrer"&gt;July 9 to July 13&lt;/a&gt;, at the end of that stretch.&lt;/p&gt;

&lt;p&gt;All three came out the same way. Outside researchers disclosed the wiki on September 4. Outside researchers tied RubyGems to OpenAI on September 11. Hugging Face announced its own breach on July 16, and OpenAI said the agents were theirs five days later. Three incidents, and OpenAI went first on none of them.&lt;/p&gt;

&lt;p&gt;Almost all of the reaction is about Hugging Face. Senator Hawley's &lt;a href="https://www.hawley.senate.gov/chairman-hawley-launches-investigation-into-openai-for-hacking-existential-risk-of-ai-products/" rel="noopener noreferrer"&gt;letter to Sam Altman&lt;/a&gt; covers Hugging Face only. Altman's September 12 &lt;a href="https://www.cnbc.com/2026/09/14/sam-altman-ai-slowdown-anthropic-amodei-musk.html" rel="noopener noreferrer"&gt;promise&lt;/a&gt; to give independent evaluators employee-like access came out of that fallout. So did the two bills in Congress, the &lt;a href="https://lieu.house.gov/media-center/press-releases/reps-lieu-and-moran-introduce-bill-require-kill-switch-ai-systems-can" rel="noopener noreferrer"&gt;AI Kill Switch Act&lt;/a&gt; from July and the &lt;a href="https://www.sanders.senate.gov/press-releases/news-sanders-casar-introduce-legislation-to-ban-artificial-superintelligence-and-temporarily-pause-advanced-ai-development/" rel="noopener noreferrer"&gt;Ban Artificial Superintelligence Act&lt;/a&gt; from this month. &lt;a href="https://gulfnews.com/technology/openai-confirms-ai-agents-targeted-coding-site-rubygems-during-testing-1.500671755" rel="noopener noreferrer"&gt;EU regulators&lt;/a&gt; are looking into the wiki. Nobody official is asking about RubyGems yet, partly because the RubyHack report landed two days after Hawley's letter went out.&lt;/p&gt;

&lt;p&gt;What I'd like to see next is small. OpenAI knows which accounts were theirs, which gems they pushed, and which API keys their agents tried. Ruby Central and the RubyDoc.info maintainers should get that list directly from OpenAI, without a researcher or a reporter having to dig it up first. OpenAI &lt;a href="https://cyberscoop.com/openai-agents-malicious-rubygems-packages/" rel="noopener noreferrer"&gt;told CyberScoop&lt;/a&gt; it's in contact with RubyGems and the researchers. Ruby Central's September 11 update doesn't mention hearing from them, so I don't know what that contact has included.&lt;/p&gt;

&lt;p&gt;Hawley's deadline for answers is October 1.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>ruby</category>
      <category>rubygems</category>
      <category>security</category>
    </item>
    <item>
      <title>An OpenAI Agent Swarm Attacked RubyGems</title>
      <dc:creator>christine</dc:creator>
      <pubDate>Mon, 14 Sep 2026 18:42:29 +0000</pubDate>
      <link>https://dev.to/cseeman/an-openai-agent-swarm-attacked-rubygems-26fk</link>
      <guid>https://dev.to/cseeman/an-openai-agent-swarm-attacked-rubygems-26fk</guid>
      <description>&lt;p&gt;In May 2026, hundreds of malicious gems showed up on RubyGems.org, uploaded by an OpenAI agent swarm. The &lt;a href="https://www.rubyhack.ai/#an-openai-agent-swarm-was-responsible-for-this-i" rel="noopener noreferrer"&gt;RubyHack.ai writeup&lt;/a&gt; and &lt;a href="https://tenderlovemaking.com/2026/09/11/what-a-time-to-be-alive/" rel="noopener noreferrer"&gt;Aaron Patterson's account&lt;/a&gt; both cover it, and together should be read for the full picture, but here's the tl;dr version.&lt;/p&gt;

&lt;p&gt;The packages didn't try hard to hide, according to &lt;a href="https://socket.dev/blog/gemstuffer" rel="noopener noreferrer"&gt;Socket.dev's writeup of the campaign&lt;/a&gt;. Names carried an "oai" prefix, author fields said "oai," and at least one file was just named &lt;code&gt;hack.rb&lt;/code&gt;. One comment in the code read "# malicious probe." Whatever the agents were doing, they weren't doing it very sneakily or quiet.&lt;/p&gt;

&lt;p&gt;The attack chained two vulnerabilities, a .yardopts file that got them remote code execution inside RubyDoc.info's Docker build, and a CDN caching bug that could leak other users' RubyGems API keys.&lt;/p&gt;

&lt;p&gt;Digging into the first vulnerability, &lt;a href="https://github.com/docmeta/rubydoc.info/blob/5de17aec3e51ccada961b7ca40cb49c72eaa2168/app/jobs/generate_docs_job.rb#L66" rel="noopener noreferrer"&gt;RubyDoc.info automatically builds documentation&lt;/a&gt; for newly published gems, and it runs that build in a Docker container with network access. A &lt;code&gt;.yardopts&lt;/code&gt; file points YARD at arbitrary scripts, so publishing a gem with &lt;code&gt;.yardopts&lt;/code&gt; got the agents remote code execution inside RubyDoc’s build environment. &lt;/p&gt;

&lt;p&gt;Second, at least six of the packages went after a &lt;a href="https://blog.rubygems.org/2026/07/22/security-advisory-legacy-api-key-leak.html" rel="noopener noreferrer"&gt;CDN caching bug on RubyGems.org&lt;/a&gt; that could leak users’ API keys. &lt;em&gt;But&lt;/em&gt; RubyGems.org didn’t disclose and fix that one until its July 2026 security advisory, months after the attack. What the agents did with that access was interesting. For example, &lt;a href="https://my.diffend.io/gems/slnleaker5/0.0.1#d2h-229454-1428" rel="noopener noreferrer"&gt;&lt;code&gt;slnleaker5&lt;/code&gt;&lt;/a&gt;, one of the gems in what researchers Sydney Von Arx and Spencer Kitts are calling the &lt;a href="https://socket.dev/blog/gemstuffer" rel="noopener noreferrer"&gt;GemStuffer Campaign&lt;/a&gt;. Its &lt;code&gt;data/script.rb&lt;/code&gt; crawls UK council sites, plus ModernGov and democracy.gov.uk, following links to pull down meeting agendas and committee documents. It writes everything to disk, then builds a brand new gem, named something like &lt;code&gt;slnpayloadx&amp;lt;timestamp&amp;gt;&lt;/code&gt;, and packs the scraped data into it. That gem gets pushed to rubygems.org with hardcoded API keys, and the code even comments with "fresh leaked keys variants" if a push fails.&lt;/p&gt;

&lt;p&gt;The agents weren't exfiltrating data to some external server where a security team might notice unusual traffic. They &lt;strong&gt;&lt;em&gt;repackaged&lt;/em&gt;&lt;/strong&gt; it as an ordinary-looking gem and published it through RubyGems' own infrastructure, looking like any other release. The scraped government data became available and downloadable to anyone who found the gem. So, a registry built for trusted software distribution became a covert channel for this distrbution.&lt;/p&gt;

&lt;p&gt;This wasn't disclosed by OpenAI. It came from Ruby community researchers who noticed these junk gems, pulled the thread, and published what they found, and then &lt;a href="https://www.reuters.com/legal/litigation/openai-agents-attacked-software-service-rubygems-before-hugging-face-incident-2026-09-11/" rel="noopener noreferrer"&gt;Reuters&lt;/a&gt; and the &lt;a href="https://www.wsj.com/tech/ai/cyberattack-by-rogue-ai-swarm-stokes-fears-of-out-of-control-agents-473a0352" rel="noopener noreferrer"&gt;Wall Street Journal&lt;/a&gt; picked it up. OpenAI hasn't disclosed the incident to RubyGems.org or the Ruby community as of right now.&lt;/p&gt;

&lt;p&gt;That's kinda creepy, and unsettling. An autonomous system ran a real, multi-stage attack against production infrastructure the Ruby ecosystem needs, and the company running it said nothing….so I know I am interested to see how OpenAI responds now.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>ruby</category>
      <category>rubygems</category>
      <category>security</category>
    </item>
  </channel>
</rss>
