Securing Python projects from supply-chain attacks
How-to 7 min +70 XP
Hash-pinning is the core defense against compromised maintainer accounts or hacked distribution servers, because version pins alone fail when PyPI files can be added post-release and GitHub Action tags can be force-pushed.