GitHub and PyPI Introduce Time-Based Defenses Against Supply Chain Attacks
GitHub and PyPI have activated new time-based barriers to slow down supply chain attacks. Dependabot now waits a default of 72 hours before proposing version updates, while PyPI rejects new files added to releases older than 14 days.
The platforms introduced the changes in recent weeks with a shared goal: inserting time delays to reduce the typical damage from supply chain attacks. In Dependabot, the GitHub bot for managing dependencies, the update appears as a default 72-hour wait before opening a pull request when a new package version is released.
In PyPI, the central repository for the Python ecosystem, the platform has rejected uploads of new files since July if the release was published more than 14 days earlier. The Dependabot adjustment does not aim to block urgent patches. The wait applies only to version updates that are not considered security-related. Security updates remain immediate to avoid penalizing critical fixes when risk is already identified.
The objective is to prevent a project from absorbing a freshly published version within minutes that has not yet passed the community’s natural filter, or that an attacker may have inserted after compromising an account or publication workflow. Teams relying on automation will notice the change in cadence. The wait can be adjusted or disabled with the cooldown option in the dependabot.yml file, which is relevant for repositories with strict maintenance windows or their own validation processes. GitHub Enterprise Server will also incorporate the feature, with deployment planned for GHES 3.23.
In PyPI, the 14-day restriction targets a tactic that has caused problems: poisoning of older and stable versions. If an attacker obtains publication tokens or access to a poorly protected CI/CD pipeline, they can attempt to upload a new artifact to a past version with the same number but different content. This complicates audits and breaks basic assumptions in many build environments. The change was integrated on July 8 2026 and was adopted after debate returned to the forefront in March following compromises in projects such as LiteLLM and Telnyx linked to a mutable reference when using the GitHub Action Trivy.
PyPI acknowledges that the ecosystem still lacks standardized semantics and APIs to declare whether a release is open or closed. The platform anticipates progress through initiatives such as Upload 2.0 API and Staged Previews, which should enable more secure workflows without relying solely on rigid rules.
Related articles
Anthropic Funds New Security Developer Role at Python Software Foundation Following Sharp Rise in Vulnerabilities
Anthropic has financed a new security position within the Python Software Foundation in response to a marked increase in vulnerabilities and malicious packages affecting the Python ecosystem. Data published by Seth Larson showed a significant spike in reported issues during 2026. Brett Smith has been appointed as Security Developer and will collaborate with Larson, who serves as Security Developer-in-Residence, and Mike Fiedler, the PyPI security engineer. The expanded team will focus on scaling automated quarantine mechanisms in PyPI and streamlining the workflows of the Python Security Response Team. At PyCon US 2026, the team reported handling three to four times more vulnerability disclosures for Python and pip compared with the previous year, alongside a 60 percent increase in malware detections and removals from the repository.
Malicious ZIP Archive Delivers Git-Based Remote Code Execution via Hooks and Filters
A developer received a fake job offer from Cryptic Heaven through LinkedIn, leading to a ZIP file containing a rigged Git repository. The archive included a pre-configured .git directory with altered hooksPath pointing to .git/objects/interrupt and a custom clean filter named ltr. Upon git status or branch checkout, the setup triggered a shell script that downloaded and executed remote code from a server hosted on vercelscript.vercel.app. The attack leveraged post-checkout hooks and Git filters to run silently without requiring install scripts or explicit execution. Multiple trigger paths existed, including automatic detection in Visual Studio Code, Git-aware terminal prompts, and following README instructions to switch branches. The technique worked on both Linux/macOS and Windows through Git for Windows shell support. The incident highlights risks of opening untrusted Git repositories delivered outside standard clone workflows.
OIDC-Based Push Deployment on VPS Removes SSH Keys from CI While Enforcing Strict Isolation
A new self-hosted deployment system called cd enables secure continuous delivery to single Linux VPS hosts running Docker without storing any long-lived secrets in CI repositories. The architecture relies on short-lived OIDC JWT tokens issued by GitHub Actions or GitLab CI, verified on the target server through JWKS public keys. The server component cdd performs token validation, archive checks, resource-limited builds inside BuildKit, health checks, and automatic rollback on failure. All containers are launched with read-only root filesystems, dropped capabilities, no-new-privileges, and network binding restricted to 127.0.0.1 behind Caddy or Nginx. Administrative control is provided by the cdctl CLI that registers projects, sets RAM/CPU limits, and manages DNS records via Porkbun integration. The entire solution avoids external databases, web panels, and persistent secrets while enforcing one-repository-to-one-application boundaries.
Stolen Credentials Poison cPGuard Update Channel, Turning Security Software into Data Theft Backdoor
Attackers used compromised OPSSHIELD credentials to hijack the cPGuard update distribution network on November 2 at 02:06 UTC, injecting malicious scripts into versions 5.88.12 through 5.88.19. The poisoned updates targeted Linux servers running the security tool, which holds root privileges on hosting provider and cloud infrastructure machines. The script harvested /etc/shadow, /etc/passwd, MariaDB/MySQL root credentials from my.cnf, root shell history containing API tokens, and SSH authorized_keys files before exfiltrating them via the vendor's own infrastructure. A persistent backdoor was also dropped at /var/tmp/.cpg91511_sh. OPSSHIELD detected the intrusion within 12 hours and halted distribution, but confirmed that 32 customer servers had their data accessed. The incident highlights risks of relying on static credentials for security product update pipelines without code signing or behavioral restrictions.