pypi-publish
Actively maintainedpypa/gh-action-pypi-publish · BSD-3-Clause
The blessed GitHub Action, for publishing your distribution files to PyPI, the tokenless way: https://github.com/marketplace/actions/pypi-publish
★ 1.2k starsLast commit 4 days agoLatest v1.14.2
B
71
/ 100
Security signals
OpenSSF Scorecard5.6 / 10
SECURITY.md presentNo
Immutable releasesEnabled
Known vulnerabilities1 advisory(ies)
- GHSA-vxmw-7h4f-hqxhlow
PyPI publish GitHub Action vulnerable to injectable expression expansions in action steps
Published Sep 4, 2025
How to use it safely
Recommended: pin to commit SHA
uses: pypa/gh-action-pypi-publish@dc37677b2e1c63e2034f94d8a5b11f265b73ba33 # v1.14.2Mutable tags like v1.14.2 can be rewritten to point at malicious commits. Pinning to the full commit SHA is the only reference GitHub guarantees immutable.
Full workflow example
steps: - uses: pypa/gh-action-pypi-publish@dc37677b2e1c63e2034f94d8a5b11f265b73ba33 # v1.14.2
Score breakdown
Security (35%)60
Popularity (20%)60
Maintenance (30%)92
Reliability (15%)70