LIVE · cybersecurity feed
Live wire
security

PyPI hardens package security with new upload restrictions

The Python Package Index (PyPI) has implemented a new security measure that restricts uploads of new files to package releases older than 14 days. This change, which went into effect following a patch merged on July 8, 2026, aims to prevent attackers from injecting malicious code into established, stable releases if a project's publishing credentials or release workflows are compromised.

ZeroDay News ·

Source: Help Net Security

The Python Package Index (PyPI) has implemented a new security measure that restricts uploads of new files to package releases older than 14 days. This change, which went into effect following a patch merged on July 8, 2026, aims to prevent attackers from injecting malicious code into established, stable releases if a project's publishing credentials or release workflows are compromised.

According to Seth Larson, Security Developer-in-Residence at the Python Software Foundation, the restriction is designed to protect Python users and reduce the administrative burden on PyPI staff in the event of a project compromise. It also prevents releases from entering an ambiguous state where only a subset of files might be malicious. PyPI currently does not provide an API to determine a release's status or define specific semantics for releases that no longer accept new files, and users are advised not to rely on such features until they are standardized, potentially under PEP 694's Upload 2.0 API and Staged Previews.

The proposal for this restriction emerged from discussions surrounding PEP 740 (Digital Attestations) in January 2024. It gained renewed urgency after the compromise of the LiteLLM and Telnyx packages in March 2026. This incident was attributed to a mutable reference in how those projects utilized the Trivy GitHub Action.

Initially, the implementation of such a restriction was postponed due to concerns that some projects legitimately uploaded new files to older releases to introduce compatibility with newer Python versions. However, PyPI conducted an analysis of this practice and found it to be uncommon. Among the top 15,000 packages, only 56 had uploaded a Python 3.14-compatible wheel more than 14 days after the original release date, suggesting that the new restriction will impact a minimal number of projects.

The change was proposed by PyPI Safety Security Engineer Mike Fiedler and received broad support during the 2026 Packaging Summit. Attendees generally agreed that projects should publish an entirely new package version when adding support for newer Python releases, rather than modifying an existing one. Larson subsequently implemented the necessary code changes.

ShareXLinkedInWhatsAppFacebook

More News

view all →
security

Canadian cybersecurity executive arrested in federal extortion case

A Canadian cybersecurity executive was arrested in Pennsylvania on Thursday, facing federal charges of conspiracy to commit extortion. Edward Dubrovsky, 54, a co-founder and former Chief Operating Officer of CYPFER, a firm specializing in ransomware negotiation, is charged with conspiring to threaten the confidentiality of information for extortion and conspiring to commit Hobbs Act extortion,…

breach

Criminal IP Introduces AITEM as the Next Evolution of Attack Surface Management

AI SPERA, the company behind the cyber threat intelligence platform Criminal IP, has announced AITEM (AI-Powered Threat Exposure Management), an expansion of its Attack Surface Management (ASM) offerings. AITEM aims to move beyond traditional asset discovery to provide a more comprehensive approach to understanding, prioritizing, and responding to security exposures. The platform is scheduled…

ai

AI Is Getting Really Good at Messing With Cybercriminals

Anti-cybercrime initiatives are increasingly deploying artificial intelligence to disrupt scammers by engaging them with lifelike bots, which the criminals mistake for genuine victims. This strategy aims to waste scammers' time and resources while gathering intelligence on their operations.

ransomware

FBI Arrests Ransomware Negotiation Firm Co-Founder in ShinyHunters Probe

The Federal Bureau of Investigation (FBI) has reportedly arrested Edward Dubrovsky, a co-founder of the ransomware negotiation firm Cypfer and currently associated with CyberSteward. The arrest is said to be part of the ongoing ShinyHunters investigation, specifically in connection with an incident involving FBI job applicant data.

ai

The Third-Party Agent Problem: Why Security Built for AI You Chose Misses the Agents You Didn't

A new report highlights a significant blind spot in enterprise security architectures concerning the proliferation of third-party AI agents. The forthcoming 2026 State of Agent Security Report indicates that current security models, often designed to protect AI systems directly chosen and deployed by an organization, frequently fail to account for AI capabilities embedded within third-party…

security

Insider Cyber Extortion Plot Against Industrial Firm Lands Engineer in Prison

A former core infrastructure engineer has been sentenced to prison for an attempted cyber extortion plot against an industrial firm. The engineer reportedly deleted administrative accounts and reset hundreds of user passwords, subsequently demanding a ransom of 20 Bitcoin to prevent further disruption to the company's servers.