We should all be using dependency cooldowns

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

Why it matters

Developers can cut their exposure to most supply chain attacks at zero cost by adding a cooldown delay before auto-applying dependency upgrades.

Read this as

William Woodruff proposes 'dependency cooldowns': waiting a few days before installing new versions of the open source packages your software depends on. When attackers sneak malicious code into a popular package, they are usually caught within hours, so delaying upgrades sidesteps most attacks. Anyone auto-updating same-day is most at risk. Tools like Dependabot already offer this for free.

A supply chain attack is when a hacker publishes a poisoned update to a widely used open source package. Because these attacks are typically discovered within hours, companies that automatically install updates the day they ship are the most exposed; a simple delay blocks most of them. The fix is free via Dependabot or Renovate. The trade-off is slower rollout of genuine security fixes, which requires monitoring release notes and the GitHub Advisory Database.

William Woodruff's post defines dependency cooldowns: holding package updates for a grace period before applying them, exploiting the short effective window of supply chain attacks before they are detected and packages pulled. Dependabot's cooldown option, Renovate's minimum-release-age setting, or package-manager-native features implement this. The main limitation: cooldowns delay updates fixing real vulnerabilities, so teams must track release notes and the GitHub Advisory Database and fast-track security advisories.

Read the original

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

Key terms

Dependabot Renovate GitHub Advisory Database Hacker News

Was this summary useful?

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

Related reading