Package Managers Need to Cool Down

AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story.

Why it matters

Developers can now set a release-age delay in most major package managers, pnpm, Yarn, Bun, Deno, uv, pip and npm, to avoid installing freshly-poisoned packages during supply chain attacks like the recent LiteLLM incident.

Read this as

When programmers add outside code to their projects, that code can sometimes be replaced with malicious versions. A defence called a 'dependency cooldown' means waiting a few days before installing new updates, so attackers get caught first. A March 2026 review by Andrew Nesbitt found this protection is now built into seven major package managers, including npm 11.10.0 and pip 26.0. Anyone who builds software can turn it on today.

Software supply chain attacks, like the March 2026 LiteLLM compromise, exploit the window where a malicious package update spreads before anyone notices. A cooldown delay closes that window, and as of early 2026 every major package manager supports it: pnpm 10.16, Yarn 4.10.0, Bun 1.3, Deno 2.6, uv 0.9.17, pip 26.0 and npm 11.10.0. Engineering teams should treat enabling these settings as a low-cost security baseline.

Dependency cooldowns reject packages published more recently than a set age. Implementations: pnpm 10.16 minimumReleaseAge with minimumReleaseAgeExclude; Yarn 4.10.0 npmMinimalAgeGate (minutes) plus npmPreapprovedPackages; Bun 1.3 minimumReleaseAge in bunfig.toml; Deno 2.6 --minimum-dependency-age; uv 0.9.17 --exclude-newer with exclude-newer-package overrides; pip 26.0 --uploaded-prior-to (absolute timestamps only, relative durations unsupported); npm 11.10.0 min-release-age. Seth Larson published a cron-based workaround to keep pip's absolute date current.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

LiteLLM pnpm Yarn Bun Deno uv npm

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading