Skip to content

chore: add minimum release age protection#10

Merged
psteinroe merged 1 commit into
mainfrom
chore/min-release-age
May 12, 2026
Merged

chore: add minimum release age protection#10
psteinroe merged 1 commit into
mainfrom
chore/min-release-age

Conversation

@saltcod
Copy link
Copy Markdown
Member

@saltcod saltcod commented May 12, 2026

What

Adds a minimum-release-age guard for npm/pnpm so this repo will not install
packages newer than 4320 minutes (72h / 3 days) old at install time.

  • Package manager detected: pnpm
  • File updated: pnpm-workspace.yaml
  • Value: 4320 minutes (72 hours / 3 days)

Why

Recent npm supply-chain attacks (malicious versions of chalk, debug,
color-name, the Shai-Hulud self-propagating worm, etc.) were typically
caught and yanked within hours of publish. Holding new versions for 72 hours
(3 days) before installing them dramatically reduces exposure to 0-day
malicious publishes without meaningfully slowing day-to-day development.

References:

Risk / rollout

  • No functional change to application code.
  • Only affects fresh installs of versions less than 72h old.
  • Reversible by removing the setting.

Generated by min-release-age-migration.sh.

@saltcod saltcod requested a review from psteinroe as a code owner May 12, 2026 18:32
@psteinroe psteinroe merged commit bc4b44d into main May 12, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants