Why I update every dependency, every few days

100,000+ CVEs this year and supply chain attacks riding updates. How I keep SQLly's dependencies current every few days without pulling in malware.

By

Today I updated every dependency in SQLly again, seventeen days after the last time. From now on it's every few days. That's not because I enjoy it. Shipping software in late 2026 just doesn't leave you much choice.

What "update everything" meant this time

SQLly is two codebases. The app (desktop, browser and the bridge) is Rust. The website and store you're reading this on are .NET. Why two stacks? No grand architecture reason. I was a .NET developer for about twenty years before I picked up Rust, so when I needed a website, I reached for what I already knew. Honestly, I didn't even think about it until I was writing this post and had to explain two package ecosystems. Keeping both current is twice the work, so the site will probably end up in Rust too at some point. For now, today both got the full treatment:

  • Rust: 202 of the 1,247 crates in the lockfile moved to a new version. Fifteen of my direct dependencies jumped to a breaking release, including the UI framework itself (gpui 0.3.14 and gpui-component 0.11), DuckDB 2.0.1, SQLite (rusqlite 0.43), the JWT library and the file watcher.
  • .NET: twenty NuGet packages, from ASP.NET Core and Entity Framework patches to Stripe, the HTML sanitizer and the passkey library.
  • My own grid crate (the results grid is a separate crate I maintain) went to 12.0.0 just to keep up with the framework.

Most of it was boring, which is the point. The app hit thirteen compile errors on the new UI framework. The date picker switched date libraries out from under me, and gpui started doing something for free that I'd been doing by hand. The JWT library changed one function to return a Result. An RSA crate renamed its key type. Maybe an hour of real fixing, then the test suites: about 12,500 Rust tests and 3,329 on the server.

My favorite failure was a golden-file test for notebook reports. The new PNG encoder picks different row filters, so a tiny embedded logo came out as different bytes. I decoded both images and compared them pixel by pixel. Identical, so I refreshed the golden file. That's the kind of thing you want a test to catch, even when the answer turns out to be "fine".

Why bother every few days?

Because of the numbers. VulnCheck counted 100,222 published CVEs by November 13, more than double all of 2025. A big part of that is AI-assisted bug hunting: the same tools that help me write tests are helping people find holes, faster than ever. Exploitation is speeding up too. VulnCheck says the median time from a CVE going public to showing up as actively exploited fell from 120 days in 2025 to 80 in the first half of this year, and Akamai puts it closer to six days. Those two measure different things, but they point the same way.

So a dependency that's three months old isn't "stable". It's three months of fixes you don't have. Yesterday's release included a bump of the url crate to fix a stack overflow (RUSTSEC-2026-0592). Fixes like that land every week now.

Every few days, with an agent watching

Seventeen days was this round. Going forward I'm doing it every few days, and I'm not the one refreshing release pages. I have a Hermes agent that watches the packages SQLly depends on. When a new version of one gets published, it kicks off this process: it works out what the new version would change for SQLly and writes up a suggestion with the impact. Is it a security fix or just new features? Does it break the build? Does it touch one of the crates I patch?

One rule the agent and I both follow: I never take a package version that's less than a day old. Not for a crate, a NuGet package, or a downloaded binary. Most supply chain attacks get spotted and pulled within several hours of being published, so a brand-new release waits until it's been out for a full day. If the agent flags a version that came out this morning, it goes in tomorrow's round. Even when the fix is for a real advisory, a day is a cheap wait next to shipping somebody's credential stealer.

The agent suggests. It doesn't merge. Every bump still goes through the lockfile, the advisory checks, the full test suites and me, the same as below. That matters more than usual here, because a bot that pulled every new release the minute it appeared would be the perfect way to deliver the kind of attack in the next section.

The catch: updates are also how attacks get in

Here's the uncomfortable part. Updating constantly is also exactly how a supply chain attack reaches you. On November 10 a campaign called wfx-loot started using 4,837 hijacked GitHub accounts to slip a CI secret stealer into thousands of repositories. From there it rode automated publishing into at least a couple of real packages. Back in May, TrapDoor put credential-stealing packages on npm, PyPI and crates.io. The crates.io ones hid in build.rs scripts, which run the moment you compile.

So "update everything" can't mean "pull whatever's newest and hope". Here's what I actually do:

  • Lockfiles everywhere. Builds use the exact versions I tested, not whatever got published five minutes ago.
  • Nothing under a day old. I never take a version published less than 24 hours ago, including transitive dependencies that ride in with a cargo update. Anything that fresh gets pinned back to the previous release until it has aged.
  • cargo-deny in every pipeline. The Rust build fails on a known advisory, a license I haven't approved, or a dependency from a source I didn't allow. The server build fails if dotnet list package --vulnerable finds anything, transitive packages included.
  • Pinned hashes for downloaded binaries. The Windows build downloads DuckDB's prebuilt DLL. The script refuses to use it unless the SHA-256 matches one written in the repo. Today's new hashes were checked against the digests GitHub publishes for the release.
  • Read the diffs that matter. I vendor four crates that carry SQLly patches (the gpui core and its macOS backend, the SQL Server driver and the PostgreSQL driver). Each bump means re-applying my patches onto the new release by hand, so I end up reading what changed. For the macOS backend I also check that no new private Apple APIs slipped in, because App Review rejects those.

None of that makes me immune. It does mean a bad package has to get past a day of other people noticing, a lockfile, an advisory database and me actually looking, instead of just landing.

Updating made things safer this time, not just newer

My cargo-deny config had two waivers, known advisories I'd accepted on purpose because the fix didn't exist yet. One was the Marvin timing attack against the old rsa crate (RUSTSEC-2023-0071). The other was a timing issue in an old crypto-bigint (RUSTSEC-2026-0387). Both came in through the JWT library, and SQLly never ran the affected code paths, but "never runs it" is an argument, not a fix. The new JWT release moved to patched versions of both, so today I deleted the waivers. Now the build just fails if either one shows up again.

The file watcher update caught something too. The new release tells you when the operating system dropped file events (say, a full event queue), instead of quietly delivering nothing. SQLly now re-checks every open .sql file when that happens, so a tab can't miss that its file changed on disk.

What I didn't update

.NET 11 is out, and every Microsoft package now has an 11.0.0 sitting there. I didn't take it. The site runs on .NET 10, which is the long-term support release, and 11 is a short-term one. Moving would mean a new runtime on the servers, not a package bump. I took every .NET 10 patch instead and I'll do the runtime move on purpose, separately, when it's worth it.

Fast updates also cost me once already. The previous framework bump on November 8 had a real regression: on macOS, text you typed sometimes didn't show up until you resized the window. I caught it testing on a VM and patched around it, and that patch got re-applied today. Small, frequent updates mean when something breaks, I'm looking at a few days of changes instead of a year of them. That's the whole trade.

What this means for you

Nothing you need to do. The updates go out with the next release, and the changelog will list them like any other change. If you're running an old version of SQLly (or anything else, honestly), update it. The odds that it has a known hole are a lot higher than they were a year ago.