Scene Image

PyPI Protector

I'm not just a package publisher, I'm a PyPI Protector!

PyPI package maintainers must navigate a maze of security threats while packaging and releasing code to the world. Unfortunately, traditional security mechanisms such as passwords and API tokens are cumbersome and increase the attack surface. Your mission, as a trusted publisher on PyPI, is to use the OpenID Connect standard to delegate authentication to a trusted identity provider and issue short-lived, scoped API tokens for your package releases. But beware, attackers are lurking in every corner and may attempt to hijack your credentials or manipulate your package metadata to inject malicious code into your releases!