GitHub and PyPI have rolled out time-based defences against supply-chain attacks, giving Dependabot a default three-day cooldown and blocking PyPI uploads to releases older than 14 days. For UK buyers, these are no longer optional extras — they're becoming the baseline that IT procurement security clauses will expect suppliers to prove.
View the data behind this chart
| Phase | Starts (week) | Duration (weeks) |
|---|---|---|
| npm security changes… | 0 | 2 |
| VS Code 2-hour update delay… | 2 | 2 |
| Dependabot cooldown + PyPI… | 4 | 2 |
What actually changed on GitHub and PyPI
Dependabot, GitHub's automated dependency-update tool, now delays package updates by 72 hours before opening a pull request, rather than pulling in newly published versions immediately. GitHub says the three-day window balances the risk of adopting a compromised release against the need to keep projects current, and maintainers can shorten or lengthen the delay through Dependabot's cooldown configuration.
Separately, PyPI now rejects any new file added to a release more than 14 days after it was first published. The change targets a specific attack path: an adversary who steals a maintainer's publishing token could otherwise quietly append a malicious file to an old, already-trusted release rather than risk detection with a brand-new one. PyPI found only a small fraction of legitimate projects upload that late, making the cutoff a low-friction control.
Why the timing matters: a year of high-profile attacks
These measures follow a run of significant open-source supply-chain incidents referenced by GitHub and PyPI, including the chalk and debug package compromises, the s1ngularity operation, the Shai-Hulud worm-style campaign, and the GhostAction attack. In several of these cases, malicious npm packages were flagged by security tooling within minutes — but detection alone didn't stop developers downloading them before maintainers pulled the packages. That gap between discovery and removal is precisely what a mandatory cooldown is designed to close.
This is the second major tranche of hardening from GitHub in recent months: it previously announced changes tackling npm supply-chain risk, and this cooldown mechanism extends that same programme rather than standing apart from it.
The procurement angle: from best practice to contract clause
UK buyers running software due-diligence or supplier assurance reviews should treat this as a signalling event. When a platform the size of GitHub makes a delay-by-default the standard behaviour, auditors and procurement teams increasingly expect vendors to demonstrate they haven't disabled it. If your organisation is trying to meet stringent IT procurement security clauses, confirming Dependabot cooldown settings and PyPI publishing practices in supplier questionnaires is now a reasonable, low-cost ask.
This also feeds directly into achieving Cyber Essentials Plus certification, where evidence of controlled, monitored software updates and dependency management supports the technical controls assessors look for.
- •Ask suppliers whether Dependabot cooldown is enabled and at its default or a custom window
- •Check whether internal PyPI package publishing follows equivalent time-lock discipline
- •Document dependency-update policy as part of supplier security questionnaires

Beyond Dependabot: a wider pattern of time-based controls
GitHub's own guidance is explicit that a cooldown alone won't stop a determined, longer-term compromise — it recommends pairing it with lockfiles for dependency pinning, restricted-scope tokens, and disabling unnecessary installation scripts in CI pipelines. This lines up with GitHub's broader direction of moving away from long-lived credentials toward short-lived, trusted publishing tokens and FIDO-based authentication, and with separate npm changes that stop dependency lifecycle scripts running automatically on install.
The same philosophy is spreading across the ecosystem: Microsoft added a two-hour auto-update delay for VS Code extensions, and RubyGems introduced an opt-in cooldown for newly published gems. None of these controls work in isolation — they only reduce risk meaningfully when combined with proactive vulnerability management strategies and CI/CD hardening such as required approvals and branch protection.
What UK DevOps and security teams should do next
Teams shouldn't assume the defaults are automatically sufficient for their risk profile. A three-day Dependabot cooldown may be too short for organisations handling regulated data, while a shorter window may suit teams that need faster patch cycles for critical CVEs. The right approach is to review cooldown settings against your own change-control policy rather than accepting either extreme.
Because these are time-based, not signature-based, controls, they work well alongside managed detection & response monitoring and a zero trust approach to CI/CD credentials, where every publishing token and pipeline identity is scoped and short-lived rather than trusted by default. Combined, these layers help organisations strengthen your cybersecurity posture against the kind of rapid weaponisation seen in the Shai-Hulud and GhostAction campaigns.
- 01BleepingComputer — GitHub, PyPI add time-based defenses against supply chain attacks · 26 July 2026
- 02BleepingComputer — GitHub announces npm security changes to tackle supply-chain attacks · 1 June 2026
- 03The Hacker News — GitHub mandates 2FA and short-lived tokens · 1 September 2025
- 04The Hacker News — VS Code adds 2-hour extension auto-update delay · 1 June 2026
- 05BleepingComputer — GitHub can now alert of supply-chain bugs in new dependencies · 1 August 2022
- 06The Hacker News — GitHub Dependabot now alerts developers · 1 August 2022
- 07The Hacker News — CI/CD risks: protecting your software supply chain · 1 November 2023
- 08ComputerWeekly — GitHub targets vulnerable open source components · 1 January 2025
