turbotobias.com

Nothing installs until it's a week old: dependency guards

Every package is pinned, nothing published in the last seven days can install, and no dependency runs an install script. Each security alert is triaged by hand.

before a new release can install
7 days
dependencies that run an install script
0 3

What changed

  • Exact versions and a frozen lockfile
  • Nothing younger than seven days installs
  • No install scripts; a new one fails the check
  • Each alert: does the flawed code even run here?

What it taught me

Most poisoned releases are caught within days

A malicious release is usually found and pulled within days of being published. Refusing anything younger than a week skips that window for almost nothing. When an alert comes, the first question is whether the flawed code runs in the site at all: this month's six didn't.

Want changes like this in your product?

I build and ship them by the month. You say what, I build it, and you see it working every week.

turbotobias.com ↗