Skip to content

Commit 1d31029

Browse files
authored
docs: TP: cross-link to dangerous triggers docs (#20890)
Signed-off-by: William Woodruff <william@yossarian.net>
1 parent c3db2bd commit 1d31029

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

‎docs/user/trusted-publishers/security-model.md‎

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)