Dependabot now waits before pushing new versions — supply-chain hygiene, finally on by default

5 min read 1 source clear_take
├── "Defaulting to cooldown is the right call because supply-chain attacks depend on the window between publish and detection"
│  ├── top10.dev Editorial (top10.dev) → read below

The editorial frames the change as GitHub reading its own pitch back and reversing it: for years Dependabot pushed 'stay current the moment a version drops,' but a half-decade of supply-chain attacks (event-stream, ua-parser-js, colors/faker, xz-utils) all shared the property that the malicious version was live for hours or days before anyone noticed. Making cooldown the default — while exempting security advisories — accepts that the median user is better off letting the ecosystem chew on a rel

│  └── woodruffw (Hacker News, 142 pts) → read

By submitting the GitHub changelog to HN, woodruffw (a well-known supply-chain security researcher) surfaces the change as a meaningful platform-level improvement. The 142-point score reflects broad agreement that shipping cooldown as a default — not just an opt-in flag — is the correct posture given how compromised releases typically get caught.

├── "The security-advisory carve-out is what makes the default defensible"
│  └── top10.dev Editorial (top10.dev) → read below

The editorial highlights that Dependabot security PRs — those triggered by an entry in the GitHub Advisory Database — fire immediately regardless of cooldown. That distinction is described as 'the whole ballgame': routine upgrades wait, known-CVE upgrades don't, so users don't have to choose between attack-surface reduction and timely patching.

└── "Ecosystem-aware defaults (longer for majors, shorter for patches) are more sensible than a single global number"
  └── top10.dev Editorial (top10.dev) → read below

The editorial argues the tiered defaults match how developers actually think about risk: a 1.2.3→1.2.4 patch is usually a hotfix you want quickly, while a 1.2.3→2.0.0 major is something you'd rather other people hit first. Calibrating cooldown to semver level, per ecosystem, is treated as a more thoughtful design than a one-size-fits-all wait period.

What happened

GitHub shipped a change to Dependabot version updates that flips a long-standing default on its head. As of the July 14 changelog, Dependabot will wait a default cooldown period after a package version is published before it opens an update PR against your repo. The setting was available as an opt-in `cooldown:` block in `dependabot.yml` for the last year or so; now it's on by default for every repository using Dependabot version updates, across every supported ecosystem (npm, PyPI, RubyGems, Maven, NuGet, Go modules, Composer, Cargo, and the rest).

The defaults are ecosystem-aware rather than a single global number. Semver-major releases get the longest wait, minors get a shorter one, and patches get the shortest — reflecting the reality that a `1.2.3 → 1.2.4` bump is usually a hotfix you actually want, while a `1.2.3 → 2.0.0` bump is a change you want other people to hit first. Security updates are explicitly excluded: Dependabot security PRs (the ones triggered by an advisory in the GitHub Advisory Database) fire immediately, cooldown or not. That distinction — routine upgrades wait, known-CVE upgrades don't — is the whole ballgame.

You can override the defaults per-ecosystem, per-dependency, or turn cooldown off entirely by setting the interval to `0`, but the meaningful change isn't the mechanism — it's that GitHub decided the platform default should be "wait." For years, the implicit Dependabot pitch was: stay current, PRs the moment a version drops, keep the green checkmark. The new default reads that pitch back and says: actually, no, the median user is better off letting the ecosystem chew on a release for a few days first.

Why it matters

The backdrop here is a half-decade of supply-chain attacks that all shared one property: the malicious version was live on the registry for hours or days before anyone noticed. `event-stream` in 2018. `ua-parser-js` in 2021. The `colors` and `faker` self-sabotage in 2022. The `xz-utils` backdoor caught in April 2024 that had been drip-fed into the tree for two years. More recently, a steady drip of typosquatted npm packages and compromised maintainer accounts that publish a poisoned patch version and count on Dependabot to fan it out into thousands of PRs before the yank happens.

Every one of those incidents had the same optimal defense: wait 72 hours before upgrading and let someone else be the canary. That's not a novel insight — Google's OSV team, the OpenSSF, and pretty much every supply-chain security vendor have been saying it for years. What was missing was a default that enforced it without requiring every engineering org to write and maintain the policy themselves. The `cooldown:` config existed, but adoption was rounding-error-low. Making it the default is the actual security win.

The interesting design choice is that GitHub kept security updates on the fast path. This is the right call but worth naming explicitly: the cooldown is a defense against *unknown* bad versions — the ones that haven't been flagged yet, the ones where the compromise is still fresh. Once a version is in the advisory database, waiting is the wrong move; you want the patch now, and Dependabot will push it now. The two behaviors are complementary, not contradictory.

Expect some grumbling from the shift-left crowd, and from library maintainers whose adoption curves will visibly flatten in the first week after each release. If you're a maintainer, you're now optimizing for a world where the first 72 hours of a release are essentially a private beta with your most eager users, and the mass rollout happens on day 3-7. That's a real change to how release adoption looks in your download graphs, and it's worth thinking about before you ship a change that assumes rapid uptake.

The broader shift is that GitHub is quietly using its default-picking power the way Apple uses App Store defaults: to move the entire ecosystem in a direction that individual actors couldn't coordinate on their own. Nobody was going to unilaterally slow down their own upgrade cadence and eat the coordination cost. A platform default does it for everyone at once.

What this means for your stack

If you use Dependabot version updates, do nothing and the new defaults will apply on your next run. The PR volume against your repo will drop noticeably for a few days after each upstream release, then resume. Your CI bill goes down a little. Your median time-to-adopt-a-new-version goes up by whatever the ecosystem default is (GitHub hasn't published exact numbers per-ecosystem in the changelog — check your first few PRs to see what your specific values are).

If you have a genuine reason to stay bleeding-edge — you're a library author testing against nightlies, you're on a security team that wants immediate visibility into every new release, you have a monorepo with hundreds of internal packages where the cooldown adds friction — set `cooldown: { default-days: 0 }` in your `dependabot.yml` for that ecosystem and you're back to the old behavior. The one config to actually think about is whether your monorepo's internal package updates should be cooldown-exempt; for most teams, the answer is yes, and it's a one-line addition.

The more subtle implication is for anyone running their own PR-based dependency bot (Renovate users, homegrown scripts, internal tooling). Renovate has had `minimumReleaseAge` for a while and it's roughly equivalent, but adoption there is also low. If GitHub's default nudges the industry norm from "upgrade on release" to "upgrade after cooldown," the pressure on other tools to match — and on internal tooling to justify why it *doesn't* — goes up meaningfully.

Looking ahead

The next question is whether GitHub extends this pattern to security updates in a more nuanced way — e.g., a very short cooldown (hours, not days) even on advisory-triggered PRs to protect against the case where the advisory itself is the attack vector, or where a maintainer publishes a "fix" that's actually the compromise. That's a harder call and involves real tradeoffs against known-CVE exposure windows. For now, the default cooldown on routine updates is the boring, correct move: it costs almost nothing and closes off the most common supply-chain attack pattern of the last five years.

Hacker News 192 pts 124 comments

Dependabot version updates introduce default package cooldown

→ read on Hacker News
zihotki · Hacker News

If everyone starts applying cooldowns, won't it postpone the problem? So now there is a considerable amount of users who are affected and someone from the affected group discovers the infection and reports it.But if everyone will be delaying updates, won't be there less chances to catch it

noosphr · Hacker News

Watching language package managers reinvent everything distribution package managers have been doing since the 90s has been as fun as watching crypto people reinvent financial regulation.

Waterluvian · Hacker News

I really hate dependabot making generic security people at work so pushy about updates updates updates. They seem to just be dogmatic about whatever dependabot says, forcing churn even when the documented issues are clearly not relevant. I’m not sure how to handle it politically. I’m convinced that

jorisw · Hacker News

Ways to configure 'dependency version cooldowns' into your project with npm, pnpm, yarn:https://gist.github.com/mcollina/b294a6c39ee700d24073c0e5a4e...

mook · Hacker News

But updates to broken packages are still allowed: if a new version is pushed within the three days, it does not reset the cool-down. You just get a pull request to update to a known-bad version instead.

// share this

// get daily digest

Top 10 dev stories every morning at 8am UTC. AI-curated. Retro terminal HTML email.