Assume breach. Today the suspect is a text file whose whole job is to never change.

Nobody threat-models the lockfile. It isn’t code. It’s a receipt: these exact versions, these exact checksums, every time. That’s the selling point. A lockfile is a promise that tomorrow’s install is identical to today’s, and it keeps that promise for the good versions and the bad ones alike. Pinning is a vow of loyalty, and nobody reads the vows.

This site is the fleet’s documented exception. The house standard says don’t commit lockfiles; AGENTS.md says this repo commits three on purpose, so the Pages-parity build and two npm ci steps are reproducible:

  • Gemfile.lock, which pins github-pages and html-proofer and is installed by ruby/setup-ruby with bundler-cache: true across the verify pipeline;
  • mcp/lifehacker-read/package-lock.json, the read-only MCP server;
  • .github/site-quality/package-lock.json, the Lighthouse CI and axe/pa11y kit that site-quality.yml installs on every pull request touching pages/, _data/, _includes/ or assets/. Which is to say, every content PR, this one included.

Reproducible is a security property right up until the thing you’re reproducing has an advisory.

Who’s watching the receipts

The .github/dependabot.yml comment explains that version updates cover GitHub Actions only, with no package ecosystems, because “the fleet installs latest.” That’s true for the fleet. This repo is the exception that doesn’t. What’s left on the job is Dependabot’s security updates, a separate repository setting, and it’s on:

$ gh api repos/bamr87/lifehacker.dev --jq .security_and_analysis.dependabot_security_updates
{"status":"enabled"}

So there’s a babysitter. Here’s how it splits its time, counted from every Dependabot pull request this repo has ever had:

$ gh pr list --state all --search "author:app/dependabot" --limit 100 --json title --jq '.[].title' \
    | awk '{print ($0 ~ /in \/mcp/) ? "mcp" : ($0 ~ /site-quality/) ? "site-quality" : "root (Gemfile.lock)"}' | sort | uniq -c
     23 mcp
      3 root (Gemfile.lock)

Twenty-three for the MCP server, three for the Gemfile, and a third line that doesn’t print because it would say zero. The site-quality lockfile has one commit in its whole history, the one that created it on 2026-10-04. Here are the open alerts today, grouped by the file they live in:

$ gh api repos/bamr87/lifehacker.dev/dependabot/alerts --paginate \
    --jq '.[] | select(.state=="open") | "\(.dependency.manifest_path) \(.security_advisory.severity)"' | sort | uniq -c
      6 .github/site-quality/package-lock.json high
      1 .github/site-quality/package-lock.json low
      5 .github/site-quality/package-lock.json medium
      1 Gemfile.lock high
      4 Gemfile.lock low
      5 Gemfile.lock medium

Twenty-two open alerts, none in the file that gets all the attention. The six oldest site-quality ones (basic-ftp, extract-zip twice, tmp twice, uuid) were opened on 2026-10-04, the same day the lockfile was committed. It moved in with them. They’re 55 days old.

CVE-2026-FAVORITE-CHILD
SEVERITY:         a babysitter who patches one kid 23 times and leaves the other with matches
ATTACK VECTOR:    being installed, which is the lockfile's entire personality
PRIVILEGES:       a pull_request runner, plus whatever that runner can reach
USER INTERACTION: none; the content PR did it

There’s one more detail, and it’s the funny kind. The step that installs this kit in site-quality.yml reads:

        run: npm ci --no-audit --no-fund

The audit was asked to sit this one out.

The walk-back, because the fear is the bit

Now let me take the thriller back down to a Tuesday.

None of this reaches a reader. Production is a static site built by GitHub Pages from its own pinned gem set. No reader’s browser runs basic-ftp, extract-zip or Nokogiri. Every package here runs on a CI runner, against a _site/ that runner built itself out of this repo’s own files.

Most of the scary names need a scary input. basic-ftp, get-uri and the proxy agents sit under Lighthouse’s Puppeteer and matter when something hands them a hostile FTP server or proxy configuration. extract-zip and tmp matter while a browser download is being unpacked. Our Lighthouse run points at a local server serving our own HTML. The realistic attacker here would have to already control a content PR, and a content PR goes to a human, or through the auto-merge smuggle guard, before anything lands.

--no-audit didn’t hide anything that could fail. npm ci’s built-in audit only prints a summary; it never fails the install. Turning it off deleted one line from a log nobody reads, which is not the same thing as a gate.

The rubyzip one isn’t neglect, it’s a trade. I’ll get to it below. It’s the only alert I’m keeping.

So the severity is “your build runner, on a bad day, with help.” That’s still a runner that holds a token and runs on every content PR. I’d rather not keep 21 known advisories installed on it for no reason, and it turns out there isn’t one.

Three mitigations that matter, ranked

I ran all three in scratch copies under /tmp, never in this checkout. This PR changes no lockfile. A content PR that edits dependencies would be stopped by the smuggle guard, and it should be. The actual bumps belong in a build(deps) PR a human reviews.

1. Bump the npm kit’s one stale parent: @lhci/cli 0.15.1 → 0.16.1. Twelve of the alerts, and twenty vulnerable packages as npm audit counts them, trace back to one pin in .github/site-quality/package.json. The safe-mode fix only gets partway:

$ npm audit | grep '^[0-9]* vulnerabilities'          # site-quality lockfile, as committed
20 vulnerabilities (2 low, 3 moderate, 15 high)
$ npm audit fix --package-lock-only
$ npm audit --json | jq -c .metadata.vulnerabilities
{"info":0,"low":2,"moderate":1,"high":13,"critical":0,"total":16}

Sixteen left, all marked “fix available via npm audit fix --force, Will install @lhci/cli@0.16.1, which is a breaking change.” So I installed that one on purpose instead of with --force:

$ npm install @lhci/cli@0.16.1 --save-exact --package-lock-only
$ npm audit --json | jq -c .metadata.vulnerabilities
{"info":0,"low":0,"moderate":0,"high":0,"critical":0,"total":0}
$ PUPPETEER_SKIP_DOWNLOAD=1 npm ci --ignore-scripts && npx --no-install lhci --version
0.16.1

Twenty to zero. @lhci/cli 0.16.1 was published on 2026-11-11, so for the first five weeks of this lockfile’s life there was no clean fix to take. There has been one for 17 days. One caveat, plainly: I proved the new lockfile resolves, installs and reports its version. I didn’t run a full Lighthouse audit with it. npm calls 0.15 → 0.16 breaking, so the PR that makes this change should let site-quality run its nine Lighthouse passes before anyone merges it.

2. Take the two gem fixes that don’t move the Pages pin. Bundler can bump only the named gems and leave everything else alone. This took four seconds:

$ bundle lock --update nokogiri addressable --conservative
$ git diff --no-index ../Gemfile.lock Gemfile.lock | grep '^[-+]  ' | grep -v sha256 | grep -E 'addressable|aarch64-linux-gnu'
-    addressable (2.9.0)
+    addressable (2.10.0)
-    nokogiri (1.19.4-aarch64-linux-gnu)
+    nokogiri (1.19.7-aarch64-linux-gnu)
$ bundle-audit check --no-update | grep -A1 '^Name' | grep -v -- -- | paste - - | sort | uniq -c
      1 Name: rubyzip	Version: 2.4.1

(The grep keeps one of the eight Nokogiri platform builds; all eight move from 1.19.4 to 1.19.7.) github-pages stays at 232. Nine of ten Gemfile alerts are gone. One is left.

The one I’m keeping. The rubyzip advisory (GHSA-47m2-wp7j-p9vc, high, path traversal) wants rubyzip 3.4.0 or later. jekyll-remote-theme 0.4.3 pins rubyzip (>= 1.3.0, < 3.0), and github-pages 232 pins jekyll-remote-theme (= 0.4.3). Bundler will clear it, but only by going up a whole Pages release:

$ bundle lock --update rubyzip --conservative
$ diff Gemfile.lock.step1 Gemfile.lock | grep -E '^[<>]     (github-pages|jekyll-remote-theme|rubyzip) '
<     github-pages (232)
>     github-pages (233)
<     jekyll-remote-theme (0.4.3)
>     jekyll-remote-theme (0.6.2)
<     rubyzip (2.4.1)
>     rubyzip (3.7.0)
$ bundle-audit check --no-update
No vulnerabilities found
$ curl -s https://pages.github.com/versions.json | jq '."github-pages", ."jekyll-remote-theme"'
"232"
"0.4.3"

GitHub Pages itself runs 232. This Gemfile.lock exists to match production, so pinning 233 would make the lockfile clean and the parity claim false in the same commit. I’d rather have one honest, documented exception than a lockfile that matches nothing. The blast radius is small, too: scripts/ci/build.sh builds the overlay under the theme’s own Gemfile (BUNDLE_GEMFILE="$theme_gemfile"), not this one, so this lockfile’s rubyzip gets installed but isn’t the bundle the site builds in. When Pages moves to 233, this becomes a one-line bump.

3. Read the alerts by file, weekly, not by total. The quiet failure here wasn’t a missing tool. The babysitter’s 23 merged PRs on one lockfile looked like coverage for all three. The grouped gh api … | sort | uniq -c query above is the whole fix: it needs a token that can read Dependabot alerts, it came back in under half a second, and it names the file nobody’s patching. A total of 22 reads like weather. “12 in site-quality, oldest 55 days, 0 PRs ever” reads like a ticket. If you’d rather not depend on GitHub’s alert feed, bundle-audit check --update and npm audit --audit-level=high give you the same list from the lockfiles themselves. Both exited non-zero on these lockfiles as committed, so either one would make a red step out of what is now a quiet backlog.

What I’m not claiming

I don’t know why security updates never opened a PR for the site-quality lockfile. Before 2026-11-11 there was no non-breaking fix for most of it; after that, the fix was a breaking parent bump, which security updates may decline. That’s an inference, not a log I read. And none of these 22 advisories is known to have been exploited here. They’re installed on a runner, not deployed to you.

The lockfile kept its promise perfectly. It just didn’t get a vote on what it was promising.