tubeshowcase●1,524,254 videos♡ My collection 0
← Learn to Code

Learn to Code28:33

Cheese Must Stand: Defending the Python Library Ecosystem in 2025 - Patrick Smyth & Srishti Hegde

PyCon US ↗

From the creator

Supply chain attacks on Python package infrastructure increased in frequency and sophistication in 2024. As PyPI comes under threat, how can we continue to secure our beloved cheese shop through 2025? The 600k packages in PyPI power sensitive infrastructure in almost every critical industry, and it's no surprise that the Python library ecosystem is a target. In 2024 alone, the Ultralytics token compromise and the NP6 combined typosquatting and DLL sideloading attack show the sophistication of these supply chain attacks. In the first part of this talk (12 minutes), we'll look back at these 2024 attacks and also consider examples such as the "revival hijack" attack vector and the 2022 dependency confusion attack on PyTorch. In the second portion (12 minutes), we'll dig into some critical developments in this area that have helped to mitigate recent attacks, such as: - Provenance transparency logs using Sigstore - Progressive supply chain security levels with SLSA - Software Bills of Materials (sbomS) - Artifact scanners such as Grype and Trivy We will also briefly discuss specific insights from developing Chainguard’s Guarded Ecosystems for Python, an ambitious alternative package index that rebuilds included packages from scratch. The final takeaway: while mitigations exist for these threats, they're not equally distributed, and we'll point out low hanging fruit for securing projects and infrastructure (3 minutes). This talk will be an accessible introduct

Published 2025-06-04 · Watch on YouTube ↗
Availability and playback restrictions are controlled by the original channel.

Keep exploring Learn to Code