File tree Expand file tree Collapse file tree
docs/user/trusted-publishers Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,12 +23,12 @@ tool in the toolbelt for securing packages.
2323
2424## General considerations
2525
26- * Trusted Publishing uses short-lived API tokens that expire
26+ * Trusted Publishing uses short-lived API tokens that expire
2727 no more than 15 minutes after the OIDC flow that authorizes them.
2828 Just like normal API authentication, Trusted Publishing
2929 does not assert the safety of the code or the trustworthiness
3030 of its authors.
31-
31+
3232* Trusted Publishing does not address whether the package has been modified
3333 before or after it was built. [ Attestations] can address those risks.
3434
@@ -78,9 +78,8 @@ own security model and considerations.
7878 of a repository **cannot** access the OIDC tokens in the "upstream"
7979 repository's workflows.
8080
81- * The exception to this is `pull_request_target` events, which are
82- **[fundamentally dangerous] by design** and should not be used without
83- careful consideration.
81+ * PyPI blocks the main exceptions to this. See [Troubleshooting - Forbidden triggers on GitHub]
82+ for more information.
8483
8584 <h3>Considerations</h3>
8685
@@ -299,7 +298,7 @@ own security model and considerations.
299298
300299[ Attestations ] : ../attestations/index.md
301300
302- [ fundamentally dangerous ] : https://securitylab.github.com/research/github-actions-preventing-pwn-requests/
301+ [ Troubleshooting - Forbidden triggers on GitHub ] : ./troubleshooting.md#forbidden-triggers-on-github
303302
304303[ Use a dedicated environment ] : https://docs.github.com/en/actions/deployment/targeting-different-environments/using-environments-for-deployment
305304
You can’t perform that action at this time.
0 commit comments