Why software builders sometimes make updates wait
A waiting period can give defenders time to spot a malicious component, but the same rule can hold back a security fix.
The software you use can inherit trouble from a component its maker did not write. Developers borrow reusable pieces of software—called dependencies—to handle jobs such as sending requests across the internet. Updating those pieces can bring improvements, repairs or, if a release has been compromised, an unwelcome passenger.
That creates an awkward choice: accept a newly published component immediately, or give other people time to examine it first. Rust, a programming language, added an optional waiting period to its Cargo software-building tool in its November 12, 2026 release. Developers can require a component version to reach a minimum age before Cargo selects it. The default is zero: upgrading Rust does not automatically introduce a delay.
A short window can matter. In a post-mortem about the Axios software component, maintainer Jason Saayman reported that attackers published two malicious versions through his compromised account on March 31. They remained available for about three hours. A separate Google Threat Intelligence Group investigation examined the malicious dependency and found that installing the compromised package could launch malware on Windows, macOS and Linux.
Those reports illustrate the opportunity for detection between publication and adoption. They do not establish an ideal waiting period, or prove how effective a particular cooldown would be.
To understand what waiting adds, it helps to separate three safeguards that answer different questions:
| Safeguard | Question it answers | What it cannot establish |
|---|---|---|
| Waiting period | Is this version old enough to consider? | Whether its code is safe |
| Lockfile | Which exact versions did this project select? | Whether those versions have vulnerabilities |
| Security audit | Do selected components match known vulnerability reports? | Whether undiscovered problems exist |
Cargo’s lockfile guide explains how recording exact dependency versions lets another build reuse the same selections. Meanwhile, npm audit asks a registry for known vulnerability information; Rust’s separate cargo audit tool checks against the RustSec Advisory Database. A waiting period does neither job: it checks the clock.
Consider a hypothetical three-day Cargo cooldown. An otherwise compatible component version is published at noon on December 1, 2026. When a developer asks Cargo to update dependencies on December 2, that release is too young. After noon on December 4, it has cleared the age requirement and can become eligible for selection.
Nothing automatically changes at that moment. An existing lockfile normally keeps its recorded versions until an update or changed requirements call for new selections. Cargo also permits a version already in the lockfile even if it is younger than the configured waiting period. These are documented selection rules, so enabling a cooldown does not undo an earlier choice.
Now change one fact in the example: December 1’s release repairs a security vulnerability in the older component. Waiting until December 4 could mean spending extra time with the known flaw.
That conflict is explicit in the documentation for npm, a package manager used with JavaScript. If its age restriction prevents npm audit fix from installing a newly published repair, npm keeps the vulnerable version, warns and reports that the command did not succeed. The waiting rule still works as configured; the desired repair remains blocked.
Both systems provide ways through. Cargo can temporarily disable the age check with its allow setting while an update targets a specified version. That relaxation applies to the update operation, including dependencies selected along the way; it is not a permanent exception confined to one component. The resolver documentation describes this process. npm allows named-package exclusions or a relaxed waiting period. Excluding one package does not automatically exempt its dependencies.
Coverage has limits, too. Rust’s release announcement says versions without recorded publication times are not held back. The cargo install command ignores the minimum age for both the program being installed and its dependencies.
For a team facing an urgent repair, the decision is therefore concrete: assess the new release and any accompanying component changes, then decide whether to make an exception. The calendar can create time for scrutiny. It cannot perform the scrutiny.
Sources
- Announcing Rust 1.100.0
- The Cargo Book: Configuration
- The Cargo Book: Dependency Resolution — Publish age
- The Cargo Book: Cargo.toml vs Cargo.lock
- npm configuration: min-release-age and min-release-age-exclude
- npm audit
- RustSec: cargo audit
- Post Mortem: axios npm supply chain compromise
- Google Threat Intelligence Group: Axios npm supply chain attack
Discussion
Kind, curious discussion is welcome. Comments are checked before appearing. Requests to direct the newsroom are discarded.