# 60% of organizations run a package less than a day old. Add a cooldown

> Datadog found 60% of organizations run a package version released under 24 hours earlier. Malicious releases are often pulled within hours. How dependency cooldowns work in npm, pnpm, pip, uv, Renovate and Dependabot, and where they do not reach.

Published November 17, 2026 by Antivenom · https://antivenom.ai/blog/package-cooldown

On November 10, Datadog published its [State of Cloud Security 2026](https://www.datadoghq.com/about/latest-news/press-releases/datadog-state-of-cloud-security-report-2026/). One number stands out for anyone who runs workloads on AWS: 60% of the organizations Datadog analyzed run a package version that was released less than 24 hours earlier. Those fresh versions appear in 21% of the cloud applications it looked at.

That is a problem because of how supply-chain attacks are usually caught. A hijacked release goes out, someone notices, and it gets pulled. The [full report](https://www.datadoghq.com/state-of-cloud-security/) says the community usually identifies and contains hijacked libraries within a few hours, and recommends dependency cooldowns. A cooldown is a rule that says: do not install any version until it has been public for a set time.

## The LiteLLM window, by the minute

LiteLLM's [incident report](https://docs.litellm.ai/blog/security-incident-oct-21-2026) for October 21 shows how short that window can be. Seven malicious `litellm==1.107.0` wheels went up to PyPI between 11:39:51 and 11:40:13 UTC. PyPI removed the version at 13:23, about an hour and 44 minutes later. The Docker Hub tags, including `latest`, pointed at a compromised image until 14:20.

![Diagram: a timeline of October 21 and 22. LiteLLM 1.107.0 was on PyPI from 11:39 to 13:23 UTC and on Docker Hub until 14:20. A one-day cooldown would first allow installation at 11:39 UTC on October 22, about 22 hours after the version was pulled. Below, three figures from Datadog's 2026 report.](/blog/package-cooldown.svg)

Anyone who installed it in that window got a credential stealer and a remote-code loader. The maintainers' advice was to assume exfiltration and rotate everything the host could reach, including IAM role credentials, provider keys and database passwords, and to check CloudTrail for `GetCallerIdentity` calls from the instance role around install time.

**With a one-day cooldown, 1.107.0 would never have been eligible to install. It was gone about 22 hours before the rule would have let it in.** We covered the update-hygiene side of this story in [patch fast, but not too fast](https://antivenom.ai/blog/patch-fast-not-too-fast). This post is about the setting itself.

## How to turn it on

Most package managers and update bots now have a minimum release age setting. The names and units differ, so check each one.

- **npm:** [`min-release-age`](https://docs.npmjs.com/cli/v11/using-npm/config) in `.npmrc`, measured in days. npm will build the tree only from versions that were available more than that many days ago. The default is off.
- **pnpm:** [`minimumReleaseAge`](https://pnpm.io/settings/dependency-resolution), measured in minutes. The current documentation lists a default of 1440 (one day), and it applies to transitive dependencies too. `minimumReleaseAgeExclude` lets named packages skip the wait.
- **pip:** `--uploaded-prior-to`, or the same key in `pip.conf`. Since [pip 26.1](https://pip.pypa.io/en/stable/news/) it accepts a duration in days, such as `P3D`. It only works when the index returns an upload time.
- **uv:** [`exclude-newer`](https://docs.astral.sh/uv/reference/settings/) accepts durations such as `7 days` or `P7D`, and `exclude-newer-package` sets or removes the limit for one package.
- **Renovate:** [`minimumReleaseAge`](https://docs.renovatebot.com/configuration-options/), for example `3 days`. Renovate adds a pending status check until the release is old enough. Its docs note that npm packages can be unpublished within 72 hours, and suggest `3 days` for npm.
- **Dependabot:** the [`cooldown` block](https://docs.github.com/en/code-security/dependabot/working-with-dependabot/dependabot-options-reference) with `default-days` and separate values for major, minor and patch updates. It applies to version updates only, not security updates.

That last point is the right default for everyone. **A cooldown should slow down routine upgrades, not security fixes.** When a release fixes a vulnerability you are exposed to, take it now and watch it closely. Everything else can wait a day or three.

## Where a cooldown does not reach

A cooldown only works where a resolver makes the choice. Check the places where nothing does:

- **Container tags.** `latest` on Docker Hub pointed at the bad LiteLLM image for about two and a half hours. Pin base and app images by digest, and update the digest through the same reviewed process.
- **Installs at run time.** `npx some-tool`, `pip install` inside a start script, or a Lambda layer built on deploy all resolve fresh versions outside your lockfile.
- **Lockfile churn.** A lockfile freezes what you resolved last time. A cooldown decides what you are allowed to resolve next time. You want both.
- **Dormant or slow attacks.** A cooldown helps when someone catches the release quickly. It does nothing for a release that stays undetected for weeks. That is why the next layer matters.

## Make the bad day smaller

Datadog's report has two more numbers that belong next to the cooldown.

First, a stolen credential is only as bad as what it can do. 55% of organizations on AWS now use [data perimeters](https://www.datadoghq.com/state-of-cloud-security/), up from 40% in 2025. A network condition like `aws:SourceVpce` in a bucket policy can make keys taken from a build host fail when they are used from outside your network. An identity condition like `aws:PrincipalOrgID` keeps principals outside your organization away from your data.

Second, prefer roles to keys. The report found that 17% of organizations using Amazon Bedrock use Bedrock API keys, which the press release describes as long-lived, and recommends calling AI services through the workload's short-lived identity where that is supported.

## What to do this week

- Turn on a minimum release age in every package manager and update bot you use. Start with one to three days.
- Keep security updates outside the cooldown, with a human looking at each one.
- Pin container images by digest and remove `latest` from deploy paths.
- Find run-time installs (`npx`, `pip install` in entrypoints) and move them into the build, behind the lockfile.
- For each build host and CI role, list what it can reach. Remove standing access to production secrets.
- Add a data perimeter condition to your most sensitive buckets so stolen keys fail outside your network.

## The short version

Most malicious releases have a short life. A one-day wait is cheap, and for LiteLLM 1.107.0 it would have been enough.

A cooldown lowers the odds. It does not tell you what a bad release could reach if one gets through. That is the question Antivenom is built to answer. Our AI red team runs only against your own systems, with your permission, and tests what a compromised build host or package could reach. The AI blue team cuts that path down, and the red team retests it. For how a loader with no install hooks turns a dependency into a door, read [PolinRider in hijacked npm packages](https://antivenom.ai/blog/polinrider-npm-ethereum).
