Skip to content

Commit 824f535

Browse files
Update content/actions/reference/security/secure-use.md
1 parent 4794b55 commit 824f535

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/actions/reference/security/secure-use.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ To help mitigate the risk of an exposed token, consider restricting the assigned
107107

108108
{% ifversion custom-org-roles %}
109109

110-
## Understanding the risks of untrusted code checkout
110+
## Mitigating the risks of untrusted code checkout
111111

112112
Similar to script injection attacks, untrusted pull request content that automatically triggers actions processing can also pose a security risk. The `pull_request_target` and `workflow_run` workflow triggers, when used with the checkout of an untrusted pull request, expose the repository to security compromises. These workflows are privileged (i.e. they share the same cache of the main branch with other privileged workflow triggers, may have repository write access and access to referenced secrets), which can be exploited to take over a repository.
113113

0 commit comments

Comments
 (0)