Quoting Seth Larson

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

Why it matters

PyPI releases older than 14 days are now locked, so maintainers can no longer upload files to old releases, a supply-chain hardening change affecting every Python publisher today.

Read this as

The Python Package Index (PyPI), where developers download Python software, has stopped accepting new file uploads to releases older than 14 days. The rule exists to stop attackers who steal a project's credentials from slipping malicious files into old, trusted versions that thousands of users already have. No such attack has been observed yet, but PyPI says nothing technical stopped one before.

PyPI now rejects new files for any release older than 14 days, closing a supply-chain attack path where stolen publishing tokens could poison stable releases. No abuse has been detected so far. Teams publishing Python packages with long-lived tokens or automated workflows must adapt their release processes, and users of popular packages gain protection against retroactive tampering.

The change is implemented in PyPI's warehouse codebase via pull request #19727: uploads of new files to any release older than 14 days are rejected. The stated threat model is compromise of publishing tokens or CI workflows being used to add files to long-stable releases. PyPI reports no known exploitation to date. The article does not cover exception processes for legitimate late uploads.

Read the original

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

Key terms

PyPI Python Package Index Warehouse Seth Larson Simon Willison

Was this summary useful?

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

Related reading